Forum

ordersend Help

i have write a EA small code get ordersend error 130 please tell me whta is the wrong with this int BuyOrder1 = OrderSend(Symbol(),OP_BUY,0.01,NormalizeDouble(Ask,2),5,NormalizeDouble(Ask,2)-8*Point,NormalizeDouble(Ask,2)+ 18*Point,"Asanka Buy",16384,0,Green); Alert(GetLastError());