v6:=close/ref(close,3)>=1.1;v7:=backset(v6,3);买入:=if((v7 and count(v7,3)=1),30,0);去除st:=ex**t(c/ref(c,1)>1.055,60);去除停牌:=dyna**(4)>0;xg:买入 and 去除st and 去除停牌;我自用的去除st和停牌股比你那个好用,所以给你改了。股票公式专家...
{假设阴线幅度>7%,根据需要修改} dyx:=(c-o)/ref(c,1)*100;days:=barslast(dyx);mid:=(ref(c,days)+ref(o,days))/2;欲反包:days>1 and days< 5 and c >mid and count(c>mid,days)=1;
y1:=barslast(=100000);:=(hhv(c,0),y1+1);vv:=(hhv(v,0),y1+1);:=/dyna**(3)<1.05;zt10:=(c,) and v>vv and ;aa1:=barslast(=110000);cc1:=(hhv(c,0),aa1+1);vv1:=ref(hhv(v,0),aa1+1);1:=cc1/dyna**(3)<1...
a1:=ref(close,5)>ref(close,4);a2:=ref(close,4)>ref(close,3);a3:=ref(close,3)>ref(close,2);a4:=ref(close,2)>ref(close,1);a5:=close>ref(high,1) and v>ref(v,1);ret:=a1 and a2 and a3 and...