试试这个: {竞价选} 高开:=o/ref(c,1)>1.005 and o/ref(c,1);成交1档:=capital/1000000<0.3 and v>600;成交2档:=capital/1000000>=0.3 and capital/1000000<0.6 and v>800;成交3档:=capital/1000000>=0.6 and cap...
xg:ref(c<o and h/l>1.03,1)and c>o and c/ref(c,1)-1>ref(h/l-1,1)*0.5 and macd.macd(count(ma(c,10)(c,20)and ma(c,20)(c,60),30)=30)and hhv(h,10)/llv(l,10)>1.05;
a:=ref(c,10)/ref(c,11)>1.099;{微调1.099,可改变选股数量,如1.098}b:=ref(l,10)=llv(l,11);d:=hhv(h,11)/llv(l,11)<1.33;e:=c/ref(c,1)>1.01;f:=ref(c,1)/ref(c,2)<1;选股:a and b and d and e and f;{在飞狐股道测试今年的20...
ma5:=ma(c,5);ma10:=ma(c,10);ma20:=ma(c,20);ma30:=ma(c,30);ma60:=ma(c,60);选:ma5>ma10 and ma10>ma20 and ma20>ma30 and ma30>ma60 and ma5>ref(ma5,1) and ma10>ref(ma10,1) and ma20>ref(...
这是你说的意思的指标公式 dif:ema(close,12)-ema(close,26);dea:ema(dif,9);macd:(dif-dea)*2,colorstick;if(dif>ref(dif,1)and dif>dea and dif>0,dif,draw**),colorred,linethick2;if(dif(dif,1)and dif>dea and ...