通达信慧雪定乾坤选股指标公式

通达信慧雪金牌WR指标公式

通达信慧雪定乾坤选股指标公式:

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

macd:=2*(DIFF-DEA);

MacD1:=crOSS(DIFF,DEA) AND COUNT(MACD>0,1)=1;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,9,1);

D:=SMA(K,9,1);

J:=3*K-2*D;

kdj1:=CROSS(K,D) AND CROSS(J,D);

均线:=CROSS(MA(C,5),MA(C,10));

量线:=CROSS(MA(V,5),MA(V,10));

SCC:=MACD1 AND kdJ1 AND 均线 AND 量线;

SC1:=MACD1 AND KDJ1;

SC2:=均线 AND 量线;

SC3:=均线 AND MACD1;

SC4:=量线 AND KDJ1;

SC5:=均线 AND KDJ1;

SC6:=MACD1 AND 量线;

SCC OR SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6;

通达信MACD和KDJ金叉共振选股指标公式