OPEN-SOURCE SCRIPT

Simple EMA Cross

Updated
Quick script I put together to complete the following:
---
- Simple EMA with the option to either display both or consolidate them as one
- Single EMA will change color based on a cross of the two EMA values entered
- Programmed alerts for bullish/bearish crossover

Enjoy!
Release Notes
Removing a note I had left in the code.
Release Notes
Fixing a typo in alerts.
Release Notes
Updating the chart thumbnail.
alertscrossoverExponential 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