操作线:MA(C,5) LINETHICK1 DOTLINE;
生命线:MA(C,60) LINETHICK2;
ABC1:=(C*2+H+L)/4*10;
ABC2:=EMA(ABC1,13)-EMA(ABC1,34);
ABC3:=EMA(ABC2,5);
ABC4:=2*(ABC2-ABC3)*5.5;
ABC5:=C>MA(C,60);
主力进:=IF(ABC4>=0,ABC4,0),COLOR7F00FF,LINETHICK3;
主力出:=IF(ABC4<=0,ABC4,0),COLOR66FF00,LINETHICK2;
主力线:=8 COLOR66FF00;
DRAWICON(crOSS(主力进,主力线)AND ABC5,L,9);
STICKLINE(CROSS(主力进,主力线)AND ABC5,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWTEXT(CROSS(主力进,主力线)AND ABC5,L*0.98,' ★买'),COLORMAGENTA;