N:=34;
A:=EMA(AMOUNT/C/1000000,7);
MID :=EMA(A,N);
主力成本线:=MID + 2*STD(A,N);
指标公式:=MID - 2*STD(A,N);{高手指标公式网www.gs6699.com}
通达信:(A-指标公式)/(主力成本线-指标公式)*100,COLORFFFFFF;
xddds1:IF(CROSS(通达信,70),70,50),COLOR00FF00;
xddds2:IF(CROSS(通达信,50),1,0),COLORFF00FF;
xddds3:IF(CROSS(通达信,100),1,0),COLOR0000FF,POINTDOT,LINETHICK0;
xddds4:IF(CROSS(30,通达信),1,0),COLORFFFF00,POINTDOT,LINETHICK0;
100,POINTDOT,COLORFF00FF;
70,COLORFFFFFF;
30,POINTDOT,COLORFFFFFF;
0,POINTDOT,COLORFF6600;
STICKLINE(通达信>70,70,通达信,4,0),COLOR00FFFF;
STICKLINE(通达信>100,100,通达信,4,0),COLOR0000FF;
STICKLINE(通达信<30,30,通达信,4,0),COLORFFFF00;
STICKLINE(通达信<0,0,通达信,4,0),COLOR00FF00;
DRAWTEXT(xddds2,50,''),COLORFF00FF;
DRAWTEXT(xddds3,70, ''),COLOR0000FF;
DRAWTEXT(xddds4,30, ''),COLORFFFF00;