VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
VAR3:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100;
VAR4:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),24,1)*100;
VAR5:=50;
VAR6:=80;
VAR7:=IF(NAMELIKE(1),0,1);
VAR8:=IF(NAMELIKE(2),0,1);
VAR9:=DYNAINFO(17)
VAR10:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0);{www.9m8.cn 九毛八公式指标网}
VAR11:=VAR10 =1.5*REF(VOL,1) AND CLOSE OPEN;
VAR12:=VOL/REF(VOL,1)
XG9:IF(CROSS(VAR2,VAR6) AND VAR11 AND VAR7 AND VAR8 AND VAR9,80,0);
X_1:=SUM(IF(CLOSE REF(CLOSE,1),VOL,IF(CLOSE REF(CLOSE,1),0-VOL,0)),0);
X_2:=SUMBARS(VOL,CAPITAL);
X_3:=IF(CLOSE LLV(CLOSE,X_2),1,0-1)*IF(X_1 LLV(X_1,X_2),1,0-1);
X_4:=COUNT(IF(X_3=0-1,1,0)=1,8)
X_5:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/SUM(AMOUNT,13)/AMOUNT/VOL/100/100))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/SUM(AMOUNT,13)/AMOUNT/VOL/100/100)*100 0-18;
X_6:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE 0.009;
X_7:=X_4 AND X_5 AND X_6;
X_8:=OPEN EMA(CLOSE,5) AND CLOSE=HIGH AND CLOSE/OPEN =1.105 AND VOL/CAPITAL =0.019 AND VOL/CAPITAL =0.2;
X_9:=X_8 AND COUNT(X_8,5)=1;
X_10:=MA(CLOSE,3) REF(MA(CLOSE,3),1) AND MA(CLOSE,5) REF(MA(CLOSE,5),1) AND MA(CLOSE,10) REF(MA(CLOSE,10),1) AND VOL/240 REF(VOL,30)*1.2/240*1.5 AND CLOSE LOW*1.059 AND CLOSE REF(MA(CLOSE,3),1) AND REF(CLOSE,1) AND MA(CLOSE,5) REF(MA(CLOSE,5),1) AND MA(CLOSE,10) REF(MA(CLOSE,10),1) AND MA(CLOSE,20) REF(MA(CLOSE,20),1) AND MA(VOL,5) REF(MA(VOL,5),1) AND MA(CLOSE,5)-MA(CLOSE,10) =0.579;
X_11:=FILTER(X_10,5);{www.9m8.cn 九毛八公式指标网}
选股:X_7 OR X_8 AND X_11,STICK,COLORYELLOW;
STICKLINE(CLOSE =OPEN,0,选股,2.8,0),COLORRED;
STICKLINE(CLOSE =OPEN,0,选股,2,0),COLORYELLOW;
STICKLINE(CLOSE =OPEN,0,选股,1.2,0),COLORMAGENTA;
DRAWTEXT(选股,0.9,1),COLORYELLOW;
DRAWTEXT(选股,0.7,2),COLORLIMAGENTA;
DRAWTEXT(选股,0.5,3),COLORYELLOW;
DRAWTEXT(选股,0.3,4),COLORMAGENTA;