OPEN-SOURCE SCRIPT
Strategy_470 - NY Open 3H Sweep Continuation

Strategy_470 is an intraday opening-session strategy designed to identify liquidity sweeps around the New York open and trade the potential continuation move that follows.
The model uses the previous 3-hour candle as the reference range. During the New York trading window, the strategy watches for price to sweep either the previous 3H high or low. After that sweep, it waits for a confirmation move through a recent swing level before entering.
For long setups, price must sweep below the previous 3H low and then reclaim strength by breaking above a recent swing high.
For short setups, price must sweep above the previous 3H high and then confirm weakness by breaking below a recent swing low.
The strategy includes a fixed risk structure:
Stop loss is placed beyond the sweep extreme.
Take profit is placed at the opposite side of the previous 3H range.
Optional break-even management is triggered once price reaches +1R.
The model can be limited to one trade per day.
Longs and shorts can be enabled or disabled independently.
This strategy is intended to study the behavior of index markets around the New York open, especially instruments such as QQQ, NASDAQ futures, NQ, MNQ, NAS100 or similar products.
It is not based on indicators. The logic focuses on time, liquidity, range structure and price reaction after a sweep.
Core concept:
Liquidity sweep → confirmation break → continuation toward the opposite side of the 3H range.
Recommended use:
5-minute chart, New York session, with session settings adjusted depending on the instrument. For QQQ, regular session testing may work better with a 09:30–10:30 New York window. For futures, 09:00–10:30 New York can be tested.
This script is for research, education and backtesting purposes. It should not be considered financial advice.
The model uses the previous 3-hour candle as the reference range. During the New York trading window, the strategy watches for price to sweep either the previous 3H high or low. After that sweep, it waits for a confirmation move through a recent swing level before entering.
For long setups, price must sweep below the previous 3H low and then reclaim strength by breaking above a recent swing high.
For short setups, price must sweep above the previous 3H high and then confirm weakness by breaking below a recent swing low.
The strategy includes a fixed risk structure:
Stop loss is placed beyond the sweep extreme.
Take profit is placed at the opposite side of the previous 3H range.
Optional break-even management is triggered once price reaches +1R.
The model can be limited to one trade per day.
Longs and shorts can be enabled or disabled independently.
This strategy is intended to study the behavior of index markets around the New York open, especially instruments such as QQQ, NASDAQ futures, NQ, MNQ, NAS100 or similar products.
It is not based on indicators. The logic focuses on time, liquidity, range structure and price reaction after a sweep.
Core concept:
Liquidity sweep → confirmation break → continuation toward the opposite side of the 3H range.
Recommended use:
5-minute chart, New York session, with session settings adjusted depending on the instrument. For QQQ, regular session testing may work better with a 09:30–10:30 New York window. For futures, 09:00–10:30 New York can be tested.
This script is for research, education and backtesting purposes. It should not be considered financial advice.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.