通达信自用多年自用多年指标公式源码

2016-03-01 21:07:00来源:本站整理浏览:902

突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);
6.横盘是银
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 VAR2:=SMA(VAR1,3,1);
 VAR3:=SMA(VAR2,3,1);
 VAR4:=EMA(CLOSE,12)-EMA(CLOSE,26);
 VAR5:=EMA(VAR4,9);
 VAR6:=2*(VAR4-VAR5);
 COUNT(CROSS(VAR2,VAR3),2)>=1 AND COUNT(CROSS(VAR6,0),5)>=1 AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND
 CLOSE>MA(CLOSE,5);
 {“短线是银”的使用说明:
 此组合选择比较简单,初学者易于掌握,短线有一定可操作性与准确性。但只适合于3天内的短线炒作,不能确定长期趋势。
 选股设置:
2日内KD金叉,5日内MACD金叉,均线5日,10日,20日多头排列,收盘价涨过5日均线。};
7.黑马起步选股1
 VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);
选股:CROSS(VAR5,15) OR CROSS(VAR5,20) OR CROSS(VAR5,25);
 8.起攀选股
{起攀选股}
VAR6:=(2*C+H+L)/4;
 VAR7:=LLV(L,27);
 VAR8:=HHV(H,27);
攀登:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50;
金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3);
起攀:CROSS(攀登,金山) AND C/REF(C,1)>1.02;
 {根据起攀图指标改编,这是精简后的指标};
9.中短波选股
{中短波选股}
HZ:=EMA(CLOSE,13);
短波:=EMA(HZ,1);
中波:=EMA(HZ,26);
均线148天:=EMA(C,148);
成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100;
 HZ2:=EMA(HZ,8);
 CROSS(短波,HZ2);
 {结合中短波主图使用};
10.黑马摇篮之大
{黑马摇篮之大黑马}
SS1:=(LOW+HIGH+CLOSE*2)/4;
 SS2:= MA(SS1,4);
 SS3:=HHV(SS2,10);
 SS4:=MA(SS3,3);
 SS5:=1.25*SS4-0.25*SS3;
 XKKJ:=IF(SS5>SS3,SS3,SS5);
 FF1:=LLV(SS2,10);
 FF2:=MA(FF1,3);
 FF3:=1.25*FF2-0.25*FF1;
 DKKJ:=IF(FF3<FF1,FF1,FF3);
 MA13:=MA(C,13);
 ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
 ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
大黑马:ZDHM OR ZHM;
 11.黑马摇篮之小
{黑马摇篮之小黑马}
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
 D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
 +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
 +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
 REF(A,20))/211;
 D2:=EMA(D1,2);
 D3:=EMA(D2,2);
 K1:=EMA(D3,2);
小黑马:CROSS(D1,K1);
 12.蓄势待发
{蓄势待发}
V0:=EMA(C,5);
 EMA10:=EMA(C,10);
 EMA20:=EMA(C,20);
 EMA30:=EMA(C,30);
 EMA60:=EMA(C,60);
 M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;
 M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;
 M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;
 M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);
 M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);
 T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;
 T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;
 T3:=T1 AND T2 AND CROSS(V0,EMA10);
 T4:=T1 AND T2 AND CROSS(V0,EMA30);
 M4 OR M5 OR T3 OR T4;
 13.四线粘合
{四线粘合}
V0:=EMA(C,5);
 V1:=EMA(C,10);
 V2:=EMA(C,15);
 V3:=EMA(C,30);
 V4:=EMA(C,60);
 M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;
 M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;
 M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;
 M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);
 M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);
 M4 OR M5;
 14.拉升在即
{拉升在即}
ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2);
 M1:=EMA(ABV,12);
 M2:=EMA(ABV,26);
 MTM:=CLOSE-REF(CLOSE,1);
 MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
 MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
 MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
 A:=((VOL)/(CAPITAL))*(100);
 S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));
 Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));
 X:=1;
拉升在即:S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y);
 15.HMYZ黑马易找
VAR1:=MA(CLOSE,5);
 VAR2:=MA(CLOSE,10);
 VAR3:=MA(CLOSE,30);
 VAR4:=MA(CLOSE,60);
 VAR5:=EMA(COST(85),7);
 VAR6:=EMA(COST(15),7);
 VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
 VAR8:=INTPART(VAR7*100)/100;
 VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
 VARA:=INTPART(VAR9*100)/100;
 VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
 VARC:=INTPART(VARB*100)/100;
 VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
 VARE:=EMA(VARD,9);
 VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
 VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;

上一页  [1] [2] [3] [4] [5] [6]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式