OPEN-SOURCE SCRIPT
1M Scalping Strategy

This script is an educational Heikin Ashi and EMA study designed to help traders observe pullback/doji conditions and EMA reclaim behavior.
The script uses Heikin Ashi candle data together with a configurable EMA, defaulted to 100. It is designed mainly for short-term chart review and backtesting, especially on lower timeframes such as the 1-minute chart.
There are two main study conditions included:
1. HA Pullback Watch
The pullback watch condition looks for price location relative to the EMA and a specific Heikin Ashi candle sequence.
For a bullish pullback watch, the script looks for:
- Heikin Ashi price above the EMA
- Two red Heikin Ashi pullback candles
- The pullback candles having little to no upper wick
- A green doji-style Heikin Ashi candle forming after the pullback
For a bearish pullback watch, the script looks for:
- Heikin Ashi price below the EMA
- Two green Heikin Ashi pullback candles
- The pullback candles having little to no lower wick
- A red doji-style Heikin Ashi candle forming after the pullback
These conditions are marked as watch or confirmed conditions depending on whether the candle is still forming or has closed.
2. EMA Reclaim Watch
The EMA reclaim portion of the script looks for price moving from one side of the EMA to the other.
A bullish EMA reclaim condition happens when Heikin Ashi price was recently below the EMA, then pushes back above the EMA with a stronger green candle near the EMA area.
A bearish EMA reclaim condition happens when Heikin Ashi price was recently above the EMA, then pushes back below the EMA with a stronger red candle near the EMA area.
The script includes optional settings for:
- EMA length
- Doji body percentage
- Wick tolerance
- Strong candle body percentage
- EMA reclaim lookback
- EMA touch tolerance
- Volume filter
- Showing or hiding different study markers
The chart markers are intended to help users study possible pullback and EMA reclaim behavior. They are not financial advice, trade recommendations, or guaranteed buy/sell signals. Because the script uses Heikin Ashi data, users should be aware that Heikin Ashi candles are calculated candles and may not represent actual traded prices.
This script should be used for educational study, manual review, and backtesting only. Users should apply their own analysis, risk management, and confirmation before making any trading decisions.
The script uses Heikin Ashi candle data together with a configurable EMA, defaulted to 100. It is designed mainly for short-term chart review and backtesting, especially on lower timeframes such as the 1-minute chart.
There are two main study conditions included:
1. HA Pullback Watch
The pullback watch condition looks for price location relative to the EMA and a specific Heikin Ashi candle sequence.
For a bullish pullback watch, the script looks for:
- Heikin Ashi price above the EMA
- Two red Heikin Ashi pullback candles
- The pullback candles having little to no upper wick
- A green doji-style Heikin Ashi candle forming after the pullback
For a bearish pullback watch, the script looks for:
- Heikin Ashi price below the EMA
- Two green Heikin Ashi pullback candles
- The pullback candles having little to no lower wick
- A red doji-style Heikin Ashi candle forming after the pullback
These conditions are marked as watch or confirmed conditions depending on whether the candle is still forming or has closed.
2. EMA Reclaim Watch
The EMA reclaim portion of the script looks for price moving from one side of the EMA to the other.
A bullish EMA reclaim condition happens when Heikin Ashi price was recently below the EMA, then pushes back above the EMA with a stronger green candle near the EMA area.
A bearish EMA reclaim condition happens when Heikin Ashi price was recently above the EMA, then pushes back below the EMA with a stronger red candle near the EMA area.
The script includes optional settings for:
- EMA length
- Doji body percentage
- Wick tolerance
- Strong candle body percentage
- EMA reclaim lookback
- EMA touch tolerance
- Volume filter
- Showing or hiding different study markers
The chart markers are intended to help users study possible pullback and EMA reclaim behavior. They are not financial advice, trade recommendations, or guaranteed buy/sell signals. Because the script uses Heikin Ashi data, users should be aware that Heikin Ashi candles are calculated candles and may not represent actual traded prices.
This script should be used for educational study, manual review, and backtesting only. Users should apply their own analysis, risk management, and confirmation before making any trading decisions.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。