You cannot use OrderSend() in the same way as you for for MQL4.
Documentation on MQL5: Trade Functions / OrderSend
- www.mql5.com
[in,out] Pointer to a structure of MqlTradeResult type describing the result of trade operation in case of a successful completion (if true is returned). parameter are filled out correctly. If there are no errors, the server accepts the order for further processing. If the order is successfully accepted by the trade server, the OrderSend...
Yui kmitokawa: PENDING BUYSTOP SELL STOP ORDERS USING MOUSE DROP
Don't SHOUT at us; that is very RUDE.
William Roeder:
Don't SHOUT at us; that is very RUDE.
Don't SHOUT at us; that is very RUDE.
Keith Watford:
thank you keith
You cannot use OrderSend() in the same way as you for for MQL4.
Keith Watford:
i tried with many attempts keith, unable to do it, kindly help.
You cannot use OrderSend() in the same way as you for for MQL4.
Yui kmitokawa:
i tried with many attempts keith, unable to do it, kindly help.
i tried with many attempts keith, unable to do it, kindly help.
It is not easy when you are first trying it.
Study the documentation carefully and post your attempts at coding.
Keith Watford:
yes, i will try my best and will not give up, i am learning from Andrew Young Book for MT5
It is not easy when you are first trying it.
Study the documentation carefully and post your attempts at coding.
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
Hi, i am trying to convert my mt4 codes which i created earlier into mt5, but the problem is i am not so good with mt5, i have the final code of mt5 which i tried my best to convert, with two errors for Ordersend (mt4 command), kindly take a look and let me know what possible solutions is possible,
It is a script file which on drag and drop on the chart produces multiple orders of the same price multiple times using the same price of pair (you can choose number of orders for the following pair)
kindly take a look at my mt4 to mt5 conversion of this script file and please kindly help me with 2 errors of Ordersend - wrong parameter count, as i don't know how to fix it.
Also i am getting implicit conversion of string to numbers, i do know it's wrong coding (or conversion of direct mt5) which is not recomended, it is completely wrong, but if someone really knows it, kindly help me clear the warnings too, as i really like program to be neat and properly coded, and i feel bad about my mt5 codings, please help me to improve ahead.
thank you