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 |

Range question Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jramx1
Posted : Monday, March 8, 2010 3:50:51 PM
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.
StockGuy
Posted : Monday, March 8, 2010 3:57:20 PM

Administration

Joined: 9/30/2004
Posts: 9,187
H - L > AVGH5 - AVGL5
lsaloga
Posted : Friday, March 12, 2010 12:29:42 PM
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.
Bruce_L
Posted : Friday, March 12, 2010 12:40:30 PM


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
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.