Hello
Are this sentences right?:
OrderSend(Symbol(),OP_SELL,Lots,Bid,Slippage,Ask+StopLoss*Point,Bid-TakeProfit*Point, Comments+" Sell",Magic,0,Red);
OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,Bid-StopLoss*Point,Ask+TakeProfit*Point, Comments+" Buy",Magic,0,Lime);
EA try to open trade but at 0 , SL and TP are right
This is jourmal message:
2013.07.29 07:55:02 '91498372': order buy 0.10 EURUSD opening at 0.00000 sl: 1.32857 tp: 1.32919 failed [Trade is disabled]
Everything is allowed to trade, it looks like is mt4 platform doesn't allow to trade.
Any help is apreciated, thanks
Are this sentences right?:
OrderSend(Symbol(),OP_SELL,Lots,Bid,Slippage,Ask+StopLoss*Point,Bid-TakeProfit*Point, Comments+" Sell",Magic,0,Red);
OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,Bid-StopLoss*Point,Ask+TakeProfit*Point, Comments+" Buy",Magic,0,Lime);
EA try to open trade but at 0 , SL and TP are right
This is jourmal message:
2013.07.29 07:55:02 '91498372': order buy 0.10 EURUSD opening at 0.00000 sl: 1.32857 tp: 1.32919 failed [Trade is disabled]
Everything is allowed to trade, it looks like is mt4 platform doesn't allow to trade.
Any help is apreciated, thanks