Hi guys! as the Title Says. I want to find the PEAK Highs and Lows as the market structure defined by Candle Range.
I cannot use the market properties highest and lowest functions since it will only get the highest and lowest from a candle period, basically what will it do is to find the highest and lowest from the candle bars like find the highest of 20 bars so it can be the candle 1 is the highest or any candle.
What I want is to find the Middle Candle and the will be the Highest/Lowest Candle.
Example my candle period is 20,
so it will be 20+1(for middle candle)
now the highest candle should be candle 21 so it the 20 candles to the left and to the right will be lower than the high of candle 21.
and that will be my high 1
same as for lows.
hope you can help me with this guys!
Thanks in Advance!