MA5:EMA(C,5);
MA13:EMA(C,13);
MA34:EMA(C,34);
MA55:EMA(C,55);
MA120:EMA(C,120);
SXZH1:=MAX(MAX(MAX(MA5,MA13),MA34),MA55)/
MIN(MIN(MIN(MA5,MA13),MA34),MA55)<=1.01
AND MA13>REF(MA13,1) AND MA34>REF(MA34,1) AND MA55>REF(MA55,1);
SXZH2:=MAX(MAX(MA5,MA13),MA34)/
MIN(MIN(MA5,MA13),MA34)<=1.01 AND MA5>REF(MA5,1)
AND MA13>REF(MA13,1) AND MA34>REF(MA34,1);
SXZH3:=MAX(MAX(MA5,MA13),MA120)/
MIN(MIN(MA5,MA13),MA120)<=1.01
AND MA13>REF(MA13,1);
SXZH4:=MAX(MAX(MA13,MA34),MA55)/
MIN(MIN(MA13,MA34),MA55)<=1.01
AND MA13>REF(MA13,1);
SXZH:=SXZH1 OR SXZH2 OR SXZH3 OR SXZH4;
STICKLINE(SXZH,LLV(C,5)*0.998,LLV(C,5)*0.995,50,0),COLORWHITE;
A5:=REF(C,2);
A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;
A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),1,0);
DRAWTEXT(A7>0,H,'卖'),LINETHICK3,COLORGREEN;
A23:=((C + L) + H) / 3;
A24:=EMA(A23,6);
A25:=EMA(A24,5);
A26:=CROSS(A24,A25);
DRAWICON(A26,(LOW /1.005),'买');