通达信ASR选股指标公式

通达信先机共振指标公式

通达信ASR选股指标公式:

N:=7;P1:=90;

A1:=LLV(LOW,2)=LLV(LOW,0);

B1:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100;

A:=P1+(100-P1)/2;

B:=(100-P1)/2;

CC:=COst(A);

DD:=COST(B);

EE:=(CC-DD)/(CC+DD)*100/2;

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

DEA:=EMA(DIF,9);

macd:=(DIF-DEA)*2;

SR:=MacD>REF(MACD,1) AND MACD<0;

TC1:=HHV(EE,N)=HHV(EE,1) AND BARSCOUNT(CLOSE)>=N;

LC:= REF(CLOSE,1);

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

RE:=RSI1<20;

GG:=LLV(LOW,7)=LLV(LOW,3) AND BARSCOUNT(CLOSE)>=7;

XG:TC1 AND B1<20 AND RE AND GG AND SR OR(crOSS(RSI1,20) AND B1<35);

通达信成交量智能诊断指标公式