通达信1选股指标(01)
{底背离}
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)
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND 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) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
底背离:B1>0 OR B2>0 OR B3>0;
{集成了MACD、KDJ、RSI三个指标的底背离};
======================================================
{顶天立地 出击选股 三角形符号}
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR21:=SMA(VAR1F,3,1);
趋势:=SMA(VAR21,3,1);
人气:=SMA(趋势,3,1);
出击:CROSS(趋势,人气)AND (趋势<30);
{(趋势<30)修改这个50可选出开始起步的,改为30可选出爆发力更强的};
======================================================
{笑傲江湖}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
JC:=IF(SSS-SSB=2 AND SSS>REF(SSS,1),10,0);
JC=10;
======================================================
{顶天立地 追涨选股}
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR21:=SMA(VAR1F,3,1);
趋势:=SMA(VAR21,3,1);
人气:=SMA(趋势,3,1);
出击:CROSS(趋势,人气)AND (趋势>30)AND (趋势<40);
{(趋势<30)修改这个50可选出开始起步的,改为30可选出爆发力更强的};
======================================================
{追涨买入选股}
空:=EMA(C,5);
均衡:=EMA(空,5);
中轨:=HHV(MA(H,13),13);
选股:FILTER(均衡>REF(均衡,1)AND 中轨REF(C,1),11);
======================================================
{筹码突破选股}
主筹估算:=EMA(WINNER(C)*70,3);
散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
选股:CROSS(主筹估算,散筹估算);
======================================================
{黑马起步选股2}
VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);
选股:CROSS(VAR5,30) OR CROSS(VAR5,35) OR CROSS(VAR5,40);
======================================================
{老鼠仓}
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;
======================================================
{出手就赢1}
RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
CROSS(K,D) AND D<30;
======================================================
{短线之王}
VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
CROSS(VAR1,-87) AND OPEN=1.099*REF(CLOSE,1) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);
======================================================
{套利狐狸}
VAR1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR2:=REF(HIGH,10)/CLOSE>1.35;
V3: (CLOSE-VAR1)/VAR1*100<-30 AND VAR2;
======================================================
{跟庄建仓选股}
VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势:=EMA(VAR3,3)-10;
VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;
买入:FILTER((趋势<=13 AND VAR4>13),10);
======================================================
{先发制人}
VAR1:=COST(10);
VAR2:=REF(INDEXC,1);
VAR3:=SMA(MAX(INDEXC-VAR2,0),6,1)/SMA(ABS(INDEXC-VAR2),6,1)*100;
VAR4:=COUNT(VAR3<20,10)>=3;
VAR5:=(MA(CLOSE,5)-REF(MA(CLOSE,5),1))/REF(MA(CLOSE,5),1)*100;
VAR6:=MA(VAR5,22);
VAR7:=HHV(VAR6,55)<=0.8 AND LLV(VAR6,55)>=-0.8 AND HHV(VAR6,55)-LLV(VAR6,55)<=1.2;
VAR8:=BARSCOUNT(CLOSE)>=89;
VAR9:=VAR7 AND VAR8;
VARA:=COUNT(VAR9,30)>=5;
COUNT(VOL>=3*MA(VOL,30) AND VOL/CAPITAL>=0.04 AND CLOSE/REF(CLOSE,1)>=1.099,3)>0 AND VAR4 AND COUNT(VARA,5)>0 ;
======================================================
{以逸待劳}
VAR1:=COST(10);
VAR2:=REF(CLOSE,7)/MA(REF(CLOSE,7),3)>=1.07 AND REF(CLOSE,7)=HHV(REF(CLOSE,7),3) AND MA(REF(VOL,7),2)/MA(REF(VOL,7),40)>=3 AND MA(REF(VOL,7),2)=HHV(MA(REF(VOL,7),2),3) AND REF(VOL,7)>REF(REF(VOL,7),1) AND REF(CLOSE,7)>REF(REF(CLOSE,7),1);
- 上一篇公式:通达信1选股指标(02)
- 下一篇公式:通达信1选股指标源码08