drawgbk(close=close,colorrgb(30,30,60),colorrgb(30,30,60),1);
stickline(c,-10,-10,10,0 ),color00aaff,linethick2;
stickline(c,20,20,10,0 ),color00ff,linethick2;
n1:=5;n2:=13;n3:=34;
bias1 :=(close-ma(close,n1))/ma(close,n1)*100,precision2;
bias2 :=(close-ma(close,n2))/ma(close,n2)*100,precision2;
bias3 :=(close-ma(close,n3))/ma(close,n3)*100,precision2;
macd:=bias3-bias2,colorstick,precision2;
macd2:=macd;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,2,0 ),color00aaff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,1.8,0 ),color00bbff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,1.3,0 ),color00ccff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,1.2,0 ),color00ddff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,1,0 ),color00eeff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,0.5,0 ),color00ffff;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,5,0 ),color0000aa;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,4 ,0 ),color0011bb;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,3,0 ),color0022cc;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,2,0 ),color0033dd;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,1,0 ),color0044ee;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,0.5 ,0 ),color0055ff;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,5,0 ),coloraa00bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,4 ,0 ),colorbb11bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,3,0 ),colorcc22bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,2,0 ),colordd33bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,1 ,0 ),coloree44bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,0.5,0 ),colorff55bb;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,2,0 ),colorff7700;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,1.5 ,0 ),colorff8811;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,1.2,0 ),colorffaa22;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,1.0 ,0 ),colorffbb33;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,0.8 ,0 ),colorffdd44;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,0.5 ,0 ),colorffff55;
hhd:=hhv(bias3,55);
lld:=llv(bias3,55);
mmd:=(hhd-lld);
强弱:mmd*0.5+lld,linedot,colorwhite;
超买:mmd*0.809+lld,linedot,colorblue;
启动:mmd*0.119+lld,linedot,colormagenta;
aa:=if(bias2>bias1,bias2-bias1,0);
bb:=if(bias3>bias2,bias3-bias2,0);
cc:=if(bias3>bias1,bias3-bias1,0);
ss:(aa+bb+cc)/3,colorff0080,linethick,precision2;
partline(ss>0 and ss<=ref(ss,1),ss),colorcyan,linethick2;
partline(ss>ref(ss,1) and ss>0,ss),colorff0080,linethick2;
q1:bias1,colorwhite,precision2;
q2:bias2,color1477ff,precision2;
q3:bias3,colorff,precision2;
上一指标公式:买入卖出公式 飞狐买入指标 源码
下一指标公式:买卖压力公式 飞狐压力买卖指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文优化BIAS公式 飞狐指标BIAS指标 源码仅供学习研究。