OPEN-SOURCE SCRIPT

10 EMA Strategy

Updated
This indicator shows you:
- The first bullish candle to close below EMA 10
- The first bearish candle to close above EMA 10.

Optional:
You can enable the exit signals in the setting. This will show you:
- If you are long (bullish), it will signal when the first bullish candle closes below EMA 10
- If you are short (bearish), it will signal when the first bearish candle closes above EMA 10

You can also change the EMA 10, to another length, if you want to try something else.
Release Notes
Edit: its now possible to only show alerts where the candle is relative close to the 10EMA line. Its measured by the length of the candle and the distance from CLOSE to EMA10.
Alert points has been added, "Long Alert" and "Short Alert"
The option to show all alerts matching the conditions, and not just the first
Release Notes
Minor bugfixes done
Release Notes
Updated syntax, code cleanup
Exponential Moving Average (EMA)entrysignal

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer