Registered User Joined: 1/9/2005 Posts: 2
|
Would like to do a PCf for stochastics crossing the moving average below the 20 line that I could include in my scan....Thank you ...Tom
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for a simple stochastic 12, 3 %K crossing up through simple %D 5 under 20 can be written as follows in TC2000 v17.
XUP(STOC12.3, AVG(STOC12.3, 5)) AND STOC12.3 < 20
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 1/9/2005 Posts: 2
|
QUOTE (Bruce_L)
A Condition Formula for a simple stochastic 12, 3 %K crossing up through simple %D 5 under 20 can be written as follows in TC2000 v17.
XUP(STOC12.3, AVG(STOC12.3, 5)) AND STOC12.3 < 20
Bruce, THANK YOU.Tom
|
Gold Customer
Joined: 4/19/2012 Posts: 7
|
A Condition Formula for a simple stochastic 12, 3 %K crossing up through simple %D 5 under 20 can be written as follows in TC2000 v17.
XUP(STOC12.3, AVG(STOC12.3, 5)) AND STOC12.3 < 20
HOW CAN THIS BE CHANGED TO SHOW 1,2,3 DAYS.I TRIED FORMULA AND THIS CROSSED 5 BARS AGO. TRADE IS GONE
HELP
IF YOU ANSWER, WHERE WILL I FIND THE ANSWER?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
This formula only returns true on the bar it happened. It doesn't return true 5 bars later. If it does on your system, please contact technical support.
If you are interested in checking for this happening 1 bar ago instead of for the current bar, you would add 1 to all of the bars ago parameters.
XUP(STOC12.3.1, AVG(STOC12.3.1, 5)) AND STOC12.3.1 < 20
-Bruce Personal Criteria Formulas TC2000 Support Articles
|