OPEN-SOURCE SCRIPT
Cập nhật ORB with Variable Timeframe and Profit Targets

✅ Indicator Overview
The ORB Indicator with Variable Timeframe and Profit Targets is a trading tool that helps traders identify opportunities in the market. It allows traders to set the opening range in minutes from 1 to 120, with a default range of 3 minutes. The indicator displays upper and lower bounds of the range, which can be configured to include premarket and aftermarket price action. It also provides two configurable profit targets that change color and display an on-chart marker when achieved.
✅ How the Strategy Works
The Opening Range Break (ORB) strategy is a trading strategy that takes advantage of high volume and volatility in the opening minutes of a trading session. It uses the opening range, which is the range between the highest and lowest prices in the first few minutes of the trading day, as a key indicator of market direction.
✅ Indicator Configuration
The ORB Indicator offers the following configurable options:
Every line's color and style can be customized to meet the trader's needs.
Free to use and modify by the team at TrueTrader
The ORB Indicator with Variable Timeframe and Profit Targets is a trading tool that helps traders identify opportunities in the market. It allows traders to set the opening range in minutes from 1 to 120, with a default range of 3 minutes. The indicator displays upper and lower bounds of the range, which can be configured to include premarket and aftermarket price action. It also provides two configurable profit targets that change color and display an on-chart marker when achieved.
✅ How the Strategy Works
The Opening Range Break (ORB) strategy is a trading strategy that takes advantage of high volume and volatility in the opening minutes of a trading session. It uses the opening range, which is the range between the highest and lowest prices in the first few minutes of the trading day, as a key indicator of market direction.
- Entry: Traders use the break of the opening range as entry points
- Profit Target: PTs are typically a multiple of the ORB (e.g 0.5x to 1.5x)
- Stop Loss: stop loss in typically set at the middle of the opening range or at the outer edge of the range
✅ Indicator Configuration
The ORB Indicator offers the following configurable options:
- ORB Range in Minutes (min: 1, max: 120): - the range the indicator will use to draw the upper and lower bound of the range.
- Plot Opening Range High: Displays the upper bound of the range
- Plot Opening Range Low: Displays the low bound of the range
- Show Profit Target 1: Displays the first profit target level on both the short and long trade position
- Show Profit Target 2: Displays the second profit target level on both the short and long trade position
- Profit Target 1 (integer): Sets the distance from the opening range for the first profit target. Value is multiplied by 0.1 (e.g. 5 = 0.5). The profit target line will be dark until the target is hit. Then the line turns bright green.
- Profit Target 2 (integer): Sets the distance from the opening range for the second profit target. Value is multiplied by 0.1 (e.g. 10 = 1.0). The profit target line will be dark until the target is hit. Then the line turns bright green.
- Show marker when Profit Target hit: Displays an on-chart marker when profit targets are achieved.
Every line's color and style can be customized to meet the trader's needs.
Free to use and modify by the team at TrueTrader
Phát hành các Ghi chú
Adding ability to hide/show profit target linesPhát hành các Ghi chú
Improved labels and default colors. Improved configuration groups
Phát hành các Ghi chú
Improve Format dialog inputs.Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.