MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA54:=MA(CLOSE,54);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
HJ_9:=FILTER(HJ_8,10);
HJ_10:=BArslAst(HJ_9);
HJ_11:=REF(HIGH,HJ_10+2);
HJ_12:=REF(HIGH,HJ_10+1);
HJ_13:=REF(HIGH,HJ_10);
HJ_14:=MAX(HJ_11,HJ_12);
HJ_15:=MAX(HJ_14,HJ_13);
HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
HJ_17:=HJ_10<150;
HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;
HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;
HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
HJ_21:=vol/MA(VOL,5)<3.5;
HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
HJ_25:=HJ_16ANDHJ_17ANDHJ_18ANDHJ_19ANDHJ_20ANDHJ_21ANDHJ_22;
暴利:=FILTER(HJ_25,15);
PL1:=(((CLOSE-MA54)/MA54)<0.1);
PL2:=(((CLOSE-MA10)/MA10)<0.3);
偏离率:=(((PL1=1)AND(PL2=1))*0.2);
平台突破:=((((偏离率=0)AND(REF(偏离率,1)=0.2))AND(REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=(暴利OR妖股突破);
FLIGA:=(VOL/REF(VOL,1)>1.2ANDCOUNT(CLOSE>OPEN,1))OR(LOW>REF(HIGH,1)ANDCOUNT(OPEN>CLOSE,1)ANDVOL/REF(VOL,1)>1.2);
妖股:=XDFANDC/REF(C,1)>1.095ANDFLIGA;
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=ema(VAR6,5);
k线:=EMA(VAR7,5)*2,COLORFF00FF;
D线:=EMA(K线,5),COLORWHITE;
J线:=K线*3-D线*2,COLORYELLOW;
低吸线:=0,LINETHICK2,COLORYELLOW;
XH:=妖股AND(crOSS(J线,K线)ANDCROSS(J线,D线)ANDCROSS(K线,D线))ANDCROSS(J线,低吸线);
牛牛妖股:XH=1;
发布于2022-2-24 10:34 西安