OPEN-SOURCE SCRIPT

EMA Trends

This script will send alerts when the short ema is bullish, bearish, or countertrend to the long ema.

Set your desired timeframe and add it to your chart with your desired EMA lengths.

This script can be useful for sending webhooks when the EMAs cross (bullish or bearish) or for when the trend starts to reverse (countertrend).

Simply add it to your desired chart and set up your desired alert (email, webhook, sound, etc.).

You can also change the ema plots to a different color etc.

Enjoy this simple alert!
Exponential Moving Average (EMA)Moving AveragesPine utilities

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