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

[复制链接]
查看123 | 回复0 | 2021-8-26 21:26:56 | 显示全部楼层 |阅读模式

以下是通达信红蓝波段副图指标公式简简单单操作源码(无源码的请下载附件导入)

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

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;

1353577061.png

1353577061.png

1354100149.png

1354100149.png

回复

使用道具 举报

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

本版积分规则