Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 8/16/2015 Posts: 12
|
Will someone please help me with the PCF for Bars Since the 52 week high. In other words, if the 52 week high were made 5 bars ago, the indicator would return "5"... if today a new 52 week high were made, it would return"0", tomorrow "1", the next day "2", then "3"...
Thanks in advance for the help.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
This could be written as follows in a daily time frame for TC2000 v17.
251 - 251 * AroonUp251 / 100
Or the following in a weekly time frame.
51 - 51 * AroonUp51 / 100
Note the period used is the period of the high minus 1. The value returned will vary from 0 (for the current bar) to the period of the high minus 1 (the span covered is the period of the high).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 8/16/2015 Posts: 12
|
Thanks Bruce... for the bars since 52 week low be: 51-51*aroonDn51/100?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Sorry, I probably should have included this link in the original reply.
Aroon & Aroon Oscillator
You have to spell out "down" instead of just using "dn", but otherwise, it is correct.
51 - 51 * AroonDown51 / 100
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 8/16/2015 Posts: 12
|
Never mind... I figured it out. Thanks for the help.
|
|
Registered User Joined: 8/16/2015 Posts: 12
|
Sorry... didn't realize you'd already responded. Thanks for the help Bruce
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |