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.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.