OPEN-SOURCE SCRIPT
Luna ATM Approach 100pt Hard Switch Continuation

Luna ATM Approach — 100pt Hard Switch Continuation
This indicator is built around the ATM session model and is designed to identify both ATM reversal opportunities and strong continuation conditions during the Asia, AM, and PM trading sessions.
The model automatically builds the ATM High and ATM Low using fixed New York session times and then monitors price action during the corresponding execution window.
ATM SESSION WINDOWS — NEW YORK TIME
Asia ATM Range:
6:00 PM – 7:00 PM
Execution:
7:00 PM – 8:30 PM
AM ATM Range:
7:00 AM – 9:30 AM
Execution:
9:30 AM – 11:00 AM
PM ATM Range:
11:30 AM – 1:30 PM
Execution:
1:30 PM – 3:00 PM
ATM REVERSAL MODEL
The reversal model begins after price sweeps either the ATM High or ATM Low.
ATM High Sweep:
Looks for a SHORT reversal.
ATM Low Sweep:
Looks for a LONG reversal.
Rather than waiting for a limit entry or a retest of the gap, the indicator looks for the inversion of a Significant FVG.
Once a qualifying Significant FVG becomes an IFVG, the indicator enters immediately on the confirmed candle close.
Reversal sequence:
ATM Liquidity Sweep
→ Significant FVG
→ FVG Inversion / IFVG
→ Immediate Reversal Entry
There is no limit order and no additional FVG retest required.
The indicator also displays market structure shift information for additional context.
Reversal stops can be based on the sweep swing or IFVG invalidation.
The default reversal target is the opposing ATM liquidity, with an optional fixed-RR target available.
100-POINT HARD SWITCH
The most important feature of this version is the automatic reversal-to-continuation regime switch.
If price expands 100 points above the ATM High after an ATM High sweep:
ATM High + 100 Points
→ Reversal SHORT model is immediately disabled
→ Indicator permanently switches to CONTINUATION LONG mode for that ATM session.
If price expands 100 points below the ATM Low after an ATM Low sweep:
ATM Low - 100 Points
→ Reversal LONG model is immediately disabled
→ Indicator permanently switches to CONTINUATION SHORT mode for that ATM session.
Once the 100-point threshold has been reached, the indicator will no longer attempt to fade the move.
CONTINUATION MODEL
Continuation trades require evidence that the market is maintaining directional expansion.
CONTINUATION LONG:
ATM High +100 reached
→ Reversal shorts disabled
→ Wait for retracement into a bullish 1-minute OR 5-minute FVG
→ Identify the pullback swing low
→ Wait for bullish Break of Structure
→ Enter LONG immediately on the confirmed BOS close
→ Stop below the pullback swing low
→ Target 1:1 Risk-to-Reward
CONTINUATION SHORT:
ATM Low -100 reached
→ Reversal longs disabled
→ Wait for retracement into a bearish 1-minute OR 5-minute FVG
→ Identify the pullback swing high
→ Wait for bearish Break of Structure
→ Enter SHORT immediately on the confirmed BOS close
→ Stop above the pullback swing high
→ Target 1:1 Risk-to-Reward
MULTI-TIMEFRAME FVG CONTINUATION
The continuation engine can use either:
1-Minute FVG
OR
5-Minute FVG
A tap into either qualifying FVG can arm the BOS portion of the continuation model.
The indicator identifies which timeframe was used and displays the BOS level that must be broken before entry.
CHART DISPLAY
The indicator automatically displays:
ATM High / ATM Low
ATM range windows
Execution windows
Liquidity sweeps
MSS information
Significant IFVG used for reversal
100-point continuation regime switch
1m / 5m continuation FVG tap
Continuation BOS level
Entry
Stop Loss
Take Profit
Trade outcome labels
Entry, Stop Loss, and Take Profit are displayed as clean horizontal levels with compact labels to reduce chart clutter.
IMPORTANT
The 100-point threshold refers to actual index price points, not ticks.
For example:
ATM High = 20,000
Continuation Long Mode activates at 20,100.
ATM Low = 20,000
Continuation Short Mode activates at 19,900.
The continuation model is designed primarily around 1-minute execution while also scanning confirmed 5-minute FVG structure.
MODEL SUMMARY
REVERSAL:
ATM Sweep
→ Significant IFVG
→ Immediate Entry
→ Opposing ATM / Fixed RR Target
CONTINUATION:
ATM ±100 Points
→ Reversal Model OFF
→ 1m or 5m FVG Tap
→ BOS
→ Immediate Entry
→ Swing-Based Stop
→ 1:1 Target
This indicator is intended as a structured trading and educational tool. It does not guarantee profitable trades and should be used alongside proper risk management, testing, and trader discretion.
This indicator is built around the ATM session model and is designed to identify both ATM reversal opportunities and strong continuation conditions during the Asia, AM, and PM trading sessions.
The model automatically builds the ATM High and ATM Low using fixed New York session times and then monitors price action during the corresponding execution window.
ATM SESSION WINDOWS — NEW YORK TIME
Asia ATM Range:
6:00 PM – 7:00 PM
Execution:
7:00 PM – 8:30 PM
AM ATM Range:
7:00 AM – 9:30 AM
Execution:
9:30 AM – 11:00 AM
PM ATM Range:
11:30 AM – 1:30 PM
Execution:
1:30 PM – 3:00 PM
ATM REVERSAL MODEL
The reversal model begins after price sweeps either the ATM High or ATM Low.
ATM High Sweep:
Looks for a SHORT reversal.
ATM Low Sweep:
Looks for a LONG reversal.
Rather than waiting for a limit entry or a retest of the gap, the indicator looks for the inversion of a Significant FVG.
Once a qualifying Significant FVG becomes an IFVG, the indicator enters immediately on the confirmed candle close.
Reversal sequence:
ATM Liquidity Sweep
→ Significant FVG
→ FVG Inversion / IFVG
→ Immediate Reversal Entry
There is no limit order and no additional FVG retest required.
The indicator also displays market structure shift information for additional context.
Reversal stops can be based on the sweep swing or IFVG invalidation.
The default reversal target is the opposing ATM liquidity, with an optional fixed-RR target available.
100-POINT HARD SWITCH
The most important feature of this version is the automatic reversal-to-continuation regime switch.
If price expands 100 points above the ATM High after an ATM High sweep:
ATM High + 100 Points
→ Reversal SHORT model is immediately disabled
→ Indicator permanently switches to CONTINUATION LONG mode for that ATM session.
If price expands 100 points below the ATM Low after an ATM Low sweep:
ATM Low - 100 Points
→ Reversal LONG model is immediately disabled
→ Indicator permanently switches to CONTINUATION SHORT mode for that ATM session.
Once the 100-point threshold has been reached, the indicator will no longer attempt to fade the move.
CONTINUATION MODEL
Continuation trades require evidence that the market is maintaining directional expansion.
CONTINUATION LONG:
ATM High +100 reached
→ Reversal shorts disabled
→ Wait for retracement into a bullish 1-minute OR 5-minute FVG
→ Identify the pullback swing low
→ Wait for bullish Break of Structure
→ Enter LONG immediately on the confirmed BOS close
→ Stop below the pullback swing low
→ Target 1:1 Risk-to-Reward
CONTINUATION SHORT:
ATM Low -100 reached
→ Reversal longs disabled
→ Wait for retracement into a bearish 1-minute OR 5-minute FVG
→ Identify the pullback swing high
→ Wait for bearish Break of Structure
→ Enter SHORT immediately on the confirmed BOS close
→ Stop above the pullback swing high
→ Target 1:1 Risk-to-Reward
MULTI-TIMEFRAME FVG CONTINUATION
The continuation engine can use either:
1-Minute FVG
OR
5-Minute FVG
A tap into either qualifying FVG can arm the BOS portion of the continuation model.
The indicator identifies which timeframe was used and displays the BOS level that must be broken before entry.
CHART DISPLAY
The indicator automatically displays:
ATM High / ATM Low
ATM range windows
Execution windows
Liquidity sweeps
MSS information
Significant IFVG used for reversal
100-point continuation regime switch
1m / 5m continuation FVG tap
Continuation BOS level
Entry
Stop Loss
Take Profit
Trade outcome labels
Entry, Stop Loss, and Take Profit are displayed as clean horizontal levels with compact labels to reduce chart clutter.
IMPORTANT
The 100-point threshold refers to actual index price points, not ticks.
For example:
ATM High = 20,000
Continuation Long Mode activates at 20,100.
ATM Low = 20,000
Continuation Short Mode activates at 19,900.
The continuation model is designed primarily around 1-minute execution while also scanning confirmed 5-minute FVG structure.
MODEL SUMMARY
REVERSAL:
ATM Sweep
→ Significant IFVG
→ Immediate Entry
→ Opposing ATM / Fixed RR Target
CONTINUATION:
ATM ±100 Points
→ Reversal Model OFF
→ 1m or 5m FVG Tap
→ BOS
→ Immediate Entry
→ Swing-Based Stop
→ 1:1 Target
This indicator is intended as a structured trading and educational tool. It does not guarantee profitable trades and should be used alongside proper risk management, testing, and trader discretion.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.