上市日期年:ref(year,barscount(c)-1),linethick0,colorred;
月:ref(month,barscount(c)-1),linethick0,coloryellow;
日:ref(day,barscount(c)-1),linethick0,colorcyan;
diff :=( ema(close,12) - ema(close,26))*2;
dea:= ema(diff,9);
macd := 2*(diff-dea), colorstick;
diffa := ema(close,60) - ema(close,130);
deaa := ema(diffa,45);
fillrgn(diffa>deaa,diffa,deaa),color3232f0;fillrgn(diffa<deaa,diffa,deaa),colorf06232;
partline(diff>ref(diff,1),diff),linethick2,colorred;
partline(diff<ref(diff,1),diff),linethick2,colorgreen;
partline(diff>ref(diff,1)and ref(diff,1)>0,diff),linethick2,colorred;
partline(dea>ref(dea,1),dea),coloryellow;
partline(dea<ref(dea,1),dea),coloryellow;
stickline(macd<ref(macd,1)and macd>0,0,macd,6,0 ),color00aaff;
stickline(macd<ref(macd,1)and macd>0,0,macd,6.6,0 ),color00bbff;
stickline(macd<ref(macd,1)and macd>0,0,macd,4.4,0 ),color00ccff;
stickline(macd<ref(macd,1)and macd>0,0,macd,3.3,0 ),color00ddff;
stickline(macd<ref(macd,1)and macd>0,0,macd,2.2,0 ),color00eeff;
stickline(macd<ref(macd,1)and macd>0,0,macd,1.1,0 ),color00ffff;
stickline(macd>=ref(macd,1)and macd>0,0,macd,6,0 ),color0000aa;
stickline(macd>=ref(macd,1)and macd>0,0,macd,6.6 ,0 ),color0011bb;
stickline(macd>=ref(macd,1)and macd>0,0,macd,4.4,0 ),color0022cc;
stickline(macd>=ref(macd,1)and macd>0,0,macd,3.3 ,0 ),color0033dd;
stickline(macd>=ref(macd,1)and macd>0,0,macd,2.2 ,0 ),color0044ee;
stickline(macd>=ref(macd,1)and macd>0,0,macd,1.1 ,0 ),color0055ff;
stickline(macd>ref(macd,1)and macd<0,0,macd,6,0 ),color00aaff;
stickline(macd>ref(macd,1)and macd<0,0,macd,6.6 ,0 ),color00bbff;
stickline(macd>ref(macd,1)and macd<0,0,macd,4.4,0 ),color00ccff;
stickline(macd>ref(macd,1)and macd<0,0,macd,3.3,0 ),color00ddff;
stickline(macd>ref(macd,1)and macd<0,0,macd,2.2 ,0 ),color00eeff;
stickline(macd>ref(macd,1)and macd<0,0,macd,1.1 ,0 ),color00ffff;
stickline(macd<=ref(macd,1)and macd<0,0,macd,6,0 ),colorff7700;
stickline(macd<=ref(macd,1)and macd<0,0,macd,6.6 ,0 ),colorff8811;
stickline(macd<=ref(macd,1)and macd<0,0,macd,4.4,0 ),colorffaa22;
stickline(macd<=ref(macd,1)and macd<0,0,macd,3.3 ,0 ),colorffbb33;
stickline(macd<=ref(macd,1)and macd<0,0,macd,2.2 ,0 ),colorffdd44;
stickline(macd<=ref(macd,1)and macd<0,0,macd,1.1 ,0 ),colorffff55;
partline(diffa>ref(diffa,1),diffa),linethick1,colorred;
partline(diffa<ref(diffa,1),diffa),linethick1,colorgreen;
partline(diffa>ref(diffa,1)and ref(diffa,1)>0,diffa),linethick1,colorred;
partline(deaa>ref(deaa,1),deaa),color00dddd;
partline(deaa<ref(deaa,1),deaa),color00dddd;
drawicon(cross(diffa,deaa),diffa*1,10);
drawicon(cross(deaa,diffa),deaa*1,11);
上一指标公式:〖主力持筹〗新二版II公式 飞狐新二版II指标 源码
下一指标公式:晓得通道公式 飞狐晓得指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文长短macd公式 飞狐源码macd指标 源码仅供学习研究。