You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to open an order, but some arguments like stoploss and takeprofit are not sent with the score due to conversion to double, when the order arrives in MetaTrader it informs that the levels of stop loss or take profit are incorrect.
If possible give me some examples of how to use OrderSend.
Thanks!
The text was updated successfully, but these errors were encountered:
This repo is for both MT4 and MT5, please edit your post and make sure to tell us what you are using.
Please provide a code snippet of what you have tried, and what part is not working.
Error messages?
Re-compile the EA and remove the comment (so to enable debug.
5, Make sure you are able to execute the same trade also in your terminal, to be sure that your broker have not blocked too tight trades.
I'm trying to open an order, but some arguments like stoploss and takeprofit are not sent with the score due to conversion to double, when the order arrives in MetaTrader it informs that the levels of stop loss or take profit are incorrect.
If possible give me some examples of how to use OrderSend.
Thanks!
The text was updated successfully, but these errors were encountered: