通达信种金金叉选股指标公式

通达信脱黄出局指标公式

通达信种金金叉选股指标公式:

VAR1:=1;

VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);

高位:=90,COLORFFFF00;

低位:=20,COLORMAGENTA;

VAR4:=LLV(LOW,5);

VAR5:=HHV(HIGH,4);

C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF;

C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF;

LOWV:=LLV(LOW,9);

HIGHV:=HHV(HIGH,9);

RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

K:=EMA(RSV,3);

D:=MA(K,3);

金叉:=crOSS(K,D);

八日内金叉:=COUNT(金叉,8);

盘子:=CAPITAL/100;

停牌:=(DYNAINFO(4)=0);

去掉:=NOT(停牌);

去除st:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S ST')=0 AND NAMELIKE('S*ST')=0 AND NAMELIKE('S')=0;

虚拟放量: CROSS(C1,C2) AND 盘子<=100000 AND 八日内金叉 AND K<80 AND K>D AND 去掉 AND 去除ST AND C>REF(C,1);

通达信紅进黄持指标公式