程序化指标公式
问答中心

通达信涨跌趋势图指标公式

通达信指标 2020-06-27阅读量:3560

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

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

B:ZIG(3,10),COLORYELLOW;
G:=MA(B,2),COLORRED;
D:=EMA(B,34),COLORGREEN;
J:=EMA(B,144),COLORLIGREEN;
DRAWICON(CROSS(B,G),B-0.1,1);
DRAWICON(CROSS(G,B),G+0.1,2);
F:=100*(C-REF(C,1))/REF(C,1);
JD:=IF(C<REF(O,1) AND F<0,1,0);
S1:=JD;
MR:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
S2:=MR;{更多指标关注微信公众号:程序化指标}
A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
VAR3:=PEAKBARS(3,5,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:=IF(顶>REF(顶,1),1,0),STICK,COLORCYAN, LINETHICK2;
DRAWICON(顶A=1,B,2);
A11:LLV(LOW,144),COLORMAGENTA;
MID:=MA(CLOSE,26);
UPPER:=MID + 2*STD(CLOSE,26),COLORWHITE;
UPPER1:=MID + 1.618*STD(CLOSE,26),COLORRED;
LOWER:=MID - 2*STD(CLOSE,26),COLORYELLOW;
LOWER1:=MID - 1.618*STD(CLOSE,26),COLORGREEN;
DRAWICON(CROSS(B,A11),B,1);
DRAWICON(CROSS(A11,B),B,2);
DRAWTEXT_FIX(1,0.52,0,0,'☆微信公众号:(程序化指标) ☆'),COLORRED;
STICKLINE(CROSS(B,G) AND (A1 AND A2 OR D<0),CONST(HHV(H,0)),CONST(CONST(LLV(L,0))),0,0),COLORLIMAGENTA;
STICKLINE(CROSS(G,B),CONST(HHV(H,0)),CONST(CONST(LLV(L,0))),0,0),COLORCYAN;
STICKLINE(A11<B AND B>REF(B,1),B,A11,0.8,0),COLORRED;
STICKLINE(A11<B AND B<REF(B,1),B,A11,0.8,0),COLORGREEN;
DRAWTEXT((CROSS(B,G) AND (A1 AND A2 OR D<0)) OR CROSS(B,G),A11*0.95,'B'),COLORYELLOW;
STICKLINE(A11>B AND B>REF(B,1),B,A11,0.8,0),COLORRED;
STICKLINE(A11>B AND B<REF(B,1),B,A11,0.8,0),COLORGREEN;

版权声明

所有指标均为免费分享。

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

分享:

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

程序化指标公众号

左边广告一

关闭

右边广告二

关闭