您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:牛熊带(或叫多空彩带)通达信主图源码

牛熊带(或叫多空彩带)通达信主图源码


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2016-03-23 21:36:00
公式简介:

通达信牛熊带(或叫多空彩带)源码:

{主图:牛熊带;参数N=6~28,8(A股大盘观望值=8);原创及版权:JIP.GEMLING.见凌见}
CC:=CLOSE;
A:=PERIOD;
N20:=MA(C,N*20);N20K:=EMA(CC,20*N);
N4:=MA(C,N*4);N4K:=EMA(CC,4*N);
N1:=MA(C,N);N1K:=EMA(CC,N);
STICKLINE(A>2 AND A<6 AND N20>N20K,N20,N20K,1,-1),COLORGREEN;
STICKLINE(A>2 AND A<6 AND N20<N20K,N20,N20K,1,-1),COLOR1188FF;
STICKLINE(A=6 OR A=5 AND N4>N4K,N4,N4K,1,1),COLORGREEN;
STICKLINE(A=6 OR A=5 AND N4<N4K,N4,N4K,1,1),COLOR1188FF;
STICKLINE(A=7 AND N1>N1K,N1,N1K,1,0),COLORGREEN;
STICKLINE(A=7 AND N1<N1K,N1,N1K,1,0),COLOR1188FF;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
M4_:MA(C,4),COLORWHITE;
M8_:MA(C,8),COLORYELLOW;
M16_:MA(C,16),COLORMAGENTA;
M32_:MA(C,32),COLORGREEN;
M64_:MA(C,64),COLORBLUE;
M128_:MA(C,128),COLORLIGRAY;
M256_:MA(C,256),COLORWHITE;
前锋线:IF(A=5,N20K,IF(A=6,N4K,IF(A=7,N1K,
IF(A=10 OR A=11,EMA(CC,N/2),MA(C,25600))))),COLORLIGREEN,LINETHICK1;
NX看线:IF(A=5,N20,IF(A=6,N4,IF(A=7,N1,
IF(A=10 OR A=11,MA(C,N/2),MA(C,25600))))),COLOR1188FF,LINETHICK1;



[url=http://www.goodgupiao.com/gupiaogongshi/40614.html][B]牛熊带(或叫多空彩带)通达信主图源码[/B][/url]