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.