Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Number of Periods of Stochastics Below a Value Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Winnie
Posted : Sunday, November 18, 2012 1:44:12 PM
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

Bruce_L
Posted : Monday, November 19, 2012 10:33:21 AM


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
Winnie
Posted : Monday, November 19, 2012 10:47:17 AM
Registered User
Joined: 10/7/2004
Posts: 1,006

Thanks Bruce for the alternative and best answer, works as noted.

Winnie

Bruce_L
Posted : Monday, November 19, 2012 10:50:14 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.