OPEN-SOURCE SCRIPT

EMA CO Alert

EMAs play an important role in identifying the mood of the market.

Frequently used short term EMA is 5 and long term EMA is 50.

This script detects the crossover (+ve and -ve) and generates alerts accordingly.

Steps to apply:
1) Open the script on a desired timeframe.
2) Add this indicator on the chart
3) Choose the values of the 2 EMAs from settings
4) Go to the alert window.
5) Select this indicator from the 'Condition' dropdown
6) Create the alert.

This alert will then run in the background and notify you.
Need to apply a one time alert on the scripts.

In addition to above, you can also add this indicator on the chart and it will show green/red lines on the chart for signals.
Exponential Moving Average (EMA)

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