MACD量价时空 通达信指标 贴图
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.01,0,28),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.04,0,2),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.08,0,29),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.23,0,30),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.18,0,31),COLORFF75FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.23,0,32),COLORRED;
XA_1:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
XA_2:=SMA(XA_1,13,1);
XQC:SMA(XA_2,5.5,1.5),COLORCYAN;
XQD:3*XA_2-2*XQC,COLORYELLOW;
XQE:4*XQC-3*XA_2,COLORMAGENTA;
XA_3:=EMA(XA_1,3);
XA_4:=EMA(XA_1,5);
XA_5:=EMA(XA_1,7);
STICKLINE(XA_3 XA_4,XA_5,XA_3,2,1),COLORRED;
STICKLINE(XA_3 XA_4,XA_5,XA_3,2,1),COLORGREEN;
XA_6:=XA_4 XA_5 AND XA_3 REF(XA_3,1);
XA_7:=XA_4 XA_5 AND XA_3 REF(XA_3,1);
STICKLINE(XA_6,XA_3,XA_5,2,0),COLORRED;
STICKLINE(XA_7,XA_3,XA_5,2,0),COLORRED;