EXP12:=EMA(C,12);
EXP50:=EMA(C,50);
中期方向线:EXP12-EXP50,NODRAW;
DRAWBAND(中期方向线,RGB(160,0,0),0,RGB(0,130,0));
MB:=MA(中期方向线,20),COLORWHITE,DOTLINE;
UPPER:MB+1.91*STD(中期方向线,20),COLORYELLOW;
LOWWER:MB-1.91*STD(中期方向线,20),COLORCYAN;
静极:(UPPER-LOWWER)-LOWWER,COLOR0099FF,NODRAW;
撞击:中期方向线>LOWWER AND REF(中期方向线,1)0,COLORMAGENTA,NODRAW;
DRAWICON(撞击,LOWWER,26);