Iniciado por ;
hi , aquí hay una muestra ea que se abre cuando el precio es de 15 pips por encima del abierto diario extern double TP = 50.0; extern double SL = 50.0; doble Pip; int init () {Pip = punto; if (Dígitos == 3 || Dígitos == 5) Pip = 10 * Punto; regreso; } int start () {if (OrdersTotal () == 0) {int shift = iBarShift (NULL, PERIOD_D1, Time [0]); doble DayOpen = iOpen (NULL, PERIOD_D1, shift); if (Bidgt; DayOpen 15 * Pip) {//un día uno trade bool bTrade = True; if (OrderSelect (OrdersHistoryTotal () - 1, SELECT_BY_POS, MODE_HISTORY)) {datetime thisday = StrToTime (00:00); if (OrderCloseTime () gt; ...