通达信冲灵剑法选股指标公式

通达信涨停法选股指标公式

通达信冲灵剑法选股指标公式:
VAR1G:=COst(999999);

VAR2G:=EMA(CLOSE,5);

VAR3G:=EMA(CLOSE,10);

VAR4G:=crOSS(VAR2G,VAR3G);

VAR5G:=vol>1.05*MA(VOL,5) AND VOL<5*REF(VOL,1);

VAR6G:=(CLOSE-OPEN)/OPEN;

VAR7G:=(HIGH-CLOSE)/(CLOSE-OPEN);

VAR8G:=(OPEN-LOW)/(CLOSE-OPEN);

VAR9G:=VAR7G<0.8 AND VAR8G<0.8;

VARA2:=VAR6G>0.04;

VARB2:=CROSS(MA(CLOSE,5),MA(CLOSE,10)) OR MA(CLOSE,5)-MA(CLOSE,10)<0 AND Abs(MA(CLOSE,5)-MA(CLOSE,10))/MA(CLOSE,10)<0.02 AND MA(CLOSE,5)-MA(CLOSE,10)>REF(MA(CLOSE,5)-MA(CLOSE,10),1);

VARC2:=VAR4G AND VAR5G AND VAR9G AND VARA2 AND VARB2;

VARD2:=COUNT(VARC2,30);

冲灵剑法:IF(VARC2 AND VARD2=1,80,0),STICK,LINETHICK2,COLORF0F000;

DRAWTEXT(冲灵剑法,70,'冲灵剑法'),COLOR2255FF;

通达信RSI精品指标公式