程序化指标公式
问答中心

通达信抄盘线副图指标公式

通达信指标 2019-07-19阅读量:3228

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击  安装指南  步骤操作

NOTEXT成本区:50,COLORYELLOW,LINETHICK1;
NOTEXT获利区:160,COLORGREEN,LINETHICK1;
{程序化指标官方网址 WWW.HONGHAIE.COM}
快:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; 
慢:=SMA(快,3,1); 
AAA:=BARSLAST(CROSS(快,慢))>=4 AND CROSS(慢,快) AND 快>50; 
STICKLINE(AAA,150,160,3,0),COLORGREEN;
RSV0:=(C-LLV(L,12))/(HHV(H,12)-LLV(L,12))*100;
RSV1:=EMA((C-LLV(L,12))/(HHV(H,12)-LLV(L,12))*100,2);
RSV2:=EMA(SMA((C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100,8,1),3);
K:=SMA(RSV0,3,1);
D:=SMA(K,3,1);
N:=K+D;
STICKLINE(N<50,N,50,1,0),COLORRED;
STICKLINE(N>160,N,160,1,0),COLORGREEN;
操盘线:N,COLORMAGENTA;
买:DRAWICON(CROSS(N,50),50,34);
卖:DRAWICON(CROSS(160,N),160,35);
{CCI}
CCIT:=CROSS(CCI(14),-100);
STICKLINE(CCIT AND N<50,60,90,1,0),COLORYELLOW;
STICKLINE(CCIT AND N<50 AND N>REF(N,1),60,70,3,0),COLORMAGENTA;
STICKLINE(CCIT AND N<50 AND CROSS(RSV1,RSV2),80,90,3,0),COLORRED;
STICKLINE(CCIT AND N>50,65,85,2,0),COLORBLUE;
短DIFF1:=EMA(C,3)-EMA(C,6);
短DEA1:=EMA(短DIFF1,4);
短低位金叉:=CROSS(短DIFF1,短DEA1) AND 短DIFF1<-0.1;
短JCCOUNT:=COUNT(CROSS(短DIFF1,短DEA1),BARSLAST(短DEA1>=0));
短二次金叉:=CROSS(短DIFF1,短DEA1) AND 短DEA1<0 AND COUNT(短JCCOUNT=2,21)=1;
短A111:=BARSLAST(REF(CROSS(短DIFF1,短DEA1),1));
短底背离:=REF(C,短A111+1)>C AND 短DIFF1>REF(短DIFF1,短A111+1) AND CROSS(短DIFF1,短DEA1);
DRAWICON(短低位金叉 AND 短二次金叉 AND 短底背离,100,26);
中DIFF1:=EMA(C,6)-EMA(C,13);
中DEA1:=EMA(中DIFF1,5);
中低位金叉:=CROSS(中DIFF1,中DEA1) AND 中DIFF1<-0.1;
中JCCOUNT:=COUNT(CROSS(中DIFF1,中DEA1),BARSLAST(中DEA1>=0));
中二次金叉:=CROSS(中DIFF1,中DEA1) AND 中DEA1<0 AND COUNT(中JCCOUNT=2,21)=1;
中A111:=BARSLAST(REF(CROSS(中DIFF1,中DEA1),1));
中底背离:=REF(C,中A111+1)>CLOSE AND 中DIFF1>REF(中DIFF1,中A111+1) AND CROSS(中DIFF1,中DEA1);
DRAWICON(中低位金叉 AND 中二次金叉 AND 中底背离,120,25);
长DIFF1:=EMA(C,12)-EMA(C,26);
长DEA1:=EMA(长DIFF1,9);
长低位金叉:=CROSS(长DIFF1,长DEA1) AND 长DIFF1<-0.1;
长JCCOUNT:=COUNT(CROSS(长DIFF1,长DEA1),BARSLAST(长DEA1>=0));
长二次金叉:=CROSS(长DIFF1,长DEA1) AND 长DEA1<0 AND COUNT(长JCCOUNT=2,21)=1;
长A111:=BARSLAST(REF(CROSS(长DIFF1,长DEA1),1));
长底背离:=REF(C,长A111+1)>C AND 长DIFF1>REF(长DIFF1,长A111+1) AND CROSS(长DIFF1,长DEA1);
DRAWICON(长低位金叉 AND 长二次金叉 AND 长底背离,140,24);


版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭