通达信穿越战法,七伤拳公式副图源码

穿越战法,
 七伤拳,黄柱体是切入点

MA7:EMA(CLOSE,7),COLORFFFFFF;

MID:MA(CLOSE,20),COLORYELLOW;

UPPER:MID+2*STD(CLOSE,20),COLORRED,DOTLINE;

LOWER:MID-2*STD(CLOSE,20),COLORGREEN,DOTLINE;

TJ3:=CROSS(MA7,MID);

DRAWICON(TJ3,L*0.98,1),COLORCC9900;

STICKLINE(C/REF(C,1)>1.095,O,C,1.2,0),COLORYELLOW;

七伤拳:=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,COLORYELLOW;