OPEN-SOURCE SCRIPT

EMA21 and EMA55 Crossover

TradingView will trigger when the 21-period Exponential Moving Average (EMA21) crosses the 55-period Exponential Moving Average (EMA55). The code includes basic alerts for both the crossover and crossunder events.
Moving Averages

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