Kandodo Index: Im new to coding, so my line for OrderSend is showing wrong parameter count, what would be the problem and how can i solve it
Is a question about MQL5 or MQL4?
The example code you give is for MQL4, but obviously it will give "wrong parameter count" under MQL5 because OrderSend only has two parameters in MQL5 ...
bool OrderSend( MqlTradeRequest& request, // query structure MqlTradeResult& result // structure of the answer );
In the future, please use the CODE button (Alt-S) when inserting code.
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
Im new to coding, so my line for OrderSend is showing wrong parameter count, what would be the problem and how can i solve it