ma7:ema(CLOSE,7),COLORFFFFFF;
MID:MA(CLOSE,20),COLORBLUE;
UPPER:MID+2*STD(CLOSE,20),COLORWHITE,DOTLINE;
LOWER:MID-2*STD(CLOSE,20),COLORCYAN,DOTLINE;
TJ3:=crOSS(MA7,MID);
DRAWICON(TJ3,L*0.98,1),COLORCC9900;
STICKLINE(C/REF(C,1)>1.095,O,C,1.2,0),COLORBLUE;
七伤拳:=REF((C-REF(C,1))/REF(C,1)>0.09,6) AND COUNT((C-REF(C,1))/REF(C,1)>0.09,6+1)=1 AND (HHV(H,6)-REF(C,6))/REF(C,6)*100<25 AND (LLV(L,6)-REF(C,6))/REF(C,6)*100>(5*-1);
DRAWTEXT((七伤拳 = 1),LOW-0.05,'七伤拳'),LINETHICK2,COLORBLUE;