OPEN-SOURCE SCRIPT
Filtered DTR Table

📊 Filtered Daily True Range (DTR) Indicator
This indicator calculates and displays a filtered version of the Daily True Range (DTR) over the last 14 trading days, using high and low prices of each day.
It filters out extreme values by excluding any daily range that is:
Less than 0.5× the average range
Greater than 2× the average range
The indicator shows a table in the bottom-right corner of the main chart, containing:
Filtered ATR – The average of valid (filtered) daily ranges over the past 14 days, based on the high-low difference.
Current Day's Range – The high-low range of the current trading day.
% of ATR – How much of the filtered ATR has been covered by today's range, expressed as a whole number percentage.
This indicator calculates and displays a filtered version of the Daily True Range (DTR) over the last 14 trading days, using high and low prices of each day.
It filters out extreme values by excluding any daily range that is:
Less than 0.5× the average range
Greater than 2× the average range
The indicator shows a table in the bottom-right corner of the main chart, containing:
Filtered ATR – The average of valid (filtered) daily ranges over the past 14 days, based on the high-low difference.
Current Day's Range – The high-low range of the current trading day.
% of ATR – How much of the filtered ATR has been covered by today's range, expressed as a whole number percentage.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.