通达信彩带主图指标源码

[复制链接]
查看101 | 回复0 | 2021-8-20 14:23:10 | 显示全部楼层 |阅读模式

以下是通达信彩带主图指标源码(无源码的请下载附件导入)

MA5:MA(C,5),COLORWHITE,NODRAW;
 MA10:MA(C,10),COLOR33CFDD,NODRAW;
 MA20:MA(C,20),COLORMAGENTA,NODRAW;
 MA30:MA(C,30),COLORGREEN,NODRAW;
 MA60:MA(C,60),COLORLIGRAY,LINETHICK1,NODRAW;
 MA120:MA(C,120),,COLORFF9900,LINETHICK1,NODRAW;
 DRAWBAND(MA60,RGB(100,0,0),MA120,RGB(0,100,0));
 DRAWBAND(MA20,RGB(255,200,0),MA30,RGB(0,2,250));
 DRAWBAND(MA5,RGB(255,0,0),MA10,RGB(0,255,0));
 MA250:MA(C,250),,COLOR408000,LINETHICK6;
 TA:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
 ATR:=EMA(TA,13);
 VAR81:=REF(CLOSE,1)-REF(ATR,1);
永不套牢线:HHV(VAR81,13),COLOR408000,LINETHICK3;{ }
 DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
 STICKLINE(买线>=卖线,CLOSE,OPEN,2,0), COLOR7070FF;
 STICKLINE(买线>=卖线,LOW,HIGH,0,0), COLORYELLOW;
 STICKLINE(买线<卖线,CLOSE,OPEN,2,0), COLORFF6600;
 STICKLINE(买线<卖线,LOW,HIGH,0,0), COLORFFCC66;

64233427.jpg

64233427.jpg

回复

使用道具 举报

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

本版积分规则