代码测试无结果,请帮忙看一下是什么原因,谢谢 [金字塔]
- 咨询内容:
if (ref(c,1)<j and c>=j and time>t) then
begin
buy(HOLDING=0,4,LIMIT,c);
endif (HOLDING>0 and time>t) then
begin
sell(c-ENTERPRICE>=a*y or ENTERPRICE-c>=a*s,4,LIMIT,c);
endif (ref(c,1)>j and c<=j and time>t) then
begin
buyshort(HOLDING=0,4,limit,c);
endif (HOLDING<0 and time>t) then
begin
sellshort(ENTERPRICE-c>=a*y or c-ENTERPRICE>=a*s,4,limit,c);
end其中,j,t,s,y等都是参数,选择的是CU08,保证金比例15%,手续费0.016%,没有使用平仓条件
- 金字塔客服:
把你的参数设置一并附上。
如果以上指标公式不适用于您常用的行情软件
或者您想改编成选股公式,以便快速选出某种形态个股的话,
相关文章
-
没有相关内容