程序化指标公式
问答中心

通达信精彩主图指标公式

通达信指标 2020-09-27阅读量:3299

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

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

MA5:=EMA(EMA(C,5),3);
VAR1:=CLOSE-LLV(L,9);
VAR2:=HHV(H,9)-LLV(L,9);
VAR3:=(VAR1+0.00001)/VAR2*100;
VAR4:=EMA(EMA(VAR3,5),5);
VAR5:=EMA((0.668*REF(MA5,1)+0.333*MA5),1);
VAR6:=EMA((0.668*REF(VAR4,1)+0.333*VAR4),1);
VAR7:=IF(VAR4>VAR6,1,-1);
VAR8:=IF(C>MA5 AND MA5>VAR5 AND VAR4>50 AND VAR4>VAR6,1,-1);
STICKLINE(C>O,C,O,-1,0),COLORLIGRAY;
STICKLINE(C>O,L,H,0,0),COLORLIGRAY;
STICKLINE(C<O,C,O,-1,0),COLORWHITE;
STICKLINE(C<O,L,H,0,0),COLORWHITE;
STICKLINE(C=O AND C>REF(C,1),C,O,-1,0),COLORLIGRAY;
STICKLINE(C=O AND C>REF(C,1),L,H,0,0),COLORLIGRAY;
STICKLINE(C=O AND C<REF(C,1),C,O,-1,0),COLORWHITE;
STICKLINE(C=O AND C<REF(C,1),L,H,0,0),COLORWHITE;
STICKLINE(VAR7=1 AND C>O,C,O,-1,0),COLORRED;
STICKLINE(VAR7=1 AND C>O,L,H,0,0),COLORRED;
STICKLINE(VAR7=1 AND C<O,C,O,-1,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C<O,L,H,0,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C=O AND C>REF(C,1),C,O,-1,0),COLORRED;
STICKLINE(VAR7=1 AND C=O AND C>REF(C,1),L,H,0,0),COLORRED;
STICKLINE(VAR7=1 AND C=O AND C<REF(C,1),C,O,-1,0),COLORLIBLUE;
STICKLINE(VAR7=1 AND C=O AND C<REF(C,1),L,H,0,0),COLORLIBLUE;
{需要编写选股关注微信公众号:程序化指标}
STICKLINE(C>MA5 AND MA5>VAR5,C,O,-1,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5,L,H,0,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5,C,O,-1,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5,L,H,0,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5 AND C>REF(C,1),C,O,-1,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5 AND C>REF(C,1),L,H,0,0),COLORRED;
STICKLINE(C>MA5 AND MA5>VAR5 AND C<REF(C,1),C,O,-1,0),COLORC08080;
STICKLINE(C>MA5 AND MA5>VAR5 AND C<REF(C,1),L,H,0,0),COLORC08080;
STICKLINE(VAR8=1 AND C>O,C,O,-1,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C>O,L,H,0,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C<O,C,O,-1,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C<O,L,H,0,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C=O AND C>REF(C,1),C,O,-1,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C=O AND C>REF(C,1),L,H,0,0),COLORMAGENTA;
STICKLINE(VAR8=1 AND C=O AND C<REF(C,1),C,O,-1,0),COLORLIGREEN;
STICKLINE(VAR8=1 AND C=O AND C<REF(C,1),L,H,0,0),COLORLIGREEN;
DRAWBAND(VAR5,RGB(0,205,0),MA5,RGB(205,0,0));


版权声明

所有指标均为免费分享。

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

分享:

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

程序化指标公众号

左边广告一

关闭

右边广告二

关闭