Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

ATR Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
RC-EQUITIES
Posted : Tuesday, May 31, 2016 2:59:09 PM
Registered User
Joined: 2/15/2012
Posts: 25

Trying to write:   ATR (2) > 0.75

 

Thankyou....

Bruce_L
Posted : Tuesday, May 31, 2016 3:10:51 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Like the last question, I'd probably do it by adding the Average True Range indicator to the chart, adjusting its settings as desired and then clicking on ATR and selecting Create Scan Condition.

That said, this could be written as follows if you want to match the ATR in TC2000.

(AVGH2 - AVGL2) / 2 + (ABS(H - C1) + ABS(C1 - L) + ABS(H1 - C2) + ABS(C2 - L1)) / 4 > .75

Or as follows if you need the ATR to be Wilder's smoothed.

XAVGH3 - XAVGL3 + .50048876 * ((H < C1) * (H - C1) + (C1 < L) * (C1 - L) + .5 * ((H1 < C2) * (H1 - C2) + (C2 < L1) * (C2 - L1) + .5 * ((H2 < C3) * (H2 - C3) + (C3 < L2) * (C3 - L2) + .5 * ((H3 < C4) * (H3 - C4) + (C4 < L3) * (C4 - L3) + .5 * ((H4 < C5) * (H4 - C5) + (C5 < L4) * (C5 - L4) + .5 * ((H5 < C6) * (H5 - C6) + (C6 < L5) * (C6 - L5) + .5 * ((H6 < C7) * (H6 - C7) + (C7 < L6) * (C7 - L6) + .5 * ((H7 < C8) * (H7 - C8) + (C8 < L7) * (C8 - L7) + .5 * ((H8 < C9) * (H8 - C9) + (C9 < L8) * (C9 - L8) + .5 * ((H9 < C10) * (H9 - C10) + (C10 < L9) * (C10 - L9))))))))))) > .75



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
busterram
Posted : Tuesday, May 31, 2016 8:46:14 PM
Registered User
Joined: 10/9/2011
Posts: 485

Similiar to RSI, it would be good to have a ATR formula one could readily use. This is true for CCI as well. A long time pending request.

Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.