通达信选股指标幅图选股贴图
通达信选股指标幅图选股贴图
去除ST股:=IF(NAMELIKE('S'),0,1);
去除星股:=IF(NAMELIKE('*'),0,1);
去除停牌:=DYNAINFO(4)>1; {通达信:今开大于1}
去除大盘股:=CAPITAL/1000000<15; {流通盘为12亿以下}
去除高价:=DYNAINFO(7)<90; {最新价小于90元}
去新股:=BARSCOUNT(C)>=100 AND REF(C,3) > 0.5;
去ST:=NAMELIKE('ST') AND (C-REF(C,1))/REF(C,1)>=0.048;
条件:=去除ST股 AND 去除星股 AND 去除停牌 AND 去ST AND 去新股;
DIF1:=EMA(CLOSE,6) - EMA(CLOSE,13);
DEA1:=EMA(DIF1,5);
MACD1:=2*(DIF1-DEA1);
MACD2:=EMA(MACD1,3);
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入万:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/10000;
流出万:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/10000;
额万:=流入万+流出万;
{线:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;}
YUWEI:=MA(CLOSE,1)-MA(CLOSE,6);
DIF5:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA5:=EMA(DIF5,9);
MACD5:=DIF5 < DEA5 AND DIF5 >0 ;
DIF:=DIF1,COLOR33FF33;
DEA:=DEA1,COLORYELLOW;
MACD:=MACD1,COLOR0096FF;
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
MMS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
MML:=MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
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;
DIF<1 AND J < 50 AND J > REF(J,1)AND MMS > MML AND CCI > REF(CCI,1) AND (C-REF(C,1))/REF(C,1)<0.05 AND REF(MACD1,1)<REF(MACD2,1) AND REF(MACD1,1)<0 AND MACD1>MACD2 AND MACD1<0 AND YUWEI>0 AND YUWEI>REF(YUWEI,1);
- 上一篇公式:通达信量副图公式 源码
- 下一篇公式:通达信趋势波段助手公式,超级短买选股预警源码