OPEN-SOURCE SCRIPT
EMA 9/21 + SMA 50/200 | Long Signals

This indicator displays EMA 9, EMA 21, SMA 50, and SMA 200 and generates long-only signals based on short-term momentum and price reclaim behavior.
Long Signals
EMA Cross (green triangle):
EMA 9 crosses above EMA 21 from below.
Reclaim Signal (orange triangle):
Price comes from below and closes above EMA 9 and EMA 21.
A new signal is only triggered after price has previously closed below EMA 21.
Important Note
This indicator uses no trend filter (e.g. SMA 200).
All signals are generated independent of the higher-timeframe trend.
Alerts
Separate alerts are available for both long signals.
⚠️ Not financial advice. This indicator is a technical tool and should be used together with proper risk management.
Long Signals
EMA Cross (green triangle):
EMA 9 crosses above EMA 21 from below.
Reclaim Signal (orange triangle):
Price comes from below and closes above EMA 9 and EMA 21.
A new signal is only triggered after price has previously closed below EMA 21.
Important Note
This indicator uses no trend filter (e.g. SMA 200).
All signals are generated independent of the higher-timeframe trend.
Alerts
Separate alerts are available for both long signals.
⚠️ Not financial advice. This indicator is a technical tool and should be used together with proper risk management.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.