Registered User Joined: 12/6/2011 Posts: 13
|
I need a condition or fomula that scans a lower bar close from the bar before . Meaning a lower low or higher high. I need both ways. 15min interval mitch
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
For a lower low use L < L1 and set the time frame on the condition to 15-minute.
For a higher high use H > H1 and set the time frame to 15-minute.
You could combine to find either using L < L1 OR H > H1
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for the current bar having a low close than the bar before is:
C < C1
A Condition Formula for the current bar having a lower low than the bar before is:
L < L1
A Condition Formula for the current bar having a higher close than the bar before is:
C > C1
A Condition Formula for the current bar having a higher high than the bar before is:
H > H1
You can set the Time Frame of a Condition Formula when you create or edit it by using the Time Frame drop-down menu in the Condition Formula's Edit window. You can also set the Time Frame of a Condition Formula in most places where it can be used such as when creating a WatchList Column or EasyScan Condition.
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: 12/6/2011 Posts: 13
|
can u make higher high and a lower low as a counter maybe 60bars.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you are willing to accept a percentage instead of a count, you can use the formulas as is in Custom PCF % True Indicators with the Period set to 60 and the Average Type set to Simple.
If you need a count, you can use the formulas in Custom PCF Indicators instead, but you will need to put the formula in an ABS() function and multiply it by 60. So for example, C > C1 would become:
60 * ABS(C > C1)
You would still need to set the Period to 60 and the Average Type to Simple.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|