Registered User Joined: 9/14/2009 Posts: 15
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you want a quick and dirty estimate, you could try something like the following for a 30-Period Simple Moving Average:
100 * (AVGH30 / AVGL30 - 1)
The results are usually very close to the much longer:
100 * ((H / L + H1 / L1 + H2 / L2 + H3 / L3 + H4 / L4 + H5 / L5 + H6 / L6 + H7 / L7 + H8 / L8 + H9 / L9 + H10 / L10 + H11 / L11 + H12 / L12 + H13 / L13 + H14 / L14 + H15 / L15 + H16 / L16 + H17 / L17 + H18 / L18 + H19 / L19 + H20 / L20 + H21 / L21 + H22 / L22 + H23 / L23 + H24 / L24 + H25 / L25 + H26 / L26 + H27 / L27 + H28 / L28 + H29 / L29) / 30 - 1)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 9/14/2009 Posts: 15
|
I apologize I missed your reply earlier. Thank you again for your help, Bill
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|