Hi,
I'm writing the simplest code I can but I always get error "Invalid price" when tring opening a position !!!
ex:
Code:
if (OrdersTotal() == 1) return;
res=OrderSend(Symbol(),OP_SELL,Lots, Bid,3,Bid+StopLoss*Point,Bid-TakeProfit*Point,"",100,0,Red);
if(res<0)
{
Print("OrderSend SELL failed with error: ",GetLastError());
}
What can be simple than that ???
And always, for all symbols, I get error 129 !!!
Why ???