Nakitxu

ATR Drift %

Nakitxu Aggiornato   
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/
Note di rilascio:
Changed the background change logic
Note di rilascio:
Added SMA smooth

Hodl!
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?