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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。