通达信短线王:MA(CLOSE,15)LINETHICK3,COLORMAGENTA;
副图指标公式:MA(CLOSE,20)COLORYELLOW;
ddccs1:MA(CLOSE,25)COLORRED;
ddccs2:MA(CLOSE,30)COLORGREEN;
ddccs3:=C=HHV(C,20);
ddccs4:=BARSLAST(ddccs3);
ddccs5:=(C+H+L+O)/4;
ddccs6:=L+(ddccs5-L)+(C-L);
ddccs7:=L+(C-ddccs5);DRAWKLINE(H,O,L,C);
ddccs8:REF(ddccs6, 1),COLORGREEN,NODRAW;
ddccs9:REF(ddccs7, 1),COLORFF00FF,NODRAW;{通达信公式-通达信指标www.gs6699.com}
STICKLINE(ISLASTBAR AND C>=ddccs8,ddccs8*1.0001,ddccs8*0.9999,15,0),COLOR0000FF;
STICKLINE(ISLASTBAR AND C<ddccs8,ddccs8*1.0001,ddccs8*0.9999,15,0),COLOR00FF00;
STICKLINE(ISLASTBAR AND C>=ddccs9,ddccs9*1.0001,ddccs9*0.9999,15,0),COLORFF00FF;
STICKLINE(ISLASTBAR AND C<ddccs9,ddccs9*1.0001,ddccs9*0.9999,15,0),COLORFF8800;
dddeed1:=(2*CLOSE+LOW+HIGH)/4;
dddeed2:=EMA(dddeed1,40)*0.85;
dddeed3:=EMA(C,12)-EMA(C,13);
DE:=EMA(dddeed3,3);
dddeed4:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
DRAWTEXT(CROSS(DE,dddeed3),H*1.03,'.'),COLOR00FF00;
dddeed7:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
DRAWTEXT(CROSS(dddeed3,DE),L*0.94,'.'),COLORFF33FF;
DRAWTEXT(dddeed7,LOW*0.986,'★'),COLORYELLOW;
STICKLINE(dddeed7,OPEN,CLOSE,1.5,0),COLORYELLOW;