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EXPMEMA(HJ_32,HJ_5)*HJ_18;
HJ_34:=HJ_32>59 AND HJ_33>49;
HJ_35:=(HIGH+LOW+CLOSE)/3;
HJ_36:=(HJ_35-MA(HJ_35,HJ_6))/(0.015*AVEDEV(HJ_35,HJ_6)*HJ_8);
HJ_37:=HJ_36<(-110) AND HJ_36>(-200);
HJ_38:=HJ_15 AND HJ_24 AND HJ_34 AND HJ_37 AND (CLOSE-OPEN)/OPEN>(-0.06);
HJ_39:=FILTER(HJ_38,2)*HJ_8;
抄底:HJ_38 AND HJ_39;
九毛八公式解读
HJ_1赋值:102 HJ_2赋值:7 HJ_3赋值:13 HJ_4赋值:14 HJ_5赋值:6 HJ_6赋值:14 HJ_7赋值:(2*收盘价+最高价+最低价)/4的5日简单移动平均 HJ_8赋值:如果日期对应的转换天数<99999999,返回1,否则返回无效数 HJ_9赋值:HJ_7*HJ_1/100 HJ_10赋值:HJ_7*(200-HJ_1)/100 HJ_11赋值:(2*收盘价+最高价+最低价)/4-收盘价的20日简单移动平均的绝对值/收盘价的20日简单移动平均 HJ_12赋值:以HJ_11为权重收盘价的动态移动平均*HJ_8 HJ_13赋值:(1+HJ_2/100)*HJ_12 HJ_14赋值:(1-HJ_2/100)*HJ_12 HJ_15赋值:最低价0ANDHJ_26>HJ_27,返回HJ_26,否则返回0的HJ_4日指数平滑移动平均 HJ_29赋值:如果HJ_27>0ANDHJ_27>HJ_26,返回HJ_27,否则返回0的HJ_4日指数平滑移动平均 HJ_30赋值:HJ_28*100/HJ_25 HJ_31赋值:HJ_29*100/HJ_25 HJ_32赋值:HJ_31-HJ_30的绝对值/(HJ_31+HJ_30)*100的HJ_5日指数平滑移动平均*HJ_8 HJ_33赋值:HJ_32的HJ_5日指数平滑移动平均*HJ_18 HJ_34赋值:HJ_32>59 AND HJ_33>49 HJ_35赋值:(最高价+最低价+收盘价)/3 HJ_36赋值:(HJ_35-HJ_35的HJ_6日简单移动平均)/(0.015*HJ_35的HJ_6日平均绝对偏差*HJ_8) HJ_37赋值:HJ_36<(-110) AND HJ_36>(-200) HJ_38赋值:HJ_15 AND HJ_24 AND HJ_34 AND HJ_37 AND (收盘价-开盘价)/开盘价>(-0.06) HJ_39赋值:HJ_38的2日过滤*HJ_8 输出抄底:HJ_38 AND HJ_39