DIF:=(EMA(CLOSE,6/2)-0.7*EMA(CLOSE,6)-0.3*EMA(CLOSE,12))*100;
DEA:=EMA(DIF,5),COLOR1E67FF,LINETHICK2;
MACD:=(DIF-DEA)*2,COLORSTICK;
A:=MACD;
KDIF:=3*(DIF-DEA);
KDEA:=SMA(KDIF,4,2);
量价时空:=2*(KDIF-KDEA),COLOR15FFFF;
STICKLINE(A REF(A,1) AND A =0,0,A,1.4,0),COLOR000088;
STICKLINE(A REF(A,1) AND A =0,0,A,1,0),COLOR0000AA;
STICKLINE(A REF(A,1) AND A =0,0,A,0.6,0),COLOR0000CC;
STICKLINE(A REF(A,1) AND A =0,0,A,0.15,0),COLOR0000EE;
STICKLINE(A REF(A,1) AND A 0,0,A,1.4,0),COLOR0099FF;
STICKLINE(A REF(A,1) AND A 0,0,A,1,0),COLOR00BBFF;
STICKLINE(A REF(A,1) AND A 0,0,A,0.6,0),COLOR00DDFF;
STICKLINE(A REF(A,1) AND A 0,0,A,0.15,0),COLOR00FFFF;
STICKLINE(A REF(A,1)AND A 0,0,A,1.4,0),COLOR008800;
STICKLINE(A REF(A,1)AND A 0,0,A,1,0),COLOR00AA00;
STICKLINE(A REF(A,1)AND A 0,0,A,0.6,0),COLOR00CC00;
STICKLINE(A REF(A,1)AND A 0,0,A,0.15,0),COLOR00EE00;
STICKLINE(A =REF(A,1) AND A =0,0,A,1.4,0),COLORFF0099;
STICKLINE(A =REF(A,1) AND A =0,0,A,1,0),COLORFF00BB;
STICKLINE(A =REF(A,1) AND A =0,0,A,0.6,0),COLORFF00DD;
STICKLINE(A =REF(A,1) AND A =0,0,A,0.15,0),COLORFF00FF;
九:SMA(A,3,1),COLOR0044FF,LINETHICK1;
散:SMA(九,3,1),COLOR00AAFF,LINETHICK1;