程序化指标公式
问答中心

通达信牛起步主图指标公式

通达信指标 2020-06-09阅读量:3661

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

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


BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

UP:=BBI + 2.58*STD(BBI,10),COLOR000099,LINETHICK1;

LOOW:=BBI - 2.58*STD(BBI,10),COLOR000099,LINETHICK1;

突破A:=REF(EMA(C,14),1);

A1X:=(EMA(C,10)-突破A)/突破A*100;

M9日:=MA(C,9);DRAWKLINE(H,O,L,C);

基准:=IF(A1X>=0,REF(EMA(C,17),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,17),BARSLAST(CROSS(0,A1X))+1));

校对:=基准<REF(基准,1);DRAWTEXT_FIX(1,0.02,0,0,'☆微信公众号:(程序化指标) ☆'),COLORRED;

上基:IF(A1X>0,REF(EMA(C,17),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORRED,LINETHICK2;

下基:IF(A1X<0,REF(EMA(C,17),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLOR009900,LINETHICK2;

上轨通道1:(1+2/100)*DMA(CLOSE,ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20)), COLORBLUE,LINETHICK1;

下轨通道2:(1-6/100)*DMA(CLOSE,ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20)),COLORGREEN,LINETHICK1;

CXH:=EMA((CLOSE+HIGH+LOW)/3,5);

CXH1:=REF(EMA((CLOSE+HIGH+LOW)/3,5),1);

持股:STICKLINE(CXH>CXH1,CXH,CXH1,4,0),COLOR00FFFF;

进货:=CXH>CXH1 AND REF(CXH,1)<REF(CXH1,1);

DRAWICON(进货,L*0.998,7);

买点四:=上基>0 AND REF(下基,1)>0;

DRAWTEXT(买点四,LOW*0.9967,'买点四'),COLORBLUE;

关注:=买点四 AND (CROSS(C,上轨通道1) OR 进货);

DRAWICON(关注,H*1.001,9);

调整再升:=关注 AND FILTER(关注=1,4);

DRAWTEXT(调整再升,H*1.002,'调整再升'),COLORRED;

飞天一跃:=C>上轨通道1 AND L<下轨通道2;

DRAWTEXT(飞天一跃,H*1.0012,'飞天一跃'),COLORRED;

出货:=CXH<=CXH1 AND REF(CXH,1)>=REF(CXH1,1);

DRAWICON(出货,H*1.001,8);


中位关注:=CROSS(C,上轨通道1) AND C<MA(C,60);

DRAWTEXT(中位关注,L*0.9973,'中关'),COLORYELLOW;

JCCOUNT:=COUNT(CROSS(C,上轨通道1),60);

二次关注:=CROSS(C,上轨通道1) AND COUNT(JCCOUNT=2,60)=1;

DRAWTEXT(二次关注,H*1.009,'二次关注'),COLORRED;

三次关注:=CROSS(C,上轨通道1) AND COUNT(JCCOUNT=3,60)=1;

DRAWTEXT(三次关注,H*1.0012,'三次关注'),COLORMAGENTA;

四次关注:=CROSS(C,上轨通道1) AND COUNT(JCCOUNT=4,60)=1;

DRAWTEXT(四次关注,H*1.0015,'四次关注'),COLORYELLOW;

SSL:=EMA(CLOSE,3);

MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);

MM:=MA(MMV,1);

SA:=(MM*0.995);

SS:=(MA(CLOSE,5));

DD:=(MA(CLOSE,13));

GG:=(MA(CLOSE,21));

牛熊分界线:IF(((SSL>MM)),MM,DRAWNULL),LINETHICK2,COLORFF00FF;

熊线:IF(SSL<MM,SA,DRAWNULL),LINETHICK2,COLORWHITE;

牛启步:=SSL>MM AND REF(SSL<MM,1)>0;

DRAWTEXT(牛启步,H*1.0015,'牛启步');

二次进货:=进货 AND 上基 AND REF(上基,1)>0 AND REF(CXH,1)<REF(CXH1,1)  AND V/REF(V,1)>1.3 AND V/REF(V,1)<3 AND 牛熊分界线>=REF(牛熊分界线,1);{买好股公式网}

DRAWTEXT(二次进货,H*1.001,'二次进货');

阶梯上涨:=上基>0 AND REF(下基,1)>0 AND 牛熊分界线>LLV(牛熊分界线,BARSLAST(关注)) AND SSL>MM;

DRAWTEXT(阶梯上涨,LOW*0.9965,'阶梯上涨'),COLORRED;

收妖:= 调整再升 AND 阶梯上涨;

STICKLINE(收妖,L*0.997,H*1.2,0.1,0),COLORYELLOW;

主升:=FILTER(COUNT(CROSS(EMA(C,3),EMA(EMA(C,5),5)),2)=1 AND COUNT(CROSS(EMA(C,5),EMA(EMA(C,5),5)),2)=1,2)

AND CROSS(EMA(SLOPE(1,1)+C,3),EMA(SLOPE(1,1)+C,7)) AND CLOSE/REF(CLOSE,1)>1.03;

DRAWTEXT(主升,H*1.0013,'主升'),COLORFF00FF;

买入条件:=CROSS(3*SMA(SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100,3,1)-2*SMA(SMA(SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100,3,1),3,1),SMA(SMA(SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100,3,1),3,1)),COLORWHITE;

DRAWTEXT(买入条件,L*0.999,'■'),COLORRED;

二次买入:=买入条件 AND 上基 AND REF(上基,1)>0 AND V/REF(V,1)>1.3 AND V/REF(V,1)<3 AND 牛熊分界线>=REF(牛熊分界线,1);

DRAWTEXT(二次买入,H*1.001,'二次买入'),COLORYELLOW;

DRAWTEXT(CROSS(EMA(C,2), EMA(SLOPE(C,21)*20+C,42)),LOW*0.91,'买票'),COLORRED;

版权声明

所有指标均为免费分享。

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

分享:

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

程序化指标公众号

左边广告一

关闭

右边广告二

关闭