I got requests about the PCF formulas I use to calculate ADR – Average Daily Range and ATR – Average True Range in tc2000. Here are some simple formulas to use:
ADR % TC2000 PCF
100 * (AVG((H / L), 20) -1) > 5
This will search for stocks with 5 ADR % or above.
ATR % TC2000 PCF
(ATR20 / C) * 100
If you want to use the Average True Range, you can use the inbuilt function (ATR) and change the number of days you want to calculate it with. However, this will only calculate the average true range depending on the price. The code above will calculate the percentage ATR instead.
Average true range (ATR) measures the daily range including gaps, while the average daily range (ADR) doesn’t include gaps.
If you have any other questions about adding ADR to tc2000, leave a comment down below.


