ADR and ATR PCF Formula for TC2000

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.

About the author

Magnus Sellén
Magnus Sellén
Full-time Swing Trader

I’m Magnus, a full-time swing trader trading U.S. stocks and crypto from southern Spain. I focus on momentum, technical analysis, and patience. This site is my public trading journal, where I document the process and share what I learn along the way.

Leave a Comment