You are not “overwrite standard predefined variables” You are creating functions. Bid and Bid() are two different things, as will be High[i] and High(i).
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.
Hi,
in MQL4, is it possible to overwrite standard predefined variables like Open/Close etc. by my own functions like in this example?
The MQL4 compiler doesn´t complain when doing this, I am just not sure if it works. I wanted to do it this way for a multi-pair-trading EA.
Thanks.