Nima J:
Hi I'm new to MQL5 and I was just testing something
and I come across a difference between mql4 and mql5.
If you use a time interval for showing a line in mql5 indicator,
you will see that at the beginning and the end of that line it falls down to zero
but that's not the case in mql4.
so how do I make my line like mql4 in mql5? Am I missing something?
here's the codes and picture
if(time2.hour>6 && time2.hour<11) { Line1Buffer[i] = high[i]; } else Line1Buffer[i] = EMPTY_VALUE;
Should work on both.
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'm new to MQL5 and I was just testing something
and I come across a difference between mql4 and mql5.
If you use a time interval for showing a line in mql5 indicator,
you will see that at the beginning and the end of that line it falls down to zero
but that's not the case in mql4.
so how do I make my line like mql4 in mql5? Am I missing something?