drawtext(count(c>ref(c,1)*1.096,14)>1 and ma(c,5)>ma(c,20) and cross(c,ma(c,5)) or (count(c>ref(c,1)*1.096,13)>1 and open<ma(c,5) and c>ma(c,5) and ma(c,5)>ma(c,20)) {and ma(c,5)>ref(ma(c,5),1)},l*0.98,'追涨'),colorblue;{最后一个colorliblue改一为colorblue就可以了} 20210311
y:=close/ref(close,1)>1.07;x:=vol>ma(vol,5);a1:=y and x;k1:=barslast(l>ref(h,1) and c/o>1.05);k2:=l<ref(h,k1+1) and count(l<ref(h,k1+1),k1)=1;攻击涨停:=if(a1,70,0);浮筹比例:=(winner(c*1.1)-w...
{副图指标}a1:=(dvol/c)/2,nodraw;a2:=sum(if(a1>100 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>100 and close<ref(close,1),a1,0),0);a4:=sum(if(a1<100 and close>ref(close,1),a1,0),0);a5:=...
看看能否满足你的要求,测试通过。{第一组}bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;upr:=bbi+3*std(bbi,10);dwn:=bbi-3*std(bbi,10);震幅:=hhv(h,8)/llv(l,8);st:=(namelike('st')=0 and namelike('*...