{四色指数平均}
ma1:=ema(c,12);
ma2:=ema(c,50);
ma3:=ema(c,34);
ma4:=ema(c,7);
ma5:=ema(c,20);
ma6:=ema(c,10);
diff:=ema(close,30)-ema(close,120);
dea:=ema(diff,9);
m1:ma(close,5),colorred,linethick;
m2:ema(close,12),colorred,linethick;
m3:ema(close,50),colorred,linethick;
x:=barslast(ref(cross(c,ma(c,120)),1)) and cross(ma(c,20),ma(c,120));
if(m3<ref(m3,1),m3,drawnull),colorgreen,linethick;
stickline(c>=ma1 and c>=ma2 and diff>=dea ,h ,l-0.01 ,0 ,0 ),colorred;
stickline(c>=ma1 and c>=ma2 and diff>=dea ,o ,c ,2.5 ,0 ),colorred;
stickline(c>=ma1 and c>=ma2 and diff>=dea ,o ,c ,2 ,0 ),colorred;
stickline(c>=ma1 and c>=ma2 and diff>=dea ,o ,c ,1 ,0 ),colorred;
stickline(c>=ma1 and c>=ma2 and diff>=dea ,o ,c ,0 ,0 ),colorred;
stickline(c<ma1 and c>=ma2 and diff<dea ,h ,l-0.008 ,0 ,0 ),colorgreen;
stickline(c<ma1 and c>=ma2 and diff<dea ,o ,c ,2.5 ,0 ),colorgreen;
stickline(c<ma1 and c>=ma2 and diff<dea ,o ,c ,2 ,0 ),colorgreen;
stickline(c<ma1 and c>=ma2 and diff<dea ,o ,c ,1 ,0 ),colorgreen;
stickline(c<ma1 and c>=ma2 and diff<dea ,o ,c ,0 ,0 ),colorgreen;
stickline(c<ma1 and c>=ma2 and diff>=dea ,h ,l-0.008 ,0 ,0 ),coloryellow;
stickline(c<ma1 and c>=ma2 and diff>=dea ,o ,c ,2.5 ,0 ),coloryellow;
stickline(c<ma1 and c>=ma2 and diff>=dea ,o ,c ,2 ,0 ),coloryellow;
stickline(c<ma1 and c>=ma2 and diff>=dea ,o ,c ,1 ,0 ),coloryellow;
stickline(c<ma1 and c>=ma2 and diff>=dea ,o ,c ,0 ,0 ),coloryellow;
stickline(c>=ma1 and c>=ma2 and diff<dea ,h ,l-0.008 ,0 ,0 ),colorred;
stickline(c>=ma1 and c>=ma2 and diff<dea ,o ,c ,2.5 ,0 ),colorred;
stickline(c>=ma1 and c>=ma2 and diff<dea ,o ,c ,2 ,0 ),colorred;
stickline(c>=ma1 and c>=ma2 and diff<dea ,o ,c ,1 ,0 ),colorred;
stickline(c>=ma1 and c>=ma2 and diff<dea ,o ,c ,0 ,0 ),colorred;
stickline(c<ma1 and c<ma2 and diff<dea ,h ,l-0.008 ,0 ,0 ),colorgreen;
stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,3 ,0 ),colorgreen;
stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,2.5 ,0 ),colorgreen;
stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,2 ,0 ),colorgreen;
stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,1 ,0 ),colorgreen;
stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,0 ,0 ),colorgreen;
stickline(c<ma1 and c<ma2 and diff>=dea ,h ,l-0.008 ,0 ,0 ),coloryellow;
stickline(c<ma1 and c<ma2 and diff>=dea ,o ,c ,2.5 ,0 ),coloryellow;
stickline(c<ma1 and c<ma2 and diff>=dea ,o ,c ,2 ,0 ),coloryellow;
stickline(c<ma1 and c<ma2 and diff>=dea ,o ,c ,1 ,0 ),coloryellow;
stickline(c<ma1 and c<ma2 and diff>=dea ,o ,c ,0 ,0 ),coloryellow;
stickline(c>=ma1 and c<ma2 and diff>=dea ,h ,l-0.008 ,0 ,0 ),colorred;
stickline(c>=ma1 and c<ma2 and diff>=dea ,o ,c ,2.5 ,0 ),colorred;
stickline(c>=ma1 and c<ma2 and diff>=dea ,o ,c ,2 ,0 ),colorred;
stickline(c>=ma1 and c<ma2 and diff>=dea ,o ,c ,1 ,0 ),colorred;
stickline(c>=ma1 and c<ma2 and diff>=dea ,o ,c ,0 ,0 ),colorred;
stickline(c>=ma1 and c<ma2 and diff<dea ,h ,l-0.008 ,0 ,0 ),colormagenta;
stickline(c>=ma1 and c<ma2 and diff<dea ,o ,c ,2.5 ,0 ),colormagenta;
stickline(c>=ma1 and c<ma2 and diff<dea ,o ,c ,2 ,0 ),colormagenta;
stickline(c>=ma1 and c<ma2 and diff<dea ,o ,c ,1 ,0 ),colormagenta;
stickline(c>=ma1 and c<ma2 and diff<dea ,o ,c ,0 ,0 ),colormagenta;
exp1:ema(c,12),colorwhite;
exp2:ema(c,50),coloryellow;
volume:=ma(vol,1)/vol;
mid:=100*(high+low-ref(high+low,1))/(high+low);
emv:=ma(mid*volume*(high-low)/ma(high-low,9),9);
emva:=ma(emv,14);
bb:=emv-emva;
bias :=(close-ma(close,6))/ma(close,6)*100;
biasma :=ma(bias,6);
cc:=bias-biasma;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
dd:=(k+d+j)/3;
kk:=j-dd;
diff2:=ema(close,12)-ema(close,26);
dea2:=ema(diff2,9);
ss:=diff2-dea2;
aa:=ma(bb+cc+kk+ss,1)*0.01;
drawtext(cross(aa,0),l*0.95,'b'),linethick4,colorwhite,nodraw;
drawtext(cross(0,aa),h*1.06,'s'),linethick4,colorgreen,nodraw;
上一指标公式:超赢资金流 通达信资金流
下一指标公式:极品2 副图 通达信贴图极品
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文四色指数平均麟龙特色 通达信指标平均仅供学习研究。