Registered User Joined: 10/7/2004 Posts: 1,006
|
Number of Periods of Stochastics Below a Value
How is the best way to write a ReakCode Condition for Simple Stochastics 40,5 in any TimeFrame which is now below a certain %K Value and counts the number of Periods it has been under this %K Value consecutively. This does not count any segment of Periods when the Stochastics broke above the %K Value, only the latest number of Periods below the %K Value. I would like to see this number of Periods in a WatchList column.
UserInput: %K Value Less Than: 20
Thanks,
Winnie
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I wouldn't create a RealCode Condition or RealCode Indicator for this. Just add the Stochastic to the chart and adjust its settings as desired. Then click on the Stochastic and select Create Condition and choose Less than from the drop-down menu and adjust the settings as desired to create your Condition.
Creating Conditions
Now that you have a Condition, you can right-click on it and select Create WatchList Column | # True in a Row.
Scanning with Conditions
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 10/7/2004 Posts: 1,006
|
Thanks Bruce for the alternative and best answer, works as noted.
Winnie
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|