通达信魔柱七色指标公式
通达信飞弹一号选股指标公式
通达信魔柱七色指标公式:
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;
通达信参考地量指标公式