通达信突破30日均线选股公式

通达信打天下公式

TJ1:=(C-REF(C,1))/REF(C,1)*100>=0.1;

VAR1:=LLV(LOW,13);

VAR2:=HHV(HIGH,13);

VAR3:=SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1);

VAR4:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);

AA:=VAR3;

BB:=VAR4;

VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),5,1)*100;

CC:=EMA(VAR5,3);

DD:=MA(C,30)>=REF(MA(C,30),1);

EE:= L<=MA(C,26) AND H>=MA(C,30) ;

mtm:=CLOSE-REF(CLOSE,15);

MAMTM:=MA(MTM,8);

FF:=MAMTM>REF(MAMTM,2);

XG: CC>=REF(CC,2)AND C>O AND TJ1 AND EE AND DD AND FF;

通达信合并趋势顶底公式