Registered User Joined: 8/4/2005 Posts: 24
|
I think this is simple but being new I don't know how to do it. How would you create a rule that would show when a price has 3 consecutive CLOSING highs on a 5 minute chart but I only want to find the first 3 consecutive highs - I'm not looking for 3 consecutive closing highs if it's already been closing higher for 5 previous bars.
1) What's important is that the close of each bar is higher - I'm not concerned about the high and low of the bar.
2) For example: in Telechart for a daily PCF I use the following:
- C > C1 AND C1 > C2 AND C2 > C3 AND C3 < C4
Thanks,
Dan
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You could do something very similar using the following RealCode Rule in StockFinder:
If Price.Last > Price.Last(1) AndAlso _
Price.Last(1) > Price.Last(2) AndAlso _
Price.Last(2) > Price.Last(3) AndAlso _
Price.Last(3) <= Price.Last(4) Then Pass
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 8/4/2005 Posts: 24
|
Thank you!!!!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|