Forum

I can't find the range with loop

Help. I'm stuck. I'm trying to find the range in a chart using the bool function. Unfortunately, I always get True. What am I doing wrong? Please help. This is my beginning with mql5. input int InpRangeBars = 4 ; double RangeHi = 0 ; double RangeLo = 0 ; bool FindReange (){