通达信铁扇公主选股指标公式

通达信关键价位主图指标公式

通达信铁扇公主选股指标公式:

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

DEA:=EMA(DIF,9);

macd1:=(DIF-DEA)*2;

LC:=REF(CLOSE,1);

rsi1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

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

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

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

J:=3*K-2*D;

XG:crOSS(J,D) AND COUNT(CROSS(DIF,DEA),5)>0 AND COUNT(CROSS(RSI1,RSI2) AND RSI2>REF(RSI2,1),5)>0 AND

MacD1>REF(MACD1,1) AND count(MACD1>0,2)=2;

通达信精确底选股指标公式