Thank you for your note.
On each loop the same order is going to submitted, as the signal name remains the same. To have a new order created on each loop, you would need to modify the signalName.
One way you could do this would be to use a for loop, and pass i to the signalName, making it unique on each loop.
for(int i=0; i<3; i++) EnterLongStopMarket(Convert.ToInt32(DefaultQuantity), StopPrice, [B]i.ToString()[/B]+StopPriceToString());
Leave a comment: