源码如下:
{boll小通道}{主图}
bbi:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLOR00ff00,linethick2;
{利用BBI线的神奇作用}
压力:bbi*1.1,COLORff00ff,linethick2;{bbi上10%范围内增加压力线}
支撑:bbi*0.9,COLORgreen,linethick2;{bbi下10%范围内增加支撑线}
m3:ma(c,3),COLORff9900;{增加m3线}
m5:ma(c,5),COLORwhite;{增加m5线}
m26:ma(c,26),COLOR4080ff;{增加m26线}
m60:ma(c,60),COLOR00ff00;{增加m60线}
aa:bbi;
if(aa>=ref(aa,1),aa,0),LINETHICK2,COLORyellow,circledot;
if(aa<ref(aa,1),aa,0),LINETHICK2,COLORff9900,circledot;
STICKLINE(C>aa,L,H,0.1,1),COLORRED;{k线变色}
STICKLINE(C>aa,C,O,4,1),COLORRED;{k线变色}
STICKLINE(C>aa,C,O,4,1),COLORRED;{k线变色}
STICKLINE(C<aa,C,O,4,1),COLORFFFF00;{k线变色}
STICKLINE(C<aa,C,O,4,1),COLOR00FF00;{k线变色}
STICKLINE(C<aa,L,H,0.1,1),COLOR00FF00;{k线变色}
|
|
|
|
|