Errores, fallos, preguntas - página 184

 
komposter:
Así:

no funciona
 

Debería ser así


 

También debería haber una línea como ésta:

input DebugInfoLevel info=DBG_NONE; //TF_01

 
Lizar:

También debería haber una línea como ésta:

input DebugInfoLevel info=DBG_NONE; //TF_01

¡¡¡¡Sí, funcionó !!!! Muchas gracias.
 

Tío desarrolladores, ¿podrían arreglar las funciones SellStop y BuyStop en la clase CTrade?

bool CTrade::SellStop(double volume,double price,const string symbol=NULL,double sl=0.0,double tp=0.0,
                      ENUM_ORDER_TYPE_TIME type_time=ORDER_TIME_GTC,datetime expiration=0,const string comment="")
  {
   string sym;
//--- check symbol
   sym=(symbol==NULL)?Symbol():symbol;
//--- check volume
   if(volume<=0.0)
     {
      m_result.retcode=TRADE_RETCODE_INVALID_VOLUME;
      return(false);
     }
//--- check price
   if(price!=0.0) //   <--------- ААААААААААААААААААААААААААААААААААААА, что это? о_О Замените восклицательный знак на знак равно!
     {
      m_result.retcode=TRADE_RETCODE_INVALID_PRICE;
      return(false);
     }
//--- send "SELL_STOP" order
   return(OrderOpen(sym,ORDER_TYPE_SELL_STOP,volume,0.0,price,sl,tp,type_time,expiration,comment));
  }

BuyStop, lo mismo.

 
mrProF:

Tío desarrolladores, ¿podrían arreglar las funciones SellStop y BuyStop en la clase CTrade?

BuyStop, lo mismo.

Lo he arreglado, estará en la próxima compilación. Gracias.
 
xeon:

Después de actualizar a la compilación 350 (28 de octubre de 2010) el probador dejó de funcionar.

registro adjunto.

La CPU y la memoria del portátil:

/- Intel seleron M 1.50 GHz 1014 -/

sistema - windows xp proff 32

He reinstalado todo en una carpeta diferente, pero sigue sin funcionar.

También sería interesante ver los registros de los agentes.
 
stringo:
También sería interesante ver los registros de los agentes.

El mismo problema: el probador no funciona. Tras pulsar el botón de inicio, "piensa" durante unos segundos, carga los datos, pero la prueba ni siquiera se inicia (vuelve a aparecer el botón de inicio).

Compilación 350, XP, Pentium4, en los registros:

2010.11.01 10:36:37     Core 1  disconnected
2010.11.01 10:36:37     Core 1  USDJPY: history synchronized from 1993.05.11 to 2010.10.29
2010.11.01 10:36:37     Core 1  USDJPY: load 27 bytes of history data to synchronize
2010.11.01 10:36:34     Core 1  USDJPY: symbol synchronized, 2904 bytes of symbol info received
2010.11.01 10:36:34     Core 1  performance: 14
2010.11.01 10:36:34     Core 1  57 Kb of total initialization data received
2010.11.01 10:36:34     Core 1  successfully initialized
2010.11.01 10:36:34     Core 1  initial deposit 10000.00 USD, leverage 1:100
2010.11.01 10:36:34     Core 1  expert file added: Experts\Wave2.ex5. 27205 bytes loaded
2010.11.01 10:36:34     Core 1  76 bytes of selected symbols loaded
2010.11.01 10:36:34     Core 1  7170 bytes of tester parameters loaded
2010.11.01 10:36:34     Core 1  3768 bytes of group info loaded
2010.11.01 10:36:34     Core 1  3124 bytes of account info loaded
2010.11.01 10:36:33     Core 1  common synchronization completed
2010.11.01 10:36:30     Core 1  authorized (agent build 350)
2010.11.01 10:36:30     Tester  USDJPY,H1 (MetaQuotes-Demo): testing of Experts\Wave2.ex5 from 2010.01.01 00:00 to 2010.10.04 00:00 to be started
2010.11.01 10:36:30     Core 1  connected
2010.11.01 10:36:29     Core 1  connecting to 127.0.0.1:3000
2010.11.01 10:36:29     Core 1  agent process started
 
dogada:

El mismo problema: el probador no funciona. Después de pulsar el botón de inicio, "piensa" durante unos segundos, carga los datos, pero la prueba ni siquiera se inicia (el botón de inicio vuelve a aparecer).

Compilación 350, XP, Pentium4, en los registros:

Estos son los registros de los probadores. Los registros del agente se encuentran en la carpeta <Datos de los probadores>\Agent-127.0.0.1-3000\logs
 
el registro del agente está vacío