错误、漏洞、问题 - 页 184

 
komposter:
像这样。

不起作用
 

它应该是这样的


 

还应该有一行这样的字。

Input DebugInfoLevel info=DBG_NONE; //TF_01

 
Lizar:

还应该有一行这样的字。

Input DebugInfoLevel info=DBG_NONE; //TF_01

Yay it worked!!!!非常感谢你。
 

开发者叔叔,您能不能在CTrade 类中 修复 SellStop 和 BuyStop 函数?

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,同样的事情。

 
mrProF:

开发者叔叔,您能不能在 CTrade 类中修复 SellStop 和 BuyStop 函数?

BuyStop,同样的事情。

修正了它,它将在下一个版本中出现。谢谢你。
 
xeon:

在更新到构建350(2010年10月28日)之后,测试器停止工作。

附上日志。

笔记本电脑的CPU和内存。

/- Intel seleron M 1.50 GHz 1014 -/

系统 - Windows XP Proff 32

在不同的文件夹中重新安装了所有的东西,仍然无法工作。

如果能看到代理人的日志,也会很有趣。
 
stringo:
如果能看到代理人的日志,也会很有趣。

同样的问题--测试器不工作。按下 "开始 "按钮后,它 "思考 "了几秒钟,加载了数据,但测试甚至没有开始("开始 "按钮再次出现)。

Build 350, XP, Pentium4, in logs:

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:

同样的问题--测试器不工作。按下 "开始 "按钮后,它 "思考 "了几秒钟,加载了数据,但测试甚至没有开始("开始 "按钮再次出现)。

Build 350, XP, Pentium4, in logs:

这些是测试员的日志。代理日志在<测试者数据文件夹>\Agent-127.0.0.1-3000\logs 中。
 
代理人日志是空的
原因: