MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
{画直线}{DRAWLINE(HIGH =HHV(HIGH,13),HIGH,LOW =LLV(LOW,13),LOW,1),COLORFFFF00;}
{画直线}{DRAWLINE(HIGH =HHV(HIGH,35),HIGH,LOW =LLV(LOW,35),LOW,1),COLORGREEN,LINETHICK2;}
A:=(H+L+C)/3;
K:=SMA(A,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;{www.9m8.cn 九毛八公式指标网}
DRAWBAND((J+D)/2,RGB(255,0,255),D,RGB(0,255,255));
DRAWICON(CROSS(J,D),D -0.1,7);