iStdOnArray() is missing :) Seems MT5 is the first autotrading platform which doesn't have basic statistic :) Trying to do something with MQL5 for a few days, but until now only various problems like I would be creating entire financial engineering warehouse.
I still don't understand how to replace predefined variables like High. Low, Ask, Cose, Open.... In which of the special functions should they be declared?
buh400: I still don't understand how to replace predefined variables like High. Low, Ask, Cose, Open.... In which of the special functions should they be declared?
High, low, open, close - through CopyHigh(), CopyLow(), etc. Bid and ask - via SymbolInfoDouble(). - This is data retrieval. And you should declare arrays to which you will receive data (for Copy... functions) and variables for bid and ask values. Declare them in those functions where you want to get this data (you should not declare them at the global level, although you can). For example, if you want to receive data on each tick - in the OnTick() function. If at initialisation - OnInit(), etc. Read the documentation.
I read it, no enthusiasm to learn mcl5! I think that brokers will not give up MT4! Yes, and for my lifetime it will be enough! Just do not complicate mcl4! Please!
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.
How will the MQL4 string of the following form sound?
spread_ =MarketInfo(Symbol(), MODE_SPREAD)*Point;
in MQL5?
Thanks in advance!
How will the MQL4 string of the following form sound?
spread_ =MarketInfo(Symbol(), MODE_SPREAD)*Point;
in MQL5?
Thanks in advance!
roughly like this:
I still don't understand how to replace predefined variables like High. Low, Ask, Cose, Open.... In which of the special functions should they be declared?
when compiling code from section 17,
Give a link from the online version of the help - https://docs.mql4.com/ru
this code is from the article - migration from MQL4 to MQL5.