在线检测未来函数

通达信七色魔柱指标公式

来源:Internet,编辑:股旁网,2013-03-30

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;

通达信七色魔柱指标公式

 

相关文章