公式如下:jc:if(sum(if(macd>0 and cross(macd.dif,macd.dea),1,0),0)-hhv(if(if(cross(macd.dea,0),1,0),sum(if(macd>0 and cross(macd.dif,macd.dea),1,0),0),0),0)=2 and sum(if(macd>0 and cross(macd.dif,...
diff:=ema(close,6)-ema(close,10);dea:=ema(diff,5);macd:=2*(diff-dea);金叉信号1:=cross(close,ma(close,34)) and cross(ma(close,3),ma(close,8));a1:=diff<ref(diff,1) and diff<0;a2:=barslast(a1) and macd...
参数 n 2 100 11 m 2 100 6cv:=close;bbiboll:=(ma(cv,3)+ma(cv,6)+ma(cv,12)+ma(cv,24))/4;upr:=bbiboll+m*std(bbiboll,n);dwn:=bbiboll-m*std(bbiboll,n);xg:c<dwn;
lc:=ref(c,1);涨停:=if(lc*1.1-c<0.01,1,0);hh:=count(涨停,13)>=1;震仓线:=45;操作线:=sma(max(c-lc,0),2,1)/sma(abs(c-lc),2,1)*100;pp:=操作线<震仓线 and ref(操作线,1)>震仓线;a:=sma(l,4,3);xg:cross(操作线,10) && hh>0...