X_1:=REF(LOW,1);
X_2:=SMA(Abs(LOW-X_1),3,1)/Sma(MAX(LOW-X_1,0),3,1)*100;
X_3:=EMA(IF(CLOSE*1.2,X_2*10,X_2/10),3);
X_4:=LLV(LOW,38);
X_5:=HHV(X_3,38);
X_6:=1971101;
X_7:=1971201;
X_8:=IF(DATE>X_6,IF(CLOSE<80,1,0),0);
X_9:=IF(DATE>X_7,1,X_8);
X_10:=IF(X_9=0,1,0);
X_11:=EMA(IF(LOW<=X_4,(X_3+X_5*2)/50,0),3)/258*X_10;
X_12:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_13:=SMA(X_12,13,8);
X_14:=VOL/10000;
X_15:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_16:=IF(CLOSE>OPEN,X_15*(HIGH-LOW),IF(CLOSE<OPEN,X_15*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1)*1.09,VOL,0)))/10000;
X_17:=IF(CLOSE>OPEN,0-X_15*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_15*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1)*0.91,0-VOL,0)))/10000;
X_18:=X_16+X_17;
X_19:=SUM(X_18,5);
X_20:=MA(X_18,1);
X_21:=SMA(SMA(SMA(X_20,2,1),2,1),2,1);
X_22:=REF(X_21,1);
X_23:=SMA(MAX(X_21-X_22,0),7,1)/SMA(ABS(X_21-X_22),7,1)*100;
X_24:=LLV(X_21,35);
X_25:=HHV(X_21,30);
X_26:=EMA((X_21-X_24)/(X_25-X_24)*4,4)*25;
X_27:=X_26;
X_28:=87.5;
X_29:=(X_26-LLV(X_26,4))/(HHV(X_26,4)-LLV(X_26,4))*4*25;
X_30:=EMA(100*(X_21-LLV(X_21,18))/(HHV(X_21,18)-LLV(X_21,18)),3)/4*4*1;
X_31:=(2*CLOSE+HIGH+LOW)/4;
X_32:=LLV(LOW,30);
X_33:=HHV(HIGH,30);
X_34:=IF(X_9!=1,EMA((X_31-X_32)/(X_33-X_32)*100,8),0);
X_35:=EMA(X_34,4);
X_36:=X_21;
X_37:=LLV(X_21,30);
X_38:=HHV(X_21,30);
X_39:=IF(X_9!=1,EMA((X_36-X_37)/(X_38-X_37)*100,8),0);
X_40:=EMA(X_39,4);
X_41:=X_39>50 AND X_39-X_40>0 OR (X_39-X_40>0 AND X_34-X_35>0 AND X_30>MA(X_30,2));
X_42:=X_39<50 AND X_39-X_40<0 OR (X_39-X_40<0 AND X_34-X_35<0 AND X_30<MA(X_30,2));
X_43:=X_21;
X_44:=LLV(X_21,21);
X_45:=HHV(X_21,34);
X_46:=EMA((X_43-X_44)/(X_45-X_44)*100,13);
X_47:=EMA(0.667*REF(X_46,1)+0.333*X_46,2);
X_48:=EMA(0.382*REF(X_46,2)+0.618*X_46,12);
X_49:=IF(X_9=1,0,1);
X_50:=MA((-100)*(HHV(X_21,34)-X_21)/(HHV(X_21,34)-LLV(X_21,34)),19)*X_49;
X_51:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
X_52:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_53:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
X_54:=X_51+100;
X_55:=X_52+100;
X_56:=X_53+100;
X_57:=REF(X_56,1)>85 AND REF(X_55,1)>85 AND REF(X_54,1)>65 ANDCROSS(X_54,X_55);
X_58:=X_56<REF(X_56,1) AND REF(X_56,1)>80 AND (REF(X_55,1)>95 OR REF(X_55,2)>95) AND X_54>60 AND X_55<83.5 AND X_55<X_56 AND X_55<X_54+4;
X_59:=FILTER(X_58,4);
X_60:=X_54<12 AND X_56<8 AND (X_55<7.2 OR REF(X_55,1)<5) AND (X_56>REF(X_56,1) OR X_55>REF(X_55,1)) OR (X_54<8 AND X_56<7 AND X_55<15 AND X_55>REF(X_55,1)) OR (X_54<10 AND X_56<7 AND X_55<1);
X_61:=BArslAST(REF(CROSS(X_39,X_40),1));
X_62:=REF(CLOSE,X_61+1)>CLOSE AND REF(X_39,X_61+1)<X_39 AND CROSS(X_39,X_40) AND X_39<50;
XG:X_62;
九毛八公式解读
X_1赋值:1日前的最低价 X_2赋值:最低价-X_1的绝对值的3日[1日权重]移动平均/最低价-X_1和0的较大值的3日[1日权重]移动平均*100 X_3赋值:如果收盘价*1.2,返回X_2*10,否则返回X_2/10的3日指数移动平均 X_4赋值:38日内最低价的最低值 X_5赋值:38日内X_3的最高值 X_6赋值:1971101 X_7赋值:1971201 X_8赋值:如果日期>X_6,返回如果收盘价<80,返回1,否则返回0,否则返回0 X_9赋值:如果日期>X_7,返回1,否则返回X_8 X_10赋值:如果X_9=0,返回1,否则返回0 X_11赋值:如果最低价<=X_4,返回(X_3+X_5*2)/50,否则返回0的3日指数移动平均/258*X_10 X_12赋值:(收盘价-21日内最低价的最低值)/(21日内最高价的最高值-21日内最低价的最低值)*100 X_13赋值:X_12的13日[8日权重]移动平均 X_14赋值:成交量(手)/10000 X_15赋值:成交量(手)/((最高价-最低价)*2-收盘价-开盘价的绝对值) X_16赋值:如果收阳线,返回X_15*(最高价-最低价),否则返回如果收阴线,返回X_15*(最高价-开盘价+(收盘价-最低价)),否则返回如果收盘价=OPENANDCLOSE>1日前的收盘价*1.09,返回成交量(手),否则返回0/10000 X_17赋值:如果收阳线,返回0-X_15*(最高价-收盘价+(开盘价-最低价)),否则返回如果收阴线,返回0-X_15*(最高价-最低价),否则返回如果收盘价=OPENANDCLOSE<1日前的收盘价*0.91,返回0-成交量(手),否则返回0/10000 X_18赋值:X_16+X_17 X_19赋值:X_18的5日累和 X_20赋值:X_18的1日简单移动平均 X_21赋值:X_20的2日[1日权重]移动平均的2日[1日权重]移动平均的2日[1日权重]移动平均 X_22赋值:1日前的X_21 X_23赋值:X_21-X_22和0的较大值的7日[1日权重]移动平均/X_21-X_22的绝对值的7日[1日权重]移动平均*100 X_24赋值:35日内X_21的最低值 X_25赋值:30日内X_21的最高值 X_26赋值:(X_21-X_24)/(X_25-X_24)*4的4日指数移动平均*25 X_27赋值:X_26 X_28赋值:87.5 X_29赋值:(X_26-4日内X_26的最低值)/(4日内X_26的最高值-4日内X_26的最低值)*4*25 X_30赋值:100*(X_21-18日内X_21的最低值)/(18日内X_21的最高值-18日内X_21的最低值)的3日指数移动平均/4*4*1 X_31赋值:(2*收盘价+最高价+最低价)/4 X_32赋值:30日内最低价的最低值 X_33赋值:30日内最高价的最高值 X_34赋值:如果X_9不等于1,返回(X_31-X_32)/(X_33-X_32)*100的8日指数移动平均,否则返回0 X_35赋值:X_34的4日指数移动平均 X_36赋值:X_21 X_37赋值:30日内X_21的最低值 X_38赋值:30日内X_21的最高值 X_39赋值:如果X_9不等于1,返回(X_36-X_37)/(X_38-X_37)*100的8日指数移动平均,否则返回0 X_40赋值:X_39的4日指数移动平均 X_41赋值:X_39>50 AND X_39-X_40>0 OR (X_39-X_40>0 AND X_34-X_35>0 AND X_30>X_30的2日简单移动平均) X_42赋值:X_39<50 AND X_39-X_40<0 OR (X_39-X_40<0 AND X_34-X_35<0 AND X_3085 AND 1日前的X_55>85 AND 1日前的X_54>65 AND X_54上穿X_55 X_58赋值:X_56<1日前的X_56 AND 1日前的X_56>80 AND (1日前的X_55>95 OR 2日前的X_55>95) AND X_54>60 AND X_55<83.5 AND X_55 1日前的X_56 OR X_55>1日前的X_55) OR (X_54<8 AND X_56<7 AND X_55<15 AND X_55>1日前的X_55) OR (X_54<10 AND X_56<7 AND X_55<1) X_61赋值:上次1日前的X_39上穿X_40距今天数 X_62赋值:X_61+1日前的收盘价>收盘价 AND X_61+1日前的X_39