Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1045
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
Confused about the correct spelling of the condition, help:
There could be two options:
Accordingly the sign of the result will be "+" or "-". If the sign is "-", your condition will never be fulfilled since "-" will always be less than 5*Point().
In other words, the code will be
There can be two options:
Accordingly the sign of the result will be "+" or "-". If the sign is "-", your condition will never be fulfilled since "-" will always be less than 5*Point()
In other words, the code will be
Maybe you posted the decompiled code? Maybe you asked for something else to do with decompiling the executable?
No, the questions were about translating code from mql4 to mql5
I did everything, but there was an error while working, I asked for help to figure it out
No, the questions were about translating code from mql4 to mql5
I did everything seemingly, but there was an error while working, I asked for help to figure it out
Strange. Was there a code? Maybe there were signs of decompilation in it?
I can'topen a position, I get a wrong volume response for any values.
2019.05.20 21:53:24.814 position_open (XAUUSD,M10) Wait for Buy V = 1.00 price = 1278.15 SL = 0.00 TP = 0.00
2019.05.20 21:53:34.002 position_open (XAUUSD,M10) CTrade::OrderSend: market buy 1.00 XAUUSD [invalid volume]
2019.05.20 21:53:34.002 position_open (XAUUSD,M10) PositionOpen() method failed. Return code=10014. Code description: invalid volume
Hi guys, can you tell me how to calculate the commission for open trades in mt5 volume or tell me where there is a ready-made function
Hi guys, can you tell me how to calculate the commission for open trades in mt5 volume or tell me if there is a ready-made function
Or CPositionInf Commission
Or CPositionInf Commission
Hasn't been working for a long time.
Not working for a long time.
I've tried it and your function works fine. Anyway, thanks a lot for your feedback,
I've got it figured out where to get the commission)) I'm new to MT5 so I'm not too keen on it, but I'd better check it if it's not right
i think i got it right