This is a simple ORB (Opening Range Breakout) Indicator that not only signals breakout directions based on the opening session range but also includes trailing stop levels to manage ongoing trades. Instead of regular fixed Stop loss, we use ATR indicator (ATR based SL) to trail the stop loss that might help in maximizing the profitable trades. This helps especially during the trending days where market moves unidirectionally.
About the Indicator Opening Range Identification: The indicator defines an initial session timeframe and captures the highest and lowest prices during this period. Breakout Signals: It signals potential entry points when the price crosses these range boundaries. Trailing Stop Calculation: Customizable trailing stop-loss based on ATR percentage, helping users lock in profits.
Features Session Customization: User-defined session for setting the opening range. Entry Signal Customization: Allows configuration for breakouts on either a closing basis or upon touching the level. Automatic Stop-Loss Adjustments: Dynamic trailing stop levels that adapt to both long and short entries. Visual Display: Highlights breakout levels and plots lines representing stop-loss levels.
Understanding the Indicator Range Calculation: After defining the session, the high and low of the session are locked. The high serves as the upper breakout boundary, and the low as the lower boundary. Signals (Buy and Sell): The indicator uses crossover conditions: Buy Signal ("B") when price crosses above the ORB high. Sell Signal ("S") when price crosses below the ORB low. Trail Stop Calculation: When a signal is triggered, a trailing stop level is set and updates as the trade progresses: Long positions have a stop-loss based on a percentage below the last closing price. Short positions have a stop-loss based on a percentage above the last closing price.
Input Parameters Session Time (ORB Session Time): Start and end times for setting the ORB range. Signal Configuration: Choice between "CLOSE" (signal on close) or "TOUCH" (signal as soon as level is touched). ATR Percentage: Sets the percentage for the trailing stop calculation.