DLD_1:=(2*CLOSE+HIGH+LOW)/4;
DLD_2:=LLV(LOW,5);
DLD_3:=HHV(HIGH,5);
DLD_4:=EMA((DLD_1-DLD_2)/(DLD_3-DLD_2)*100,5);
DLD_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
DLD_6:=SMA(DLD_5,3,1);
DLD_7:=SMA(DLD_6,3,1);
DLD_8:=3*DLD_6-2*DLD_7;
DLD_9:=DLD_8<(-10);
DLD_10:=REF(DLD_9,1)=1 AND DLD_9=0;
DLD_11:=OPEN=CLOSE AND CLOSE/REF(CLOSE,1)<0.902;
DLD_12:=MA(DLD_4,2);
DLD_13:=REF(CLOSE,1)/REF(CLOSE,2)<0.95;
DLD_14:=DLD_12<20 AND DLD_13 AND CLOSE>LOW AND OPEN>LOW;
DLD_15:=DLD_10 AND DLD_13 AND OPEN>LOW;
DLD_16:=REF(DLD_14,1)=1 AND REF(DLD_15,1)=0 AND LOW/MA(CLOSE,5)<0.97 AND NOT(COUNT(DLD_11,4)>0) AND LOW<REF(LOW,1);
DLD_18:=C-REF(C,1);
DLD_19:=100*EMA(EMA(DLD_18,6),6)/EMA(EMA(Abs(DLD_18),6),6);
DLD_20:=LLV(DLD_19,2)=LLV(DLD_19,7) AND COUNT(DLD_19<0,2) ANDCROSS(DLD_19,MA(DLD_19,2));
大浪底:DLD_16 AND DLD_20;
九毛八公式解读
DLD_1赋值:(2*收盘价+最高价+最低价)/4 DLD_2赋值:5日内最低价的最低值 DLD_3赋值:5日内最高价的最高值 DLD_4赋值:(DLD_1-DLD_2)/(DLD_3-DLD_2)*100的5日指数移动平均 DLD_5赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100 DLD_6赋值:DLD_5的3日[1日权重]移动平均 DLD_7赋值:DLD_6的3日[1日权重]移动平均 DLD_8赋值:3*DLD_6-2*DLD_7 DLD_9赋值:DLD_8<(-10) DLD_10赋值:1日前的DLD_9=1 AND DLD_9=0 DLD_11赋值:平盘ANDN 收盘价/1日前的收盘价<0.902 DLD_12赋值:DLD_4的2日简单移动平均 DLD_13赋值:1日前的收盘价/2日前的收盘价<0.95 DLD_14赋值:DLD_12<20 AND DLD_13 AND 收盘价>最低价 AND 开盘价>最低价 DLD_15赋值:DLD_10 AND DLD_13 AND 开盘价>最低价 DLD_16赋值:1日前的DLD_14=1 AND 1日前的DLD_15=0 AND 最低价/收盘价的5日简单移动平均<0.97 AND 取反 AND 最低价<1日前的最低价 DLD_18赋值:收盘价-1日前的收盘价 DLD_19赋值:100*DLD_18的6日指数移动平均的6日指数移动平均/DLD_18的绝对值的6日指数移动平均的6日指数移动平均 DLD_20赋值:2日内DLD_19的最低值=7日内DLD_19的最低值 AND 统计2日中满足DLD_19<0的天数 AND DLD_19上穿DLD_19的2日简单移动平均 输出大浪底:DLD_16 AND DLD_20