OPEN-SOURCE SCRIPT

NSDT EMA+ATR

I had this idea to make a custom Moving Average that adapts to the market. I chose to use the Average True Range. As the market makes bigger/smaller moves, this custom Moving Average applies the ATR as the length of the EMA. This gives more distance to the Moving Average as the volatility picks up or reduces.

Just set the length you want the ATR to look back (default is 100) and the multiplier (default is 2) to work with the instrument being traded.

It's also setup for use on Multi Time Frames.
Exponential Moving Average (EMA)Moving Averagesmtfemamultitimeframe

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?


ALL indicators, strategies and bots are included with Discord access.
NorthStarDayTrading.com/discord
youtube.com/shorts/fWFQE7uEHvU
Also on:

Disclaimer