通达信生命线源码

[复制链接]
查看130 | 回复0 | 2021-8-21 01:33:50 | 显示全部楼层 |阅读模式

以下是通达信生命线源码(无源码的请下载附件导入)

生命线:(EMA(CLOSE,60)+EMA(CLOSE,90))/2,LINETHICK2,COLORCC33FF;
高潮线:EMA(CLOSE,21)-1+EMA(VOL,5)/EMA(VOL,40),COLORGRAY;
道中仙:ZIG(3,19),LINETHICK1,COLORGREEN;

 DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01,'庄'), ,COLORYELLOW;
 DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,'陈'), ,COLORRED;

 Var3:=HHVBARS(ZIG(3, 19)>REF(ZIG(3,19),1) AND REF(ZIG(3,19), 1)< REF(ZIG(3,19), 2),0);

时间之窗:STICKLINE(Var3=2 ,l*0.95,l*0.98,12,0),COLOR0000FF;
 STICKLINE(Var3=4 ,h*1.05,h*1.02,12,0),COLOR9966FF;
 STICKLINE(Var3=7 ,l*0.95,l*0.98,12,0),COLOR00FFFF;
 STICKLINE(Var3=12 ,h*1.05,h*1.02,12,0),COLORFF33FF;
 STICKLINE(Var3=20 ,l*0.95,l*0.98,12,0),COLOR0066FF;
 STICKLINE(Var3=33 ,h*1.05,h*1.02,12,0),COLORFFFF00;
 STICKLINE(Var3=54 ,l*0.95,l*0.98,12,0),COLOR006600;
 STICKLINE(Var3=88 ,h*1.05,h*1.02,12,0),COLOR00FF00;
 STICKLINE(Var3=143 ,l*0.95,l*0.98,12,0),COLORCCFFFF;
 STICKLINE(Var3=232 ,h*1.05,h*1.02,12,0),COLORFF0033;
 STICKLINE(Var3=376 ,l*0.95,l*0.98,12,0),COLORFF9966

本公式有未来函数

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则