Close in top or bottom quarter of bar.
s050399b:
iHigh-iLow= length
Length x 0.25 = bottom
Length x 0.75 = top
If iClose is within iHigh and top
Or iClose is within iLow and bottom
Do EA
But simply multiplying the length will not imply whether near top or bottom. Or am I wrong?
Thanks.
How would I code for an EA a close in the top or bottom quarter of the bar?
Thanks.