以下是同花顺KDJ底背离 RSI底背离 MADC底背离副图指标 源码

diff:=”macd.diff”;
 MADC底背离:(LLV(C,60)=REF(C,1)) AND NOT(LLV(diff,60)=REF(diff,1)) AND diff>REF(diff,1),colorred,linethick0;
 MACD顶背离:(HHV(C,60)=REF(C,1)) AND NOT(HHV(diff,60)=REF(diff,1)) AND diff<REF(diff,1),linethick0,colorred;
 j:=”KDJ.j”(9,3,3);
 KDJ底背离:(LLV(C,60)=REF(C,1)) AND NOT(LLV(J,60)=REF(J,1)) AND J>REF(J,1),linethick0,colorgreen;
 KDJ顶背离:(HHV(C,60)=REF(C,1)) AND NOT(HHV(J,60)=REF(J,1)) AND J<REF(J,1),linethick0,colorgreen;
 RSI:=”RSI.RSI2″;
 RSI底背离:(LLV(C,60)=REF(C,1)) AND NOT(LLV(RSI,60)=REF(RSI,1)) AND RSI>REF(RSI,1),linethick0,colorblue;
 RSI顶背离:(HHV(C,60)=REF(C,1)) AND NOT(HHV(RSI,60)=REF(RSI,1)) AND RSI<REF(RSI,1),linethick0,colorblue;
 STICKLINE(MADC底背离,-3,0,3,0),colorred;
 STICKLINE(KDJ底背离,-2,0,6,0),colorgreen;
 STICKLINE(RSI底背离,-1,0,9,0),colorblue;
 STICKLINE(MACD顶背离,3,0,3,0),colorred;
 STICKLINE(KDJ顶背离,2,0,6,0),colorgreen;
 STICKLINE(RSI顶背离,1,0,9,0),colorblue;

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