int start() { int totalorders = OrdersTotal(); for(int i=totalorders-1;i>=0;i--) { OrderSelect(i, SELECT_BY_POS); { if (OrderSymbol()==Symbol()&& OrderType() == OP_BUY ) { OrderModify(OrderTicket(),OrderOpenPrice(),Bid-10*Point,OrderTakeProfit(),0,Green); } if (OrderSymbol()==Symbol()&& OrderType() == OP_SELL ) { OrderModify(OrderTicket(),OrderOpenPrice(),Ask+10*Point,OrderTakeProfit(),0,Green); } } } return; }
Sample
Analysis
Market Information Used:
Indicator Curves created:
Indicators Used:
Custom Indicators Used:
Order Management characteristics:
Checks for the total of open orders
It can change open orders parameters, due to possible stepping strategy
Other Features: