红蓝波段副图指标 简简单单操作 通达信 源码 测试图

[复制链接]
查看29 | 回复0 | 2022-7-11 09:39:55 | 显示全部楼层 |阅读模式
红蓝波段副图指标 简简单单操作 通达信 源码 测试图

A1:=FORCAST(EMA(CLOSE,5),6);
A2:=FORCAST(EMA(CLOSE,8),6);
A3:=FORCAST(EMA(CLOSE,11),6);
A4:=FORCAST(EMA(CLOSE,14),6);
A5:=FORCAST(EMA(CLOSE,17),6);
B:=((((A1 + A2) + A3) + A4) - (4 * A5));
TOWERC:=EMA(B,2);
STICKLINE((TOWERC < REF(TOWERC,1)),TOWERC,REF(TOWERC,1),2,0),COLORCYAN;
STICKLINE((TOWERC < REF(TOWERC,1)),TOWERC,REF(TOWERC,1),1.5,0),COLOR990000;
STICKLINE((TOWERC < REF(TOWERC,1)),TOWERC,REF(TOWERC,1),0.8,0),COLORCC0000;
STICKLINE((TOWERC < REF(TOWERC,1)),TOWERC,REF(TOWERC,1),0.3,0),COLORFF4400;
STICKLINE((TOWERC < REF(TOWERC,1)),TOWERC,REF(TOWERC,1),2,0),COLORFF8800;
STICKLINE((TOWERC < REF(TOWERC,1)),TOWERC,REF(TOWERC,1),1.5,0),COLORFFCC00;
STICKLINE((TOWERC < REF(TOWERC,1)),TOWERC,REF(TOWERC,1),0.8,0),COLORCYAN;
STICKLINE((TOWERC >= REF(TOWERC,1)),TOWERC,REF(TOWERC,1),3,0),COLOR000045;
STICKLINE((TOWERC >= REF(TOWERC,1)),TOWERC,REF(TOWERC,1),2.5,0),COLOR000065;
STICKLINE((TOWERC >= REF(TOWERC,1)),TOWERC,REF(TOWERC,1),2,0),COLOR000085;
STICKLINE((TOWERC >= REF(TOWERC,1)),TOWERC,REF(TOWERC,1),1.5,0),COLOR0000A5;
STICKLINE((TOWERC >= REF(TOWERC,1)),TOWERC,REF(TOWERC,1),1,0),COLOR0000C5;
STICKLINE((TOWERC >= REF(TOWERC,1)),TOWERC,REF(TOWERC,1),0.8,0),COLOR0000E5;
STICKLINE((TOWERC >= REF(TOWERC,1)),TOWERC,REF(TOWERC,1),0.5,0),COLOR0000F5;


202174756960731.png

202174756960731.png


2021747561466411.png

2021747561466411.png

2021747564563445.rar

1.51 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2021747564563445.rar

回复

使用道具 举报

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

本版积分规则