OPEN-SOURCE SCRIPT

Dual EMA

195
Here is the complete Pine Script code for a version 6 indicator that plots two Exponential Moving Averages (EMAs) with default lengths of 9 and 20. It includes customizable inputs so you can adjust the values directly from the indicator settings.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.