通达信KDJMACD色带买卖指标公式
通达信KDJMACD色带买卖指标公式:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE((K>REF(K,1)),30,0,4,0),COLORRED;
STICKLINE((K<REF(K,1)),30,0,4,0),COLORE99800;
DIFF:= EMA(CLOSE,10) - EMA(CLOSE,22);
DEA:=EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
STICKLINE((DIFF>REF(DIFF,1) AND MACD>=REF(MACD,1)),-30,0,4,0),COLORRED;
STICKLINE((MACD<REF(MACD,1)),-30,0,4,0),COLORE99800;
STICKLINE((MACD>REF(MACD,1)AND MACD<0),-30,0,4,0),COLORCF48FF;
分区:IF(CROSS(85,90),10,0),LINETHICK2,COLORFF67FF;
通达信KDJMACD色带买卖指标公式实例图解:
通达信KDJMACD色带买卖指标公式