Can't use Low[1] as stopLoss
Please show the whole code and the log entry.
double stopL = High[2];
int sell = OrderSend(Symbol(),OP_SELL,0.01,Bid,3,Bid+stopL,0.00,"SellMore",0,0,Red);
The order opened has a stoploss value twice the value of High[2]
double stopL = High[2];
int sell = OrderSend(Symbol(),OP_SELL,0.01,Bid,3,Bid+stopL,0.00,"SellMore",0,0,Red);
The order opened has a stoploss value twice the value of High[2]
that is because you are adding the Bid and the stopL together, just use stopL
that is because you are adding the Bid and the stopL together, just use stopL
Thanks Man
When i try to use Low[1] as stopLoss, i get wrong value