OPEN-SOURCE SCRIPT

Filtered DTR Table

84
📊 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.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.