Registered User Joined: 6/26/2005 Posts: 15
|
Hi,
I'm looking for a PCF that will scan a stochastic (21,3,4) that is crossing it's 50 bar moving average (preferably) from the bottom.
Can you help?
Thanks.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following:
Simple:
AVG(STOC21.3,4) > (AVG(STOC21.50,4) + AVG(STOC21.50,4) + AVG(STOC21.50,4)) / 3 AND AVG(STOC21.3.1,4) <= (AVG(STOC21.50.1,4) + AVG(STOC21.50.1,4) + AVG(STOC21.50.1,4)) / 3
Exponential:
3 * XAVG(STOC21,4) - 2 * XAVG(STOC21,3) > 3 * (49 * XAVG(STOC21,50) - 3 * XAVG(STOC21,4)) / 46 - 2 * (49 * XAVG(STOC21,50) - 2 * XAVG(STOC21,3)) / 47 AND 3 * XAVG(STOC21.1.1,4) - 2 * XAVG(STOC21.1.1,3) <= 3 * (49 * XAVG(STOC21.1.1,50) - 3 * XAVG(STOC21.1.1,4)) / 46 - 2 * (49 * XAVG(STOC21.1.1,50) - 2 * XAVG(STOC21.1.1,3)) / 47
You may wish to review the following:
How to create a Personal Criteria Forumula (PCF) Understanding Stochastics Cascades of Moving Averages Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 6/26/2005 Posts: 15
|
Thanks Bruce, you guys are awesome.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|