1、通达信选股最全公式1、通达信选股公式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)C AND REF(RSI.RSI1(6,12,24),A3+1)0 OR B20 OR B30;集成了MACD、KDJ、RSI三个指标的底背离;2、老鼠仓AA1:=AMOUNT/VOL;BB1:=L 1.2;DD1:=L MA(
2、C,5)*0.921;EE1:=VOL MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;3、抄底高手M 15 35 30N 12 32 27D 18 50 42VAR1:=(CLOSE-MA(CLOSE,48)/MA(CLOSE,48)*100+M0;VAR2:=(CLOSE-MA(CLOSE,70)/MA(CLOSE,70)*100+N940101 AND (CLOSEOPEN OR CLOSE-0.07 AND (REF(OPEN,1)REF(CLOSE,1) OR REF(OPEN,1)REF(CLOSE,2) OR REF(OPEN,2)REF(
3、CLOSE,3) OR REF(OPEN,3)REF(CLOSE,4) OR REF(OPEN,4)REF(CLOSE,5) OR REF(OPEN,5)REF(CLOSE,5);VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+DREF(VAR6,1) AND REF(VAR6,1)1.8 AND (HIGHLOW) AND (REF(HIGH,1)REF(LOW,1) AND (REF(HIGH,2)REF(LOW,2) AND (REF(HIGH,3)R
4、EF(LOW,3) AND (REF(HIGH,4)REF(LOW,4) AND (REF(HIGH,5)REF(LOW,5);VAR4 OR VAR7;3、短线黑马K 100 140 100VAR1:=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*100CLOSE OR OPEN-0.07 AND(REF(CLOSE,1)REF(OPEN,1) OR REF(CLOSE,1)REF(CLOSE,2
5、) 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)REF(CLOSE,7);VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100-5;VAR9:=(VAR6-VAR7)/VAR7*100CLOSE OR OPE
6、N-0.05 AND(REF(CLOSE,1)REF(OPEN,1) OR REF(CLOSE,1)REF(OPEN,1);VARE:=VARD AND COUNT(VARD,2)=1 ;VAR5 OR VARE;4、逆势操作VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100-8;VAR4:=(VAR1-VAR2)/VAR2*100CLOSE OR OPEN-0.05 AND(REF(CLOSE,1)REF(OPEN,1) OR REF(CLOSE,1)R
7、EF(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)REF(CLOSE,7);VAR6:=(CLOSE-MA(CLOSE,70)/MA(CLOSE,70)*100-23;VAR7:=(INDEXC-LLV(INDEXL,275)/(HHV(INDEXH,275)-LLV(INDEXL,275)*100;VAR8:=SMA(VAR
8、7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9CLOSE OR OPEN0.96 ;(VAR5 OR VARA) ;5、成交量变异率VR买入WVR := SUM(IF(CLOSEOPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0),N)/SUM(IF(CLOSEOPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0),26)*100;VOL变异率VR买入:CROSS(LL,WVR);N 5 100 26 5LL 0 80 70 5;MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);
9、MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100=10;ZH530:=ABS(MA5-MA30)/MA30*100REF(MA5,1);QSXS2:=MA20REF(MA20,1);QSXS3:=MA30REF(MA30,1);DTPL:=MA20MA30 AND MA30MA120;LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)MA5 AND (QSXS1 AND NOT(REF(QSXS1,1) OR CREF(C,3);LYKK:=GJHS AND (ZH52
10、0 OR ZH530) AND LYT;买:LYKK AND NOT(REF(LYKK,1);虚拟成交量昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*2.0;ABS(VVOL)-昨日VOL=0;大于昨日的2.0倍;成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL=0;大于昨日的1.8倍;6、PDI上穿三线选股公式源码:TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1),ABS(LOW-REF(CLOSE,1),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD0 AND HDLD,HD,0),14);DMM:= SUM(IF(LD0 AND LDHD
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1