资源描述:
《通达信指标公式合集》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、最后一页附:集合竞价量比选股法。之后结合下边的各类指标进行买卖,相信会有不错的收益。给大家带来帮助不用感谢我,感谢出公式的编程人员吧!跟对主力才有利可图!1.【通达信】主力潜伏(副图)-指标公式源码N:=14;M:=156;TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,N))/(0.15*AVEDEV(TYP,N));DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);主力潜伏中:COUNT(MAC
2、D<0,10)=10,COLORRED,LINETHICK0;STICKLINE(主力潜伏中,0,MACD*30,8,0),COLORRED;100,COLOR1C1C1C;0,COLOR1C1C1C;-100,COLOR1C1C1C;-100,STICK,COLOR1C1C1C;2.【通达信】资金分时监控(主力撤、主力撤、趋势线、准备现金)-指标公式源码V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;主力撤:IF
3、(V4<=0,V4,0),COLORBLUE;主力进:IF(V4>=0,V4,0),COLORFF00FF;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);V
4、A:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),COLORRED;大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN;V11:=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(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现
5、金:STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;AA:=(趋势线<=13)ANDFILTER((趋势线<=13),15);DRAWTEXT(AA,30,'准备现金'),COLORCC9900;买入股票:STICKLINE(趋势线<=13ANDV12>13,0,50,5,0),COLOR0099FF;BB:=(趋势线<=13ANDV12>13)ANDFILTER((趋势线<=13ANDV12>13),10);DRAWTEXT(BB,60,'买入股票'),COLOR0099FF;卖临界:
6、STICKLINE(趋势线>90AND趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:FILTER(趋势线>90AND趋势线[=90ANDV12)ANDFILTER((趋势线>=90ANDV12),10);STICKLINE(大盘资金进场AND趋势线<13,0,30,10,0),COLORRED;STICKLINE(大盘资金撤走A]
7、ND趋势线>90,0,30,10,0),COLORGREEN;STICKLINE(主力进AND趋势线<13,0,40,10,0),COLORFF00FF;STICKLINE(主力撤AND趋势线>90,0,40,10,0),COLORBLUE;3.【通达信】主力资金进入(开始控盘、主力出货、主力吸货)-指标公式源码VAR2:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100);VAR3:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100);VAR4:=(((CL
8、OSE-MA(CLOSE,24))/MA(CLOSE,24))*100);VAR5:=(((VAR2+(2*VAR3))+(3*VAR4))/6);VAR6:=MA(VAR5,3);开始控盘:=STICKLINE((VAR6<=(0-10)),0,(0-20),3.5,0),COLOR00AAFF;STICKLINE((VAR6<