箱体突破2X:=(C-LLV(LOW,9))/(HHV(H,9)-LLV(LOW,9))*100;
箱体突破3X:=SMA(箱体突破2X,4,1);
箱体突破4X:=SMA(箱体突破3X,2,1);
箱体突破5X:=SMA(箱体突破4X,2,1);
箱体突破7:=CROSS(箱体突破4X,箱体突破5X) AND 箱体突破4X< 35;
箱体突破8:=箱体突破7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
K线突破1:=(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36))*100;
K线突破2:=SMA(K线突破1,3,1);
K线突破3:=SMA(K线突破2,3,1);
K线突破4:=SMA(K线突破3,3,1);
K线突破6:=CROSS(K线突破3,K线突破4) AND K线突破3< 25;
K线突破7:=K线突破6 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
HAN:=1;
箱体突破2:=(C-LLV(LOW,18))/(HHV(H,18)-LLV(LOW,18))*100;
箱体突破3:=SMA(箱体突破2,5,1);
箱体突破4:=SMA(箱体突破3,3,1);
箱体突破5:=SMA(箱体突破4,3,1);
箱体突破7M:=CROSS(箱体突破4,箱体突破5) AND 箱体突破4< 35;
箱体突破8M:=箱体突破7M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
K线突破1M:=(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36))*100;
K线突破2M:=SMA(K线突破1M,3,1);
K线突破3M:=SMA(K线突破2M,3,1);
K线突破4M:=SMA(K线突破3M,3,1);
K线突破6M:=CROSS(K线突破3M,K线突破4M) AND K线突破3M< 25;
K线突破7M:=K线突破6M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
牛共振M:=STICKLINE(箱体突破8M OR K线突破7M,-2,25,4,0);
牛共振MM:=STICKLINE(箱体突破8 OR K线突破7,0,20,6,0)*HAN;
MHY:=STICKLINE(牛共振M AND 牛共振MM,0,20,6,0)*HAN;
短线强:FILTER(MHY,15);