Platinum Customer
Joined: 3/23/2011 Posts: 12
|
Hello....I'm trying to build a custom easyscan with the following criteria:
Stochastic 12 %K 3 <20
Stochastic 12 %K 3 crossing above Exponential Moving average 9
Can u help me build this easyscan.
Thanks,
Sunil
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Since the signal line is exponential, I'm going to assume the stochastic is exponential as well. A Condition Formula for the stochastic being less than twenty could be written as:
XAVG(STOC12,3) < 20
While a Condition Formula for the stochastic crossing up through its signal line could be written as:
XAVG(STOC12,3) > XAVG(STOC12,9) AND XAVG(STOC12.1.1,3) <= XAVG(STOC12.1.1,9)
You could just add both Condition Formula to the same EasyScan or you could combine them into a single PCF:
XAVG(STOC12,3) < 20 AND XAVG(STOC12,3) > XAVG(STOC12,9) AND XAVG(STOC12.1.1,3) <= XAVG(STOC12.1.1,9)
Note that if the stochastic itself is simple the crossing up Condition Formula would be:
STOC12.3 > XAVG(STOC12.3,9) AND STOC12.3.1 <= XAVG(STOC12.3.1,9)
Understanding Stochastics
Note that in TC2000 version 12.2, an easier way to create the Conditions would be to just click on the Stochastic and select Create Condition. You could then add both Conditions to the same EasyScan.
Creating Scan and Sort Conditions
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Platinum Customer
Joined: 3/23/2011 Posts: 12
|
Thank you Bruce
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|