VAR2:=7;
VAR3:=13;
VAR4:=14;
VAR5:=6;
VAR6:=14;
VAR7:=MA((2*CLOSE+HIGH+LOW)/4,5);
VAR8:=IF(DATETODAY(DATE)<100000000,1,DRAWNULL);
VAR9:=VAR7*VAR1/100;
VAR10:=VAR7*(200-VAR1)/100;
VAR11:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
VAR12:=DMA(CLOSE,VAR11)*VAR8;
VAR13:=(1+VAR2/100)*VAR12;
VAR14:=(1-VAR2/100)*VAR12;
VAR15:=LOW
VAR17:=EMA((EXPMA(VAR16,3)/EXPMA(VOL,3)+EXPMA(VAR16,6)/EXPMA(VOL,6)+EXPMA(VAR16,12)/EXPMA(VOL,12)+EXPMA(VAR16,24)/EXPMA(VOL,24))/4,VAR3);
VAR18:=IF(DATE<100000000,1,DRAWNULL);
VAR19:=1.06*VAR17;
VAR20:=VAR17*0.94;
VAR21:=EXPMA(CLOSE,9);
VAR22:=EXPMA(VAR21*1.14,5)*VAR8;
VAR23:=EXPMA(VAR21*0.86,5)*VAR8;
VAR24:=LOW
VAR26:=HIGH-REF(HIGH,1);{九毛八公式指标www.9m8.cn 整理}
VAR27:=REF(LOW,1)-LOW;
VAR28:=EXPMEMA(IF(VAR26>0 AND VAR26>VAR27,VAR26,0),VAR4);
VAR29:=EXPMEMA(IF(VAR27>0 AND VAR27>VAR26,VAR27,0),VAR4);
VAR30:=VAR28*100/VAR25;
VAR31:=VAR29*100/VAR25;
VAR32:=EXPMEMA(ABS(VAR31-VAR30)/(VAR31+VAR30)*100,VAR5)*VAR8;
VAR33:=EXPMEMA(VAR32,VAR5)*VAR18;
VAR34:=VAR32>59 AND VAR33>49;
VAR35:=(HIGH+LOW+CLOSE)/3;
VAR36:=(VAR35-MA(VAR35,VAR6))/(0.015*AVEDEV(VAR35,VAR6)*VAR8);
VAR37:=VAR36<(-110) AND VAR36>(-200);
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.01,0,7),COLORYELLOW;
VAR38:=VAR15 AND VAR24 AND VAR34 AND VAR37 AND (CLOSE-OPEN)/OPEN>(-0.06);
VAR39:=FILTER(VAR38,2)*VAR8;
抄底:VAR38 AND VAR39,COLORRED;
STICKLINE(抄底,300,0,4,0),COLOR770077;
STICKLINE(抄底,300,0,3,0),COLOR990099;
STICKLINE(抄底,300,0,2,0),COLORBB00BB;
STICKLINE(抄底,300,0,1,0),COLORWHITE;
STICKLINE(抄底,300,0,0.3,0),COLORMAGENTA;