some problems about tester

 

1. do you meet this situation: when you test an EA for the same time section(2013.11.20-2013.12.4 for example), you test two or three times, but the result is different, 68 orders have been traded in one result and 69 orders have been traded in another result. why? is it related with the mismatched charts errors?

2. when I test EA, I find that sometime the result shows profit is 1000 and modelling quality is 59%, another result shows profit is -200 and modelling quality is 90%. so what does its means when the modelling quality is high or low?

 
同样的问题,在中文版,似乎不需要用英文哈~~
 
1. 这个问题原因可能是,至少我遇到过是因为使用了global 变量,它会在终端中保存4周,呵呵,你需要增加代码判断,在每次测试开始时清除它们。
 
luenbo:
1. 这个问题原因可能是,至少我遇到过是因为使用了global 变量,它会在终端中保存4周,呵呵,你需要增加代码判断,在每次测试开始时清除它们。

是extern 变量有时候会被保存,清空一下就可以;不过很多时候,不保存的,不知道哪里控制,呵呵。

原因: