MQL5 OrderSend Error

 

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

OrderSend(Symbol(),trade.SellLimit,Lots,entry,3,sl,tp,"Gulitsa",0,expiration,Red);
 
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.

Code button in editor