操作语句:
if 空 then
BEGIN
sell(holding>0 ,0,thisclose);
buyshort(holding=0,1,thisclose),IGNORECHECKPRICE;
end
if 多 then
BEGIN
sellshort(holding<0,0,thisclose);
buy(holding=0,1,thisclose),IGNORECHECKPRICE;
end
另外有个很初级的问题咨询下:
为什么 K线图上显示的 多 空 交易连线 的颜色 都是红色啊,怎么设置才能使空单显示绿色?
公式编辑的色彩那里。
嗯,又搞了一个30f 周期上的 系统, 降低了交易次数,提高了胜率,不过盈亏比大幅下降了。 瞎捉摸,估计和低级别的系统一起使用可能会有点帮助。