macd背离和kdj金叉背离合一之选股指标公式

2024-09-29 07:00发布

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA:=EMA(DIFF,8);:=2*(DIFF-DEA);A:=BARSLAST(REF(OSS(DIFF,DEA),1));背:=REF(CLOSE,A+1)>CLOSE AND DIFF>REF(DIFF,A+1) AND CROSS(DIFF,DEA);RSV:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,13)-LLV(LOW,11))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;A1:=BARSLAST(REF(CROSS(J,K),1));底背:=REF(CLOSE,A1+1)>CLOSE AND J>REF(J,A1+1) AND CROSS(J,K);:=IF(SUM(CROSS(K,D)AND D<23>=2 AND CROSS(K,D)AND C>O,1.1,0);XG:背&&底背&&金叉;
 解锁全文需 1  财富值,免费注册即送20财富值!