HJ_1:=(CLOSE/REF(CLOSE,1)-1)*100;
HJ_2:=MA(VOL,5);
HJ_3:=MA(VOL,10);
HJ_4:=MA(VOL,20);
HJ_5:=MA(VOL,8);
HJ_6:=MA(VOL,15);
HJ_7:=REF(VOL*0.5,BARSLAST(VOL=HHV(VOL,60)));
HJ_8:=MAX(HJ_2,MAX(HJ_3,MAX(HJ_5,MAX(HJ_6,HJ_4))));
HJ_9:=COUNT(VOL>HJ_8,4)=1 AND VOL>HJ_8 OR CROSS(HJ_2,HJ_3) OR CROSS(HJ_2,HJ_4) OR (COUNT(VOL>HJ_7,5)=1 AND VOL>HJ_7);
HJ_10:=BARSLAST(HJ_9);
HJ_11:=MA(CLOSE,5);
HJ_12:=MA(CLOSE,10);
HJ_13:=MA(CLOSE,20);
HJ_14:=MA(CLOSE,30);
HJ_15:=MA(CLOSE,60);
HJ_16:=MAX(HJ_11,MAX(HJ_12,MAX(HJ_13,MAX(HJ_14,HJ_15))));
HJ_17:=COUNT(CLOSE>HJ_16,6)=1 AND CLOSE>HJ_16;
HJ_18:=BARSLAST(HJ_17);
HJ_19:=MA(REF(HHV(CLOSE,2),1),2);
HJ_20:=COUNT(CLOSE>HJ_19,4)=1 AND CLOSE>HJ_19;
HJ_21:=BARSLAST(HJ_20);
HJ_22:=IF(DATE<1180101,1,DRAWNULL);
短线:HJ_22*(DYNAINFO(4)>0 AND HJ_10<=2 AND HJ_21<=2 AND HJ_1>=3 AND HJ_2>REF(HJ_2,1));
中线:HJ_22*(DYNAINFO(4)>0 AND HJ_10<=3 AND HJ_18<=3 AND HJ_1>=3 AND HJ_2>REF(HJ_2,1));
{-----------------------------------}