Nakitxu

ATR Drift %

Nakitxu Updated   
This script plots an histogram calculated this way:

Get the previous ATR sample, calculated in the specified timeframe
Get the actual open price of the bar in the specified timeframe minus the actual price in the current timeframe
and plots the percent change between the the 2 values

For example, if you select DAY as timeframe for the ATR:

Plots the percent change between:
- ATR(daily) from yesterday
and
- open from today - actual price

Due to Tradingview limitations, only shows the plot if the actual timeframe of the graphic is equal or lower that the ATR selected timeframe

The background changes shows a new ATR sample taking place

I'm testing this for scalping in 5M timeframe with the ATR in 4H

All my published scripts at: es.tradingview.com/u/Nakitxu/
Release Notes:
Changed the background change logic
Release Notes:
Added SMA smooth

Hodl!
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?