¿Qué está tratando de lograr? Si está intentando generar una salida larga o corta, haga lo siguiente: Código insertado if (OrderType () == OP_BUY) {string side = long; ...}Cita:
Iniciado por ;
Versión para imprimir
¿Qué está tratando de lograr? Si está intentando generar una salida larga o corta, haga lo siguiente: Código insertado if (OrderType () == OP_BUY) {string side = long; ...}Cita:
Iniciado por ;
Ops .... No entiendo esto ... ((Código insertado if (OrderType () == OP_BUY) {string allorder = OrderType (); ObjectCreate (LTradeAll_Label, OBJ_LABEL, 0, 0, 0); ObjectSetText ( LTradeAll_Label, allorder, 10, Arial Bold, White); ObjectSet (LTradeAll_Label, OBJPROP_CORNER, 0); ObjectSet (LTradeAll_Label, OBJPROP_XDISTANCE, 355); ObjectSet (LTradeAll_Label, OBPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPCita:
Iniciado por ;
https://www.forosforex.com/attachments/1530816178.jpg
https://www.forosforex.com/attachments/1530816178.jpg
if (OrderType () == OP_BUY) ...Cita:
Iniciado por ;
De acuerdo. Quiero hacer Indorias largas y cortas, pero ... Sé que, Tipo de orden () 0 = Comprar y 1 = Vender, y ¿cómo puedo seleccionar, por ejemplo, solo comprar órdenes de OrdersHistoryTotal ()? ¿Puede alguien ayudarme?
https://www.forosforex.com/attachments/1530816178.jpgMuchas graciasCita:
Iniciado por ;
https://www.forosforex.com/attachments/1530816178.jpg
¿Y qué?Cita:
Iniciado por ;
No soy Ferru, pero estoy reemplazando tm_ticket = OrderOpenTime (); con la cadena oopentime = TimeToStr (OrderOpenTime ()); entonces tienes que reemplazar el tm_ticket en el objectsettext con oopentime debería hacer el truco
https://www.forosforex.com/attachments/1530816178.jpg
1 Adjunto (s)
https://www.forosforex.com/trading-s...l-edition.html
1 Adjunto (s)
¿Me puedes ayudar con esto?Cita:
Iniciado por ;
https://www.forosforex.com/attachments/1529229016.pngCódigo insertado int ticketTime = OrdersTotal (); cadena tm_ticket;/ArrayResize (o_ticket, ticketOpnp); para (int tmcnt = 0; tmcntlt; ticketTime; tmcnt ) {if (! OrderSelect (tmcnt, SELECT_BY_POS, MODE_TRADES)) continúa; tm_ticket = OrderOpenTime (); cadena Ordertime = Order Time tmcnt; cadena Ydistancetm = 263 (5 * ticketTime) * tmcnt; ObjectCreate (Ordertime, OBJ_LABEL, 0, 0, 0); ObjectSetText (Ordertime, tm_ticket, 10, Arial Bold, White); ObjectSet (Ordertime, OBJPROP_CORNER, 0); ObjectSet (Ordertime, OBJPROP_XDISTANCE, 185); ObjectSet (Ordertime, OBJPROP_YDISTANCE, Ydistancetm); }
https://www.forosforex.com/attachments/1529229016.pngCita:
Iniciado por ;