Nakitxu

ATR Drift %

Nakitxu Uppdaterad   
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/
Versionsinformation:
Changed the background change logic
Versionsinformation:
Added SMA smooth

Hodl!
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?