通达信系统指标公式

MACD买入 MACD买入点条件选股

DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA := EMA(DIFF,M); CROSS(DIFF,DEA);

MACD卖出 MACD卖出条件选股

DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA := EMA(DIFF,M); CROSS(DEA ,DIFF);

+

MTM卖出 MTM卖出条件选股

CROSS(0,MA(CLOSE-REF(CLOSE,N),N1));

RSI买入 RSI买入条件选股

LC:= REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100; CROSS(RSI1,LL);

RSI卖出 RSI卖出条件选股

LC := REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100; CROSS(LL,RSI1);

47

SAR买入 抛物转向买入条件选股

SARTURN(N,STEP,MAXP)=1;

SAR卖出 抛物转向卖出条件选股

SARTURN(N,STEP,MAXP)=-1;

W&R卖出 威廉指标卖出条件选股

WR:=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)); CROSS(M,WR);

PRD 穿透率(大于)

PR:(WINNER(CLOSE)-REF(WINNER(CLOSE),1))>P1*VOL/CAPITAL;

PRX 穿透率(小于)

PR:(WINNER(CLOSE)-REF(WINNER(CLOSE),1))

48

联系客服:779662525#qq.com(#替换为@)