通达信自编趋势(源码副图贴图)

A1:MA(C,1),LINETHICK2,COLOR0000FF;
 A5:MA(C,5),LINETHICK1,COLORFFFFFF;
 A10:EMA(MA(C,10),3),LINETHICK2,COLORFFFFFF;
 A20:=MA(C,20),LINETHICK2,COLORFFFF00;
 A60:=MA(C,60),LINETHICK2,COLORFF0000;
 STICKLINE(A5>A10,A5,A10,1,1),COLOR0000FF;
 STICKLINE(A5<=A10,A5,A10,1,1),COLOR00FF00;
 SS:IF(A1<A5,A1,DRAWNULL),LINETHICK2,COLOR00FF00;
 STICKLINE(A1>A5,A1,A5,1,1),COLOR0000FF;
 STICKLINE(A1<=A5,A1,A5,1,0),COLOR00FF00;

买:DRAWICON(CROSS(A1,A5),A5-0.2,1);
卖:DRAWICON(CROSS(A5,A1),A5+0.2,2);