order send appreciate yr help on this
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 );
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)"