Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/12/2007 Posts: 10
|
I have tried numerous ways and can't seem to find a way to paint just the middle bar of a 5 bar pattern where the middle bars high is greater than the high of the two bars to either side. Please help if this is possible.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You could Drag and Drop the following RealCode Rule to the Price History Pane to get the desired results:
If CurrentIndex >= 2 AndAlso _
CurrentIndex <= Price.Count - 3 Then
If Price.High > Price.High(2) AndAlso _
Price.High > Price.High(1) AndAlso _
Price.High > Price.High(-1) AndAlso _
Price.High > Price.High(-2) Then
Pass
End If
Else
SetIndexInvalid
End If
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/12/2007 Posts: 10
|
Wow. That worked great.Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |