Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Changing Stochastics Condition Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Kendallman
Posted : Monday, June 18, 2012 4:58:25 PM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 15

We are looking to have a second bar confirmation from a PCF that we have created.

 

Current PCF is

STOC14.1.1 > 80 AND STOC14.1 <= 80

 

what does STOC14.1.1 mean?  I believe the .1 means 1 bar ago.

We would like to change to 1 and 2 bars ago.  How do I add this addtional 2nd bar confirmation?

 

Bruce_L
Posted : Tuesday, June 19, 2012 7:47:04 AM


Worden Trainer

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

STOCx.y.z -> Simple Stochastic

Where x is the Period of the Indicator or Function.
Where y is a the Period of an additional Simple Moving Average.
Where z is the number of Periods Ago.
- z can also be a date. May 3, 2007 would be (single quotes required): '05/03/07'

The arguments in indicators are separated by periods.

PCF Formula Descriptions

So the current formula checks for 1 bar ago to be above 80 and the current bar to be less than or equal to 80.

STOC14.1.1 > 80 AND STOC14 <= 80

Adding 1 to each of the bars ago parameters would result in:

STOC14.1.2 > 80 AND STOC14.1.1 <= 80

Adding 2 to each of the bars ago parameters would result in:

STOC14.1.3 > 80 AND STOC14.1.2 <= 80

Understanding Stochastics



-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.