九毛八公式指标
公式模块:
A1:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1);
A2:=macd.DIF>REF(MacD.DIF,1) AND MACD.DEA>REF(MACD.DEA,1) AND MACD.DIF>MACD.DEA;
A3:=kdj.J>REF(kdJ.J,1) AND KDJ.K>REF(KDJ.K,1) AND KDJ.D>REF(KDJ.D,1) AND KDJ.J>KDJ.K AND KDJ.K>KDJ.D;
A4:=MA(V,5)>MA(V,10) AND MA(V,10)>MA(V,30) AND MA(V,5)>REF(MA(V,5),1) AND MA(V,10)>REF(MA(V,10),1) AND MA(V,30)>REF(MA(V,30),1);
多头排列:A1 AND A2 AND A3 AND A4;
DIF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
A1:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1);
A2:=DIF>REF(DIF,1) AND DEA>REF(DEA,1) AND DIF>DEA;
A3:=J>REF(J,1) AND K>REF(K,1) AND D>REF(D,1) AND J>K AND K>D;
A4:=MA(V,5)>MA(V,10) AND MA(V,10)>MA(V,30) AND MA(V,5)>REF(MA(V,5),1) AND MA(V,10)>REF(MA(V,10),1) AND MA(V,30)>REF(MA(V,30),1);
多头排列:A1 AND A2 AND A3 AND A4;