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;
人:2*九-2*散,COLORRED,LINETHICK1;
平衡线:0,COLORBLUE,LINETHICK0;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。