短线:=(close-ma(close,13))/ma(close,13)*100,linethick2;
控盘:=sma(短线,3,1),coloryellow,linethick2;
mm:=ref(控盘,1);//www.goodgongshi.com
派:if(控盘>=mm,控盘,控盘),colorgreen,linethick3;
落:if(控盘<0 ,控盘,drawnull),colorwhite,linethick3;
吸:if(控盘>=mm ,控盘,drawnull),colorlired,linethick3;
拉:if(控盘>=0 and 控盘>=mm,控盘,drawnull),colorff00ff,linethick3;
资金线:=(close-ma(close,13))/ma(close,13)*100,linethick1;
macd:=sma(资金线,3,1),coloryellow,linethick1;
zero : 0,dotline,colorliblue;
资金流向:控盘,colorwhite,linethick1;
drawicon (cross(资金流向,zero)=1,资金流向,1);
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向,0,4,0),color6000bf;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.9,0,4,0),color6c00d9;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.8,0,4,0),color7800f0;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.7,0,4,0),color8000ff;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.6,0,4,0),color9a35ff;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.5,0,4,0),coloraf60ff;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.4,0,4,0),colorbc79ff;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.3,0,4,0),colorca95ff;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.3,0,4,0),colord5aaff;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.2,0,4,0),colore0c1ff;
stickline(资金流向<0 and 资金流向>=ref(资金流向,1),资金流向*0.1,0,4,0),colorecd9ff;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向,0,4,0),color007546;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.9,0,4,0),color008c54;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.8,0,4,0),color00a664;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.7,0,4,0),color00bf73;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.6,0,4,0),color00d982;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.5,0,4,0),color00ea8c;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.4,0,4,0),color02ff9a;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.3,0,4,0),color00f9f9;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.2,0,4,0),color37ffff;
stickline(资金流向>0 and 资金流向<ref(资金流向,1),资金流向*0.1,0,4,0),color6fffff;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向,0,4,0),colorcc0033;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.9,0,4,0),coloree0033;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.8,0,4,0),colorff1133;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.7,0,4,0),colorff3333;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.6,0,4,0),colorff5533;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.5,0,4,0),colorff7733;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.4,0,4,0),colorff9933;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.3,0,4,0),colorffbb33;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.2,0,4,0),colorffdd33;
stickline(资金流向<0 and 资金流向<=ref(资金流向,1),资金流向*0.1,0,4,0),colorffff33;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向,0,4,0),color0000cc;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.9,0,4,0),color0000ee;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.8,0,4,0),color0011ff;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.7,0,4,0),color0033ff;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.6,0,4,0),color0055ff;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.5,0,4,0),color0077ff;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.4,0,4,0),color0099ff;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.3,0,4,0),color00bbff;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.2,0,4,0),color00ddff;
stickline(资金流向>0 and 资金流向>=ref(资金流向,1),资金流向*0.1,0,4,0),color00ddff;
多转空:=((((llv(macd,4)>0) and (macd<ref(macd,1))) and (ref(macd,1)>ref(macd,2))) and (ref(macd,2)>ref(macd,3)));
空转多:=((((hhv(macd,4)<0) and (macd>ref(macd,1))) and (ref(macd,1)<ref(macd,2))) and (ref(macd,2)<ref(macd,3)));
//www.goodgongshi.com
drawicon(多转空,macd,2);
drawicon(空转多,macd,1);
上一指标公式:反败为胜指标公式详解 同花顺反败为胜
下一指标公式:变盘图指标公式详解 同花顺公式
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文MACD优化买卖指标公式详解 同花顺买卖MACD仅供学习研究。