通达信:EMA(CLOSE,6),COLOR00FF00;
主力控盘:EMA(CLOSE,25),COLORRED ;
指标公式源码:MA(CLOSE,20) + 2*STD(CLOSE,55), LINETHICK2 , COLORFF9933;
副图:MA(CLOSE,20) - 2*STD(CLOSE,55) ,LINETHICK2 , COLOR77AAFF;
dddss1:=EMA(C,2);{通达信公式-通达信指标www.gs6699.com}
dddss2:=EMA(SLOPE(C,21)*20+C,42);
dddss3:=CROSS(dddss1,dddss2);
dddss5:=CROSS(dddss2,dddss1);
DRAWTEXT(dddss3,LOW*0.996,'B'),COLORYELLOW,LINETHICK3;
DRAWTEXT(dddss5,HIGH*1.028,'S'),COLOR00FF00,LINETHICK3;
STICKLINE(dddss1>=dddss2,LOW,HIGH,1,0),COLORRED;
STICKLINE(dddss1>=dddss2,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(dddss1>=dddss2,CLOSE,OPEN,4,0),COLOR0000CC;
STICKLINE(dddss1>=dddss2,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(dddss1>=dddss2,CLOSE,OPEN,2,0),COLOR0000EE;
STICKLINE(dddss1<dddss2,CLOSE,OPEN,4.5,0),COLORAAAA00;
STICKLINE(dddss1<dddss2,CLOSE,OPEN,4,0),COLORBBBB00;
STICKLINE(dddss1<dddss2,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE(dddss1<dddss2,CLOSE,OPEN,2,0),COLOREEEE00;
STICKLINE(dddss1<dddss2,LOW,HIGH,1,0),COLORFFFF00;