N1:=16;
N2:=26;
N3:=9;
价DIF:EMA(C,N1)-EMA(C,N2);
价DEA:EMA(价DIF,N3);
价macd:(价DIF-价DEA)*2,COLORSTICK;
换手率:=V/CAPITAL*100;
量DIF:EMA(换手率,N1)-EMA(换手率,N2),COLORRED;
量DEA:EMA(量DIF,N3),COLORFF9933;
量MacD:(量DIF-量DEA)*2,LINETHICK0;
STICKLINE(量MACD>0,0,量MACD,0.3,-1),COLORMAGENTA,LINETHICK2;
STICKLINE(量MACD<=0,0,量MACD,0.3,-1),COLORGREEN,LINETHICK2;
STICKLINE(价DIF>价DEA,价DIF,价DEA,0.5,-1),COLORF580F5;
STICKLINE(价DIF<=价DEA,价DIF,价DEA,0.5,-1),COLORCCDD33;
STICKLINE(量DIF>量DEA,量DIF,量DEA,0.5,-1),COLORYELLOW;
STICKLINE(量DIF<=量DEA,量DIF,量DEA,0.5,-1),COLORGRAY;

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