strange ordersend

 

These 2 don't work

OrderSend(Symbol(),OP_BUY,NormalizeDouble(lotstobuy,2),Ask,3,NormalizeDouble(slpoint,4),0);


OrderSend(Symbol(),OP_BUY,lotstobuy,Ask,3,slpoint,0);



this works

OrderSend(Symbol(),OP_BUY,1,Ask,3,0,0);



Could any one tell me whats going on? I would like to put my lotstobuy and slpoint in the the ordersend

thanks very much for helping

 

With an ECN type broker you cannot set the SL and TP when you place a Market order . . you have to do it after the order is placed using OrderModify().

Try this also . . . http://crum.be/ecn

Reason: