Comparing different candle high's
-
Hi,
In my strategy, I have a number of conditions and one of them is to compare the wick of candle 0 to candle 1. If candle 0's wick is 4 pips higher then candle 1's wick then I want to cancel the order.
I'm struggling to come up with logic that will allow me to compare to the 2 candle highs and dictate if they are 4 or more pips apart. Any suggestions?
Thanks,
-
@tfulls12 i say to you never working with candle 0 because candle 0 isn't a complete candle and changing by each tick.
if you want to compare :
-
@Xfire , Thanks for pointing that out. With that said, how can I compare candles 1 and 2?
-
@tfulls12 lest side 1 and right side 2 for candle id