MX:=EMA(C,2);MXA:=EMA(SLOPE(C,21)*20+C,42);AA:=A((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED;CC:=(CLOSE/线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=((MA1-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP<=趋势线,TMP,DRAWNULL),LINETHICK2,COLORBLUE;:OSS(MX,MXA),NODRAW;SEL:=CROSS(MXA,MX);DRAWICON(建仓,L-0.1,1);DRAWICON(SEL,H+0.1,2);DRAWTEXT(建仓,L-0.68,'↖建仓')COLORMAGENTA;DRAWTEXT(SEL,H+0.38,'↙'),COLORBLUE;