I was using the "OrderSelect(1,SELECT_BY_POS);" function in MT4 and I noticed that this function only works if there is a space after the commas. So OrderSelect(1,SELECT_BY_POS); does not work, but ]
OrderSelect(1, SELECT_BY_POS); does work. If a programmer forgets to include a space here this does not show up in when verifying the expert. I don't think that a space should be required for this function to work. This is hard to monitor particularly when the verification function in MetaEditor does not reveal this error/bug. This could affect real time trading? and makes programming harder in terms of bug removal. Can this be fixed up from MetaTrader's end? Spacing should never be required in any functions - everything should be consistent in the language. this took me an hour to work out by writing values to the log file.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I was using the "OrderSelect(1,SELECT_BY_POS);" function in MT4 and I noticed that this function only works if there is a space after the commas. So OrderSelect(1,SELECT_BY_POS); does not work, but ]
OrderSelect(1, SELECT_BY_POS); does work. If a programmer forgets to include a space here this does not show up in when verifying the expert. I don't think that a space should be required for this function to work. This is hard to monitor particularly when the verification function in MetaEditor does not reveal this error/bug. This could affect real time trading? and makes programming harder in terms of bug removal. Can this be fixed up from MetaTrader's end? Spacing should never be required in any functions - everything should be consistent in the language. this took me an hour to work out by writing values to the log file.
Thank you