Registered User Joined: 3/8/2009 Posts: 6
|
Dear Bruce,
Could you give an example how i make an indicator of today's/ present ATR value, as a percentage of closing price, I will use it in the daily. Then I can make scans for selection within Russell2000, but also put this indicator in a daily chart to see volatility development.
So ATR value as of today, divided by price >>> as a percentage of price.
My efforts keep giving me syntax errors.
(F.e. ATR/C*100 did not work. What mistake do I make then), not experienced enough.
Regards,
Willem
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
An Indicator Formula for the 14-Period Average True Range as plotted in TC2000 as a percentage of the close or current price can be written as:
100 * ((AVGH14 - AVGL14) / 2 + (ABS(H - C1) + ABS(C1 - L) + ABS(H1 - C2) + ABS(C2 - L1) + ABS(H2 - C3) + ABS(C3 - L2) + ABS(H3 - C4) + ABS(C4 - L3) + ABS(H4 - C5) + ABS(C5 - L4) + ABS(H5 - C6) + ABS(C6 - L5) + ABS(H6 - C7) + ABS(C7 - L6) + ABS(H7 - C8) + ABS(C8 - L7) + ABS(H8 - C9) + ABS(C9 - L8) + ABS(H9 - C10) + ABS(C10 - L9) + ABS(H10 - C11) + ABS(C11 - L10) + ABS(H11 - C12) + ABS(C12 - L11) + ABS(H12 - C13) + ABS(C13 - L12) + ABS(H13 - C14) + ABS(C14 - L13)) / 28) / C
Please provide a description and PCF for calculating an ATR value to be used as a stop loss value
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 6/2/2012 Posts: 3
|
Hi Bruce
Would you mind to pse prepare the above (i.e 15 July 2014 10:03:21) Indicator Formula for a 21-Period Average True Range (as a % of the Closing Price) for me. Have tried to do myself - not working, seem to be something wrong my formula.
Thank you.
Barnie
|
Registered User Joined: 6/2/2012 Posts: 3
|
Bruce,
No worries - I managed. Re-typing the 21 Period ATR formula in the PCF's 'formula window' in stead of 'copy/paste' to it, did the trick.
Thanks
Barnie
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome. I am happy to read you were able to figure it out on your own. For anybody else following along, you can take a look at the Daily ATR as a percentage of price topic.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|