Registered User Joined: 1/28/2010 Posts: 11
|
250 DAY NEW HIGH - 250 DAY NEW LOW. WITH A SCALE OF -100 TO 100. THANKS FOR YOUR HELP. GENE
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A 250-Bar New High would be a boolean (true or false) formula checking if the current high was higher than any of the previous 249-bars:
H > MAXH249.1
A 250-Bar New Low would be a boolean formula checking if the current high was higher than any of the previous 249-bars:
L < MINL249.1
A formula for the highest high in the most recent 250-bars would be:
MAXH250
A formula for the lowest low in the most recent 250-bars would be:
MINL250
I'm not sure how any of the above would end up being on a scale of -100 to 100.
A formula for where the close is relative to the lowest low and highest high of the most recent 250-bars on scale of -100 to 100 could be created as follows:
2 * STOC250 - 100
If you want to substract the number of 250-Bar New Lows from the number of 250-Bar New Highs in TC2000, this is not possible. It is possible to do so using the Market Indicator feature in StockFinder.
You may want to take a look at the Worden Market Indicators topic from the online Help. The T2105 High Low Logic Index and T2117 52-week New High / New Low Ratio system criteria are at least similar to what you want.
Understanding Stochastics
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 1/28/2010 Posts: 11
|
BRUCE, THANKS FOR YOUR HELP. GENE
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|