通達(dá)信選股公式 {MACD、KDJ、RSI 底背離} DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)); A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1)); B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)); 底背離:B1>0 OR B2>0 OR B3>0; {集成了 MACD、KDJ、RSI 三個(gè)指標(biāo)的底背離}; 老鼠倉 AA1:=AMOUNT/VOL; BB1:=L< AA1*0.9; CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2; DD1:=L< MA(C,5)*0.921; EE1:=VOL< MA(V,5)*1.5; 老鼠倉:BB1 AND CC1 AND DD1 AND EE1; 抄底高手 {M 15 35 30 N 12 32 27 D 18 50 42} VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0; VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0; VAR3:=VAR1 AND VAR2; VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND (CLOSE>OPEN OR CLOSE-0.07 REF(OPEN,1)[REF(CLOSE,2) OR (REF(OPEN,3)>REF(CLOSE,3) OR REF (OPEN,3)][
] AND
AND
DATE>940101
AND
(REF(OPEN,1)>REF(CLOSE,1)
OR
REF(OPEN,2)[
] AND
(REF(OPEN,4)>REF(CLOSE,4)
OR
(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)[
] VAR6:=(CLOSE-VAR5)/VAR5*100; VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)[1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5)); VAR4 OR VAR7;]
短線黑馬 {K 100 140 100} VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33); VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100; VAR4:=(VAR1-VAR2)/VAR2*100<-22.3/K*100; VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN-0.07 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)[REF(CLOSE,2) OR REF (OPEN,2)][REF(CLOSE,3) OR REF(OPEN,3)][REF(CLOSE,4) OR REF(OPEN,4)][REF(CLOSE,5) OR REF(OPEN,5) ][REF(CLOSE,6) OR REF(OPEN,6)][REF (CLOSE,7) OR REF(OPEN,7)][CLOSE OR OPEN-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)][
] 逆勢操作 VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32); VAR
|