XA_1:=102;
XA_2:=7;
XA_3:=13;
XA_4:=14;
XA_5:=6;
XA_6:=14;
XA_7:=MA((2*CLOSE+HIGH+LOW)/4,5);
XA_8:=IF(DATETODAY(DATE) 9890,1,1);
XA_9:=XA_7*XA_1/100;
XA_10:=XA_7*(200-XA_1)/100;
XA_11:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
XA_12:=DMA(CLOSE,XA_11)*XA_8;
XA_13:=(1+XA_2/100)*XA_12;
XA_14:=(1-XA_2/100)*XA_12;
XA_15:=LOW MIN(XA_10,XA_14);
XA_16:=CLOSE*VOL;
XA_17:=EMA((EXPMA(XA_16,3)/EXPMA(VOL,3)+EXPMA(XA_16,6)/EXPMA(VOL,6)+EXPMA(XA_16,12)/EXPMA(VOL,12)+EXPMA(XA_16,24)/EXPMA(VOL,24))/4,XA_3);
XA_18:=IF(DATE 2342.459961*500,1,1);
XA_19:=1.06*XA_17;
XA_20:=XA_17*0.94;
XA_21:=EXPMA(CLOSE,9);
XA_22:=EXPMA(XA_21*1.14,5)*XA_8;
XA_23:=EXPMA(XA_21*0.86,5)*XA_8;
XA_24:=LOW XA_23*1.01;
XA_25:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))*XA_18),ABS(REF(CLOSE,1)-LOW)),XA_4);
XA_26:=HIGH-REF(HIGH,1);
XA_27:=REF(LOW,1)-LOW;
XA_28:=EXPMEMA(IF(XA_26 0 AND XA_26 XA_27,XA_26,0),XA_4);
XA_29:=EXPMEMA(IF(XA_27 0 AND XA_27 XA_26,XA_27,0),XA_4);
XA_30:=XA_28*100/XA_25;
XA_31:=XA_29*100/XA_25;
XA_32:=EXPMEMA(ABS(XA_31-XA_30)/(XA_31+XA_30)*100,XA_5)*XA_8;
XA_33:=EXPMEMA(XA_32,XA_5)*XA_18;
XA_34:=XA_32 59 AND XA_33
XA_35:=(HIGH+LOW+CLOSE)/3;
XA_36:=(XA_35-MA(XA_35,XA_6))/(0.015*AVEDEV(XA_35,XA_6)*XA_8);
XA_37:=XA_36 (-110) AND XA_36 (-200);
XA_38:=XA_15 AND XA_24 AND XA_34 AND XA_37 AND (CLOSE-OPEN)/OPEN (-0.06);
XA_39:=FILTER(XA_38,2)*XA_8;
抄底:XA_38 AND XA_39,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;
D1:=BARSLAST(抄底);{九毛八公式指标网www.9m8.cn}
TJ:=CROSS(MACD.MACD,0) AND COUNT(CROSS(MACD.MACD,0),D1)=1 AND D1
STICKLINE(TJ,300,0,4,0),COLORRED;
STICKLINE(TJ,300,0,3,0),COLORRED;
STICKLINE(TJ,300,0,2,0),COLORRED;
STICKLINE(TJ,300,0,1,0),COLORWHITE;
STICKLINE(TJ,300,0,0.3,0),COLORRED;