通达信七色魔柱指标公式

2013-04-02 09:13:00来源:本站整理浏览:246

lc:=ref(c,1);
a1:=sma(max(c-lc,0),6,1)/sma(abs(c-lc),6,1)*100;
a2:=sma(max(c-lc,0),24,1)/sma(abs(c-lc),24,1)*100;
stickline(a1>=a2,0.5,0,8,0),color0000ff;
stickline(a1>=70 and a1>=a2 and a1<80,1,0,8,0),colorffff00;
stickline(a1>=70 and a1>=a2 and a1<80,0.7,0,8,0),color00ff00;
stickline(a1>=70 and a1>=a2 and a1<80,0.5,0,8,0),color00ffff;
stickline(a1>=70 and a1>=a2 and a1<80,0.3,0,8,0),color000080;
stickline(a1>=70 and a1>=a2 and a1<80,0.1,0,8,0),color0000ff;
stickline(a1>=80 and a1>a2,1.5,0,8,0),colorff00ff;
stickline(a1>=80 and a1>a2,1.2,0,8,0),colorff0000;
stickline(a1>=80 and a1>a2,1,0,8,0),colorffff00;
stickline(a1>=80 and a1>a2,0.8,0,8,0),color00ff00;
stickline(a1>=80 and a1>a2,0.6,0,8,0),color00ffff;
stickline(a1>=80 and a1>a2,0.4,0,8,0),color000080;
stickline(a1>=80 and a1>a2,0.2,0,8,0),color0000ff;
drawicon(a1>=70 and a1>a2 and v<ref(v,1) and c<ref(c,1)*1.03,0.8,1);
stickline(a1<a2,-0.5,0,8,0),colorffffff;


 


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式