Gold Dual Opening Range
- Indicatori
- Versione: 1.11
Gold Dual Opening Range is a MetaTrader 5 indicator for reviewing the New York opening ranges on XAUUSD. It shades two configurable time windows and shows reference entry, take-profit and stop-loss levels for a breakout of the second range.
Opening ranges
By default, the first window runs from 08:00 to 08:05 and the second from 08:20 to 08:50, New York time. The zones and projected levels extend to 13:30 New York time. The indicator builds the ranges from closed M1 candles and displays session times in the broker's server time. XAUUSD M5 or M15 is a practical starting point.
Breakout levels
After the second range closes, its upper and lower boundaries serve as the long and short reference entries. Once a closed M1 candle breaks one boundary, only the first confirmed direction remains on the chart for that session.
The default stop and target are each two times the Average True Range, measured from the reference entry. The indicator uses ATR with a period of 7 on M30 and takes its value from the last candle closed by the end of the second range. The ATR timeframe, period and multipliers can be changed. The indicator displays reference levels and does not place or manage orders.
Session statistics
The dashboard shows where the first break of the opening range ended when the second range closed. A separate table tracks breakouts of the second range by direction. It counts take profit reached first, stop loss reached first, and sessions in which neither level was reached by the end of the projection. The take-profit percentage includes all counted outcomes for that direction, including sessions without an exit.
The exit check begins on the M1 candle following breakout confirmation. If one candle touches both levels, the indicator counts the stop loss first. Sessions with insufficient data to establish an outcome are excluded. These are historical price-level observations. They do not account for execution, spread, commissions or slippage, and do not represent live trading results.
Default settings
The indicator displays up to 60 weekdays and uses the same lookback for statistics. The broker's current time offset is detected automatically when available. If the lookback spans a broker clock change, select the broker's clock mode manually to align historical sessions correctly.
