Registered User Joined: 8/18/2012 Posts: 4
|
Can you give the PCF for the following:
Closing price yesterday was above the 200 Simple Moving Average for at least 50 consecutive trading day without price ever touching the 200 SMA anytime within those 50 days
|
Registered User Joined: 9/17/2010 Posts: 484
|
CountTrue(AvgC50>AvgC200,50) = 50
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It should be slightly more efficient to write this as follows (since CountTrue needs to check all 50 bars while TrueInRow might not need to check all 50 bars).
TrueInRow(AVGC50 > AVGC200, 50) = 50
-Bruce Personal Criteria Formulas TC2000 Support Articles
|