DIFF :=(EMA(CLOSE,12)-EMA(CLOSE,26))*100/EMA(CLOSE,26),COLORRED;
DEA :=EMA(DIFF,9),COLORRED,LINETHICK2;
DIF:=IF(DIFF<REF(DIFF,1),DIFF,DRAWNULL),COLORGREEN;
ADEA:=IF(DEA<REF(DEA,1),DEA,DRAWNULL),COLORGREEN,LINETHICK2;
macd:=2*(DIFF-DEA), COLORSTICK,LINETHICK2;
{ _通达信股票指标公式}
RSV:=(CLOSE-LLV(LOW,16))/(HHV(HIGH,16)-LLV(LOW,16))*100;
K:=SMA(RSV,9,1) ;
D:=SMA(K,3,1) ;
J:3*K-2*D,COLORYELLOW;
RSV2:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*110;
短K2:=SMA(RSV2,3,1);
短D2:=SMA(短K2,2,1),COLORWHITE;
短J2:3*短K2-2*短D2,COLORWHITE;
反弹:=(短J2<18 AND ADEA<4)*80,COLORFF33FF;
抢反弹:(crOSS(短J2,反弹))*80,COLORFF33FF,LINETHICK2;
参考MacD卖:(CROSS(102,短J2))*50,COLORFFFF00;
20,POINTDOT,COLORGREEN;
50,POINTDOT,COLORWHITE;
90,POINTDOT,COLORRED;

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