mql4 return last low if lowest
Hi
I am just starting with mql4 and playing around with the code, trying to print the low of the bar but only if it is a lower than the lowest value in the current bar.
Any idea what my code is not working? Thanks
The following code is
Low[0]<Low[1];
Low[0]<Low[1];
return true if the current bar low is lower than the previous bar low? if Yes, I am after a new low in the CURRENT bar not the previous one, that is a new low in Bar[0] during its formation.
Isn't
return true if the current bar low is lower than the previous bar low? if Yes, I am after a new low in the CURRENT bar not the previous one, that is a new low in Bar[0] during its formation.
something like.
double LLprice = min(Low[0],Low[1]); Print ("Range low ",LLprice);
or use iHighest, iLowest..
Hi
I am just starting with mql4 and playing around with the code, trying to print the low of the bar but only if it is a lower than the lowest value in the current bar.
Any idea what my code is not working? Thanks
The following code is