绝对绝品之牛1选股指标公式

VAR1:=1;

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

VAR3:=LLV(LOW,34);

VAR4:=HHV(HIGH,34);

SK:=EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13)*VAR1,COLORWHITE;

SD:=EMA(SK,2)*VAR1,COLORYELLOW;

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

VAR6:=EMA(VAR5,9);

VAR7:=VAR1*CLOSE*1.236<MA(CLOSE,60);

VAR8:=CLOSE/REF(CLOSE,1)>1.021;

VAR9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;

VARA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;

VARB:=Abs(VAR5-VAR6);

VARC:=stD(CLOSE,90)*10;

VARD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);

VARE:=SLOPE(CLOSE,40);

VARF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);

VAR10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;

VAR11:=VAR1*STD(CLOSE,63)*10;

VAR12:=VAR1*(MA(CLOSE,76)-MA(CLOSE,13)/3);

VAR13:=VAR1*MA((CLOSE-VAR12)/VAR12,1);

VAR14:=MA(CLOSE,5);

VAR15:=MA(CLOSE,10);

VAR16:=MA(CLOSE,20);

VAR17:=MA(CLOSE,30);

VAR18:=MA(CLOSE,60);

VAR19:=MA(CLOSE,150);

VAR1A:=MA(CLOSE,250);

VAR1B:=VAR1*vol/CAPITAL*100;

VAR1C:=(CLOSE-VAR1A)/VAR1A*100;

VAR1D:=(CLOSE/REF(CLOSE,1)-1)*100;

VAR1E:=PWINNER(1,CLOSE);

VAR1F:=IF(VAR1>0.75 AND VAR1<0.901,0.618,1);

VAR20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

VAR21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

VAR22:=VAR1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;

VAR23:=VAR1*MA(CLOSE,250);

VAR24:=MA(CLOSE,125);

牛1:IF(SD>18 AND SK<75 AND crOSS(VAR20,VAR21) AND (VAR22-VAR23)/VAR23<0.161 AND REF(SK,3)<SK AND REF(VAR22,1)<VAR22,95,0);

VAR25:=CLOSE/MA(CLOSE,3)>=1.05 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);