Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1128
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
Greetings. Can you give me a hint, please, because I can't find it.
If in Ordersend slippage = 0, is this slippage not specified, i.e. any slippage, or is this slippage == 0, i.e. no slippage allowed?
Not allowed.
Thank you
is there any way to control the cursor position when creating an OBJ_EDIT?
I create a new one (by hotkey), but it's not active - you have to click into it to enter text, i.e. extra action on the part of the user.
Please tell me how to properly install MT4 under Astralinux. I have no idea what to do with MT4.
Tear down Astralinux, install Windows, install Terminal mt 4, Happiness...
Not allowed.
And I thought - any... )))
And I thought - any... )))
"Any" is if you put ULONG_MAX there in MQL5, or INT_MAX in MQL4.
Please tell me, is it possible to determine programmatically (in the code) that the product is running in demo mode?
Made a Sell Expert Advisor that reads a file from tester/files with trade history and repeats trades on test history. In the parameters you can set different takeoffs, stops and close time, as well as opening trades with a delay when the price has gone into loss.
So in demo mode it will work without any limitations. Hence there is no need to buy it. Such a problem.
Found
LICENSE_DEMO
MODE_STOPLEVEL
14
Minimum allowable stop loss/stake profit level in pips.
A zero value of MODE_STOPLEVEL indicates either that there is no limit on the minimum distance for stop-loss/stake-profit, or that the trading server uses external dynamic level controls that cannot be translated into the terminal. In the second case, GetLastError() may return error 130, as the MODE_STOPLEVEL level is actually "floating".
is there an analogue for MT5 or is it always =0 ?
is there an analogue for MT5 or is it always =0 there ?