order send appreciate yr help on this
alcerbo.ac:
could you pls help on checking the right parameters passed to order send function in mql5;
when i try to compile a warning msg appear: "wrong parameters count";
this is my code:"OrderSend(TRADE_ACTION_DEAL,NULL,0.5,ORDER_TYPE_SELL,livelloentrypoint,5,EXPERT_MAGIC)"
That is not valid MQL5 code. Please read the documentation before posting. The OrderSend function in MQL5 only has two parameters:
OrderSend
The OrderSend() function is used for executing trade operations by sending requests to a trade server.
OrderSend The OrderSend() function is used for executing trade operations by sending requests to a trade server. bool OrderSend( MqlTradeRequest& request, // query structure MqlTradeResult& result // structure of the answer );

You are missing trading opportunities:
- Free trading apps
- Free Forex VPS for 24 hours
- 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
could you pls help on checking the right parameters passed to order send function in mql5;
when i try to compile a warning msg appear: "wrong parameters count";
this is my code:"OrderSend(TRADE_ACTION_DEAL,NULL,0.5,ORDER_TYPE_SELL,livelloentrypoint,5,EXPERT_MAGIC)"