| Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 2/14/2010 Posts: 6
|
How do I write the code for:
Today's range (H-L) is larger than the average range for the past 5 days
Thanks.
|
|
 Administration
Joined: 9/30/2004 Posts: 9,187
|
H - L > AVGH5 - AVGL5
|
|
Registered User Joined: 1/8/2005 Posts: 118
|
How would I write a PCF to find V*(C-C1) below it's 4EMA? Thank you.
|
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
lsaloga,
Please try the following:
(C - C1) * V < .400313702486715 * ((C - C1) * V + .6 * ((C1 - C2) * V1 + .6 * ((C2 - C3) * V2 + .6 * ((C3 - C4) * V3 + .6 * ((C4 - C5) * V4 + .6 * ((C5 - C6) * V5 + .6 * ((C6 - C7) * V6 + .6 * ((C7 - C8) * V7 + .6 * ((C8 - C9) * V8 + .6 * ((C9 - C10) * V9 + .6 * ((C10 - C11) * V10 + .6 * ((C11 - C12) * V11 + .6 * ((C12 - C13) * V12 + .6 * ((C13 - C14) * V13))))))))))))))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
|
Guest-1 |