我及时升级了金字塔2.99版。
测试单策略出现问题,昨天在优化参数时出现错误提示,接着金字塔软件被强行退出。
今天重新优化参数时,不同参数其测试数据完全一样没有变化,明显有误,请帮我解决谢谢!
input:m(50,5,200,5);
ct:=time=150000;
KD:=hhvbars(c,50)>LLVBARS(c,50) and c=llv(c,50);
PD:=ct;
KK:=hhvbars(c,50)<LLVBARS(c,50) and c=hhv(c,50);
PK:=ct;
平空:sellshort(pk and holding<0,0,THISCLOSE);
开多:buy(kd and holding=0,asset,NEXTOPEN);
平多:sell(pd and holding>0,0,THISCLOSE);
开空:buyshort(kk and holding=0,asset,NEXTOPEN);