【 】【通达信】MACD,KDJ,RSI三合一顶底背离指标公式
DIFF:EMA(CLOSE,12) EMA(CLOSE,26); DEA:EMA(DIFF,9); MACD:2*(DIFF-DEA),COLORSTICK; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)C AND REF(KDJ.K(9,3,3),A2+1)C AND REF(RSI.RSI1...
DIFF:EMA(CLOSE,12) EMA(CLOSE,26); DEA:EMA(DIFF,9); MACD:2*(DIFF-DEA),COLORSTICK; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)C AND REF(KDJ.K(9,3,3),A2+1)C AND REF(RSI.RSI1...