通达信魔柱七色指标公式
2020/5/30 19:15:13
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;
投股 票网 www.tou1 8.cn
股市公式下载推荐