Fix your code. We can't help without your code.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Alert (ErrAlert);
SellTicket = OrderSend(Symbol(),OP_SELL,LotSize,OpenSellPrice,UseSlippage,SellStopLoss,0,"Sell Order",MagicNumber,0,Green);
ErrAlert = StringConcatenate(Symbol()," SellTicket = ",SellTicket);
Alert (ErrAlert);
Please note that on top of the alert list is the last alert and the ticket number shows -1. Before that it is 0.
With ticket= -1, no more order is taken.
By the way, this problem occurred, I believe, while I had the EA running on the chart and I tried to edit and compiled the edited EA.