MT4
测试EA中发现的问题,请专业人士解答
回复:0  浏览:369
  • 楼主admin 圈主
  • 2019-05-05 05:52
我在测试EA的挂单问题时,出现以下的信息,想请专业人士解释和帮我解决一下问题
  20:31:07 TestGenerator: unmatched data error (high value 1.55620 at 2012.06.14 22:00 is not reached from the least timeframe, high price 1.55617 mismatches)
  20:31:07 TestGenerator: unmatched data error (volume limit 77 at 2012.07.31 04:30 exceeded)//这个地方是数据超过了的意思吗?
  20:31:07 TestGenerator: unmatched data error (volume limit 77 at 2012.07.31 04:30 exceeded)
  20:31:07 TestGenerator: unmatched data error (volume limit 77 at 2012.07.31 04:30 exceeded)
  20:31:07 TestGenerator: unmatched data error (volume limit 77 at 2012.07.31 04:30 exceeded)
  20:31:07 TestGenerator: unmatched data error (volume limit 77 at 2012.07.31 04:30 exceeded)
  20:31:07 TestGenerator: unmatched data error (volume limit 77 at 2012.07.31 04:30 exceeded)
  20:31:07 TestGenerator: unmatched data error (high value 1.57290 at 2012.07.31 04:30 is not reached from the least timeframe, high price 1.57195 mismatches)
  20:31:07 TestGenerator: unmatched data error (low value 1.57150 at 2012.07.31 04:30 is not reached from the least timeframe, low price 1.57153 mismatches)
  20:31:07 wgcs5 inputs: lots=0.1; profitDot=15; takeprofit=10;
  20:31:07 2012.01.03 00:00  wgcs5 GBPUSD,M15: OrderSend error 130
  20:31:07 2012.01.03 00:00  wgcs5 GBPUSD,M15: open #1 buy 0.10 GBPUSD at 1.55114 tp: 255.00000 ok
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: close #1 buy 0.10 GBPUSD at 1.55114 tp: 255.00000 at price 1.55145
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: alert: 买单交易成功
  20:31:09 2012.01.03 00:40  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 00:40  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 00:40  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 00:40  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 00:40  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 00:40  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 00:40  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 00:40  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 00:40  wgcs5 GBPUSD,M15: OrderSend 失败错误 #4062
  20:31:09 2012.01.03 00:41  wgcs5 GBPUSD,M15: OrderSend error 130
  20:31:09 2012.01.03 00:41  wgcs5 GBPUSD,M15: open #2 buy 0.10 GBPUSD at 1.55133 tp: 255.00000 ok
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: close #2 buy 0.10 GBPUSD at 1.55133 tp: 255.00000 at price 1.55163
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: alert: 买单交易成功
  20:31:09 2012.01.03 01:22  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 01:22  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 01:22  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 01:22  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 01:22  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 01:22  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: OrderSend error 4062
  20:31:09 2012.01.03 01:22  wgcs5: the comment parameter for OrderSend function must be a string
  20:31:09 2012.01.03 01:22  wgcs5 GBPUSD,M15: OrderSend error 4062
  
  我查了一下错误代码ERR_STRING_PARAMETER_EXPECTED        4062        参数应为字符串变量
  我的程序语言是<div class="blockcode"><div id="code_itf"><ol>if( OrderSend(Symbol(), OP_SELLSTOP, lots, OrderClosePrice()-48*Point, 2, 0,OrderClosePrice()-64*Point, Blue)