HJ_01:=102;
HJ_02:=7;
HJ_03:=13;
HJ_04:=14;
HJ_05:=6;
HJ_06:=14;
HJ_07:=MA((2*CLOSE+HIGH+LOW)/4,5);
HJ_08:=IF(DATETODAY(DATE)<99999999,1,DRAWNULL);
HJ_09:=HJ_07*HJ_01/100;
HJ_010:=HJ_07*(200-HJ_01)/100;
HJ_011:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
HJ_012:=DMA(CLOSE,HJ_011)*HJ_08;
HJ_013:=(1+HJ_02/100)*HJ_012;
HJ_014:=(1-HJ_02/100)*HJ_012;
HJ_015:=LOW<MIN(HJ_010,HJ_014);
HJ_016:=CLOSE*VOL;
HJ_017:=EMA((EXPMA(HJ_016,3)/EXPMA(VOL,3)+EXPMA(HJ_016,6)/EXPMA(VOL,6)+EXPMA(HJ_016,12)/EXPMA(VOL,12)+EXPMA(HJ_016,24)/EXPMA(VOL,24))/4,HJ_03);
HJ_018:=IF(DATE<99999999,1,DRAWNULL);
HJ_019:=1.06*HJ_017;
HJ_020:=HJ_017*0.94;
HJ_021:=EXPMA(CLOSE,9);
HJ_022:=EXPMA(HJ_021*1.14,5)*HJ_08;
HJ_023:=EXPMA(HJ_021*0.86,5)*HJ_08;
HJ_024:=LOW<HJ_023*1.01;
HJ_025:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))*HJ_018),ABS(REF(CLOSE,1)-LOW)),HJ_04);
HJ_026:=HIGH-REF(HIGH,1);
HJ_027:=REF(LOW,1)-LOW;
HJ_028:=EXPMEMA(IF(HJ_026>0 AND HJ_026>HJ_027,HJ_026,0),HJ_04);
HJ_029:=EXPMEMA(IF(HJ_027>0 AND HJ_027>HJ_026,HJ_027,0),HJ_04);
HJ_030:=HJ_028*100/HJ_025;
HJ_031:=HJ_029*100/HJ_025;
HJ_032:=EXPMEMA(ABS(HJ_031-HJ_030)/(HJ_031+HJ_030)*100,HJ_05)*HJ_08;
HJ_033:=EXPMEMA(HJ_032,HJ_05)*HJ_018;
HJ_034:=HJ_032>59 AND HJ_033>49;
HJ_035:=(HIGH+LOW+CLOSE)/3;
HJ_036:=(HJ_035-MA(HJ_035,HJ_06))/(0.015*AVEDEV(HJ_035,HJ_06)*HJ_08);
HJ_037:=HJ_036<(-110) AND HJ_036>(-200);
HJ_038:=HJ_015 AND HJ_024 AND HJ_034 AND HJ_037 AND (CLOSE-OPEN)/OPEN>(-0.06);
HJ_039:=FILTER(HJ_038,2)*HJ_08;
抄底:HJ_038 AND HJ_039,COLORRED;
九毛八公式解读
HJ_01赋值:102 HJ_02赋值:7 HJ_03赋值:13 HJ_04赋值:14 HJ_05赋值:6 HJ_06赋值:14 HJ_07赋值:(2*收盘价+最高价+最低价)/4的5日简单移动平均 HJ_08赋值:如果日期对应的转换天数<99999999,返回1,否则返回无效数 HJ_09赋值:HJ_07*HJ_01/100 HJ_010赋值:HJ_07*(200-HJ_01)/100 HJ_011赋值:(2*收盘价+最高价+最低价)/4-收盘价的20日简单移动平均的绝对值/收盘价的20日简单移动平均 HJ_012赋值:以HJ_011为权重收盘价的动态移动平均*HJ_08 HJ_013赋值:(1+HJ_02/100)*HJ_012 HJ_014赋值:(1-HJ_02/100)*HJ_012 HJ_015赋值:最低价0ANDHJ_026>HJ_027,返回HJ_026,否则返回0的HJ_04日指数平滑移动平均 HJ_029赋值:如果HJ_027>0ANDHJ_027>HJ_026,返回HJ_027,否则返回0的HJ_04日指数平滑移动平均 HJ_030赋值:HJ_028*100/HJ_025 HJ_031赋值:HJ_029*100/HJ_025 HJ_032赋值:HJ_031-HJ_030的绝对值/(HJ_031+HJ_030)*100的HJ_05日指数平滑移动平均*HJ_08 HJ_033赋值:HJ_032的HJ_05日指数平滑移动平均*HJ_018 HJ_034赋值:HJ_032>59 AND HJ_033>49 HJ_035赋值:(最高价+最低价+收盘价)/3 HJ_036赋值:(HJ_035-HJ_035的HJ_06日简单移动平均)/(0.015*HJ_035的HJ_06日平均绝对偏差*HJ_08) HJ_037赋值:HJ_036<(-110) AND HJ_036>(-200) HJ_038赋值:HJ_015 AND HJ_024 AND HJ_034 AND HJ_037 AND (收盘价-开盘价)/开盘价>(-0.06) HJ_039赋值:HJ_038的2日过滤*HJ_08 输出抄底:HJ_038 AND HJ_039,画红色