程序化指标公式
问答中心

通达信红柱上涨副图指标公式

通达信指标 2019-11-21阅读量:3315

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

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

LL:=26;
S:=12;
M:=9;
DIFF :=( EMA(CLOSE,S) - EMA(CLOSE,LL))*100;
DEA :=EMA(DIFF,M);
MACD :=2*(DIFF-DEA);
绿柱消失阳根起:IF(DIFF<0,DIFF,0),STICK,LINETHICK7,COLOR00FF00;
0,STICK,LINETHICK1,COLOR000000;
红柱上涨:IF(DIFF>=0,DIFF,0),STICK,LINETHICK7,COLORRED;
IF(DEA>=0,DEA,0),STICK,LINETHICK7,COLORMAGENTA;
IF(DEA<0,DEA,0),STICK,LINETHICK7,COLORYELLOW;
绿柱跌:IF(DIFF<0,DIFF,0),STICK,LINETHICK7,COLORGREEN;
卖出:=IF(DIFF>=0 AND DEA>=DIFF AND REF(DIFF,1)>REF(DEA,1),-20,0),COLORWHITE;
IF(DIFF>=0 AND DEA>=DIFF AND REF(DIFF,1)>REF(DEA,1),-20,0),STICK,LINETHICK5,COLORGREEN;0,STICK,LINETHICK2,COLORWHITE;
买入:=IF(DIFF<=0 AND DEA<=DIFF AND REF(DIFF,1)<REF(DEA,1),0,20),COLORRED;
IF(DIFF<=0 AND DEA<=DIFF AND REF(DIFF,1)<REF(DEA,1),20,0),STICK,LINETHICK5,COLOR00FF00,COLORRED;0,STICK,LINETHICK2,COLOR00FF00,COLORRED;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
逃跑线: 80,COLORYELLOW;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
生命线: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),LINETHICK2,COLORCYAN;
魔鬼线: EMA(生命线,3),LINETHICK1,COLORYELLOW,;
低吸: 20;{更多指标关注微信公众号:程序化指标}
强弱分界: 50,LINETHICK1,COLORRED;
VAR4:=IF(CROSS(生命线,魔鬼线),40,14);
VAR5:=IF(CROSS(魔鬼线,生命线),25,78);
DRAWTEXT(ISLASTBAR,-40,'绿柱跌'),COLORWHITE;
DRAWTEXT(ISLASTBAR,40,'红柱涨'),COLORWHITE;

版权声明

所有指标均为免费分享。

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

分享:

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

程序化指标公众号

左边广告一

关闭

右边广告二

关闭