Einzelnen Beitrag anzeigen
  #2 (permalink)  
Alt 04.12.15
GoS GoS ist offline
Mitglied
 
Registriert seit: Nov 2015
Beiträge: 73
GoS befindet sich auf einem aufstrebenden Ast
Standard

Ganz auf die schnelle:

PHP-Code:
for(OrdersTotal() - 1>= 0i--)
    if(
OrderSelect(iSELECT_BY_POSMODE_TRADES)) {
        if(
OrderType() == OP_BUYd_sl OrderOpenPrice() - Point 15;
        if(
OrderType() == OP_SELLd_sl OrderOpenPrice() + Point 15;
        if(
OrderStopLoss() == 0.OrderModify(OrderTicket(), OrderOpenPrice(), d_slOrderTakeProfit(), 0); }