samjesse:
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];
Mohamad Zulhairi Baba:
Isn't 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.
samjesse:
Isn't
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..
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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