背离共振之全背离选股指标公式
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,8);
A1:=BArslAst(REF(crOSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
macd底背:=IF(B1>0,50,0) AND L-0.1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A2:=BARSLAST(REF(CROSS(K,D),1));
B2:=REF(C,A2+1)>C AND REF(K,A2+1)<K AND CROSS(K,D);
kdj底背:=IF(B2>0,50,0) AND L-0.25;
LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2);
RSI底背:=IF(B3>0,50,0) AND L-0.4;
全底背:IF(MacD底背 OR kdJ底背 OR RSI底背,50,0)
声明:
本站所有文章文字内容如无特殊说明均为原创编写,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台!指标公式源码来源于网络收集和用户上传,分享目的仅供参考与学习,如需商用,请购买正版,否则后果和损失自行承担。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件 联系我们进行下架处理。指标公式案例截图仅代表过去,依此操作,责任自负。本站不提供技术培训、安装调试、股票推荐等金融服务。