Well, I can read too) Will it work in tester and even more so in optimization? It definitely doesn't work in the script, the author writes that it should be placed in the ontik, in the script it returns 1.0.
Unfortunately, MQL5 has no analogue of theMarketInfo(symbf,MODE_MARGINREQUIRED) property, but I don't remember exactly, this topic was already discussed in the forum somewhere
forexman77: Well, I can read too) Will it work in tester and even more so in optimization? It definitely doesn't work in the script, the author writes that it should be placed in the ontik, in the script it returns 1.0.
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.
Yes I have a laptop, XP operating system
On a laptop, you can do what you do on a tablet: on the dotpad, spread two fingers apart.
Added:
the help files are here: AppData\Roaming\MetaQuotes\Terminal\Help\
Ctrl + mouse wheel inside help. The scale will zoom in.
On a laptop, you can do what you do on a tablet: on the dotpad, spread two fingers apart.
Added:
help files are here: AppData\Roaming\MetaQuotes\Terminal\Help\
For some reason it doesn't work....
You need to get programmaticallythe amount of free funds needed to open 1 lot to buy in MQL5, analog of MQL4 "MarketInfo(symbf,MODE_MARGINREQUIRED);"
Print("min=",min);
I get:
What can it be?
You need to get programmaticallythe amount of free funds needed to open 1 lot to buy in MQL5, analog of MQL4 "MarketInfo(symbf,MODE_MARGINREQUIRED);"
Print("min=",min);
I get:
What can it be?
https://www.mql5.com/ru/forum/36370
You need to get programmaticallythe amount of free funds needed to open 1 lot to buy in MQL5, analog of MQL4 "MarketInfo(symbf,MODE_MARGINREQUIRED);"
Print("min=",min);
I get:
What can it be?
Well, I can read too) Will it work in tester and even more so in optimization? It definitely doesn't work in the script, the author writes that it should be placed in the ontik, in the script it returns 1.0.
What was required.
Here only to read, no more.
https://www.mql5.com/ru/forum/36370
Thank you! Carefully read it again) It worked and even in the script
2016.11.03 18:28:38.553 период (EURUSD,D1) margin_buy=221.78