通达信暗度陈仓选股指标公式

通达信MACD时间周期指标公式

通达信暗度陈仓选股指标公式:

VAR1:=REF(CLOSE,1);

VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(Abs(CLOSE-VAR1),7,1)*100;

VAR3:=SMA(MAX(CLOSE-VAR1,0),13,1)/SMA(ABS(CLOSE-VAR1),13,1)*100;

VAR4:=BArslAst(VAR3<23)<=3 AND crOSS(VAR2,VAR3);

VAR5:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<-12.5;

VAR6:=LLV(LOW,5);

VAR7:=HHV(HIGH,10);

VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4);

VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);

VAR10:=(C-MA(C,90))/MA(C,90)*100;

VAR11:=(COST(11)-CLOSE)/CLOSE>0.15;

明修:=0-(-1)*VAR4 AND VAR5 AND CROSS(VAR8,VAR9) AND VAR8<=25;

栈道:=CROSS(VAR10,-26) AND VAR11;

陈仓:=WINNER(C)*100<10 AND (WINNER(C*1.25)-WINNER(C))*100<20 AND

C/REF(C,1)>1.0138 AND V/REF(V,1)<1;

暗度陈仓:COUNT(明修,3) AND COUNT(栈道,3) AND COUNT(陈仓,3);

通达信趋势成本指标公式