PROTECTED SOURCE SCRIPT
ROGUE NR4/NR7

ROGUE NR4/NR7 is a pattern-detection tool that highlights Narrow Range 4 (NR4) and Narrow Range 7 (NR7) setups and tracks their breakout behavior. These patterns are known for marking consolidation zones where volatility contracts. A breakout from these ranges often signals the start of an expansion move — making them useful for traders who focus on breakout strategies.
Key Features:
-NR4 / NR7 Detection: Automatically identifies the narrowest 4- or 7-bar ranges on your selected timeframe.
-Custom Sessions: Option to restrict detection and signals to specific trading hours (e.g., RTH).
-Breakout Signals: Prints a single up or down signal on the first valid breakout from the NR range.
-Dynamic Stop-Loss: Plots ATR-based stop loss levels alongside breakout signals.
-Deviation Levels: Plots customizable deviation lines based on the NR7/NR4 range size for measured move projections.
-Session-Aware: All signals and ranges reset at the start of a new trading day, preventing carryover into the next session.
-Clean Charting: Range boxes and lines extend for a user-defined number of bars, keeping your charts clear and focused.
How to Use:
-Select your preferred higher timeframe for detecting NR4/NR7 patterns.
-Wait for an NR box to appear (highlighted with color).
-Monitor for the first breakout signal (▲ for bullish, ▼ for bearish).
-Use the ATR stop-loss line and deviation levels to plan risk and targets.
-Combine with broader market context or confirmation tools for best results.
Key Features:
-NR4 / NR7 Detection: Automatically identifies the narrowest 4- or 7-bar ranges on your selected timeframe.
-Custom Sessions: Option to restrict detection and signals to specific trading hours (e.g., RTH).
-Breakout Signals: Prints a single up or down signal on the first valid breakout from the NR range.
-Dynamic Stop-Loss: Plots ATR-based stop loss levels alongside breakout signals.
-Deviation Levels: Plots customizable deviation lines based on the NR7/NR4 range size for measured move projections.
-Session-Aware: All signals and ranges reset at the start of a new trading day, preventing carryover into the next session.
-Clean Charting: Range boxes and lines extend for a user-defined number of bars, keeping your charts clear and focused.
How to Use:
-Select your preferred higher timeframe for detecting NR4/NR7 patterns.
-Wait for an NR box to appear (highlighted with color).
-Monitor for the first breakout signal (▲ for bullish, ▼ for bearish).
-Use the ATR stop-loss line and deviation levels to plan risk and targets.
-Combine with broader market context or confirmation tools for best results.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.