通达信变异KDJ指标公式
2021/3/18 18:25:12
本文公式指标的选股公式如下:
变异KDJ之红箭头买选股指标公式
N:=6;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
E:=J-K;
MACD2:(E)*1.2,VOLSTICK;
STICKLINE((MACD2 >= 0),0,MACD2,3,1),COLORRED ;
STICKLINE(((MACD2 >= 0) AND (MACD2 < REF(MACD2,1))),0,MACD2,3,0),COLORRED;
STICKLINE((MACD2 < 0),0,MACD2,3,0),COLORGREEN;
STICKLINE(((MACD2 < 0) AND (MACD2 > REF(MACD2,1))),0,MACD2,3,1),COLORGREEN;
DRAWICON(((((LLV(MACD2,4) > 0) AND (MACD2 < REF(MACD2,1))) AND (REF(MACD2,1) > REF(MACD2,2))) AND (REF(MACD2,2) > REF
(MACD2,3))),MACD2,2);
DRAWICON(((((HHV(MACD2,4) < 0) AND (MACD2 > REF(MACD2,1))) AND (REF(MACD2,1) < REF(MACD2,2))) AND (REF(MACD2,2) < REF
(MACD2,3))),MACD2,1);
K2:K;
D2:D;
J3:J,COLORD9D919,LINETHICK2;
投 股票网 www .tou18.cn
股市公式下载推荐