Questions from Beginners MQL5 MT5 MetaTrader 5 - page 117
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
And without "if"? ...
Hello, I can't understand why the stops aren't showing?
Firstly, initialisation is required:
Secondly, the ability to place sl and tp depends on the market order execution mode set by the broker. Look up how many of these modes there are in the Handbook and check which mode is set by the broker.
Firstly, initialisation is required:
Secondly, the ability to place sl and tp depends on the market order execution mode set by the broker. Look up how many such modes there are in the Handbook and check which mode is set by the broker.
I have zeroed out via ZeroMemory(mrequest);
I don't really understand about the order execution modes, alpari broker, i think everything is standard. Damn nonsense, doesn't want to and that's it. I have already tried to use sl and tp, it shows the current price + sl. I guess it is Ok!
I zeroed out via ZeroMemory(mrequest);
I don't really understand the order execution modes, alpari broker, i think everything is standard. Damn, it's not working, I just don't want to do it. I have already tried to use sl and tp, it shows the current price + sl. I guess it is Ok!
I don't follow Alpari, but I think all the issues with not setting the levels you mentioned were related to Alpari. Try placing your order on the MQ demo account and you will be fine.
About order execution modes. You are using the https://www.mql5.com/ru/docs/trading/ordersend function. Please read carefully this section of the Guide: https://www.mql5.com/ru/docs/constants/structures/mqltraderequest and answer the question for yourself: "how many execution modes are available for market orders". If you can't answer this question, please ask.
The developers have not yet provided the possibility of reflecting in the log messages about the inability to set sl and tp levels in Market Execution and Exchange Execution modes. And there is no need for that. The programmer should determine the mode set by the broker.