设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信真实通道公式源码 通达信指标公式大全

2015-11-13 16:32:57 股票入门 http://rumen.southmoney.com

通达信真实通道公式源码 通达信指标公式大全      南方财富网小编为您带来最新的通达信指标公式

WRAP: break-word; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">{内通道}
重心:WMA((2*C+H+L)/4,2),COLOR00FFFF,NODRAW;
UPPERS: 重心*(1+2.382/100),COLOR990099;
DRAWTEXT(ISLASTBAR,UPPERS,CON2STR(UPPERS,2)),COLOR0077FF;
LOWERS: 重心*(1-2.382/100),COLORFF0000;
DRAWTEXT(ISLASTBAR,LOWERS,CON2STR(LOWERS,2)),COLOR00FFFF;
{中通道}
VAR2:=重心*VOL;
VAR3:=(EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,8)/EMA(VOL,8)+EMA(VAR2,13)/EMA(VOL,13)+EMA(VAR2,21)/EMA(VOL,21))/4;
UP:=VAR3*1.0809;
DN:=VAR3*0.9191;
{外通道}
VAR4:=EMA(重心,19);
LUP:=EMA(VAR4*1.119,3);
LDN:=EMA(VAR4*0.881,3);

UPK:=UP-UPPERS;

UPL1:=LUP-UP;
UPD:=LOWERS-DN;
UPL:=DN-LDN;
{7}DRAWBAND(IF(UP>UPPERS,UPPERS,UPPERS+UPK),RGB(230,0,50),UPPERS+UPK,RGB(230,0,50));
DRAWBAND(IF(UP<LUP,UP,UP+UPL1),RGB(80,0,80),UP+UPL1,RGB(80,0,80));
DRAWBAND(IF(LOWERS>DN,LOWERS,LOWERS-UPD),RGB(0,230,30),LOWERS-UPD,RGB(0,230,30));
DRAWBAND(IF(DN>LDN,DN,DN-UPL),RGB(0,80,50),DN-UPL,RGB(0,80,50));
{6}DRAWBAND(IF(UP>UPPERS,UPPERS,UPPERS+UPK*0.8),RGB(220,0,180),UPPERS+UPK*0.8,RGB(220,0,180));
DRAWBAND(IF(UP<LUP,UP,UP+UPL1*0.8),RGB(100,0,120),UP+UPL1*0.8,RGB(100,0,120));
DRAWBAND(IF(LOWERS>DN,LOWERS,LOWERS-UPD*0.8),RGB(0,200,55),LOWERS-UPD*0.8,RGB(0,200,55));
DRAWBAND(IF(DN>LDN,DN,DN-UPL*0.8),RGB(0,100,80),DN-UPL*0.8,RGB(0,100,80));
{5}DRAWBAND(IF(UP>UPPERS,UPPERS,UPPERS+UPK*0.6),RGB(200,0,150),UPPERS+UPK*0.6,RGB(200,0,150));
DRAWBAND(IF(UP<LUP,UP,UP+UPL1*0.6),RGB(120,0,150),UP+UPL1*0.6,RGB(120,0,150));
DRAWBAND(IF(LOWERS>DN,LOWERS,LOWERS-UPD*0.6),RGB(0,150,100),LOWERS-UPD*0.6,RGB(0,150,100));
DRAWBAND(IF(DN>LDN,DN,DN-UPL*0.6),RGB(0,120,100),DN-UPL*0.6,RGB(0,120,100));
{4}DRAWBAND(IF(UP>UPPERS,UPPERS,UPPERS+UPK*0.5),RGB(180,0,100),UPPERS+UPK*0.5,RGB(180,0,100));
DRAWBAND(IF(UP<LUP,UP,UP+UPL1*0.5),RGB(150,0,180),UP+UPL1*0.5,RGB(150,0,180));
DRAWBAND(IF(LOWERS>DN,LOWERS,LOWERS-UPD*0.4),RGB(0,100,100),LOWERS-UPD*0.4,RGB(0,100,100));
DRAWBAND(IF(DN>LDN,DN,DN-UPL*0.4),RGB(0,150,150),DN-UPL*0.4,RGB(0,150,150));
{3}DRAWBAND(IF(UP>UPPERS,UPPERS,UPPERS+UPK*0.4),RGB(150,0,80),UPPERS+UPK*0.4,RGB(150,0,80));
DRAWBAND(IF(UP<LUP,UP,UP+UPL1*0.4),RGB(180,0,220),UP+UPL1*0.4,RGB(180,0,220));
{2}DRAWBAND(IF(LOWERS>DN,LOWERS,LOWERS-UPD*0.2),RGB(0,80,80),LOWERS-UPD*0.2,RGB(0,80,80));
DRAWBAND(IF(DN>LDN,DN,DN-UPL*0.2),RGB(0,180,180),DN-UPL*0.2,RGB(0,180,180));
DRAWBAND(IF(UP>UPPERS,UPPERS,UPPERS+UPK*0.2),RGB(120,0,50),UPPERS+UPK*0.2,RGB(120,0,50));
DRAWBAND(IF(UP<LUP,UP,UP+UPL1*0.2),RGB(200,0,255),UP+UPL1*0.2,RGB(200,0,255));
{1}DRAWBAND(IF(LOWERS<UPPERS,UPPERS,LOWERS),RGB(40,30,20),LOWERS,RGB(40,30,20));

{K线}

[1] [2] 下一页

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。