iClose(NULL,0,0), iLow(Null,0,0), iHigh(NULL,0,0), iOpen(NULL,0,0) give me the same value = iOpen(NULL,0,0)
try (Symbol(),0,0)
Hello
I have the same problem and unfortunatelly the change for (Symbol(),0,0) did not help. Any ideas ?
Thanks in advance
kanar:
iClose() for Bar 0 is Bid . . . for the 1st tick of Bar 0 iLow(), iOpen() and iHigh() will be the same . . . what timeframe are you using ? at what point during the Bar, start, middle or end are you printing these values ? what were you expecting to see ?Hello
I have the same problem and unfortunatelly the change for (Symbol(),0,0) did not help. Any ideas ?
By the way, for (NULL, 0, x) . . . meaning current symbol and current timeframe it is much, much faster to use High[], Open[], Low[], Close[]
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello:
I need your help,
When I put: PRINT (iClose(NULL,0,0), iLow(Null,0,0), iHigh(NULL,0,0), iOpen(NULL,0,0)), the result is the equal, iOpen(NULL,0,0). Why?.
But when I put (iClose(NULL,0,1), iLow(Null,0,1), iHigh(NULL,0,1), iOpen(NULL,0,1)) the result is OK.
The problem is with the parameter (NULL,0,0).
Thanks,
Sincerely Regards.