使用方法:0轴上方出现红色柱子,是做多信号。0轴上方出现黄色柱子是回调信号。0轴下方出现蓝色柱子是做空信号,0轴下方出现绿色柱子是空头回补信号。
di:=(ema(close,12) - ema(close,26))*200;
de:=ema(di,9);
资金趋势:=2*(di-de),color00f9f9,linethick2;
资金进出:(close-llv(low,13))/(hhv(high,13)-llv(low,13))*200-100,coloryellow,linethick2;
升:if(资金进出>=ref(资金进出,1),资金进出,drawnull),colorred,linethick2;
降:if(资金进出<ref(资金进出,1),资金进出,drawnull),colorliblue,linethick2;
强弱分界线: 0,dotline,coloryellow;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),12,1)/sma(abs(close-lc),12,1)*100;
rsie:=ema(rsi,3);
diff := ema(rsie,12) - ema(rsie,26);
bbdiff:=diff-ref(diff,1);
dea := ema(diff,9);
bbdea:=dea-ref(dea,1);
zero:0,colorff8855,linethick2;
macd : 20*(diff-dea),colorff00ff,linethick2;
上:if(macd>ref(macd,1),macd,drawnull),colorff00ff,linethick2;
下:if(macd<ref(macd,1),macd,drawnull),color00ff00,linethick2;
drawtext(cross(macd,zero),zero+0,'★<'),coloryellow;
stickline(macd<ref(macd,1) and macd>0,0,macd,9,0),color0080ff;
stickline(macd<ref(macd,1) and macd>0,0,macd,8,0),color0000ff;
stickline(macd<ref(macd,1) and macd>0,0,macd,7,0),color0033ff;
stickline(macd<ref(macd,1) and macd>0,0,macd,6,0),color0055ff;
stickline(macd<ref(macd,1) and macd>0,0,macd,5,0),color0077ff;
stickline(macd<ref(macd,1) and macd>0,0,macd,4,0),color0099ff;
stickline(macd<ref(macd,1) and macd>0,0,macd,3,0),color00bbff;
stickline(macd<ref(macd,1) and macd>0,0,macd,2,0),color00ddff;
stickline(macd<ref(macd,1) and macd>0,0,macd,1,0),color00ffff;
stickline(macd<ref(macd,1) and macd<0,0,macd,9,0),colorcc6600;
stickline(macd<ref(macd,1) and macd<0,0,macd,8,0),colore37200;
stickline(macd<ref(macd,1) and macd<0,0,macd,7,0),colorff8000;
stickline(macd<ref(macd,1) and macd<0,0,macd,6,0),colorff9428;
stickline(macd<ref(macd,1) and macd<0,0,macd,5,0),colorffa346;
stickline(macd<ref(macd,1) and macd<0,0,macd,4,0),colorffb366;
stickline(macd<ref(macd,1) and macd<0,0,macd,3,0),colorffc184;
stickline(macd<ref(macd,1) and macd<0,0,macd,2,0),colorffcb97;
stickline(macd<ref(macd,1) and macd<0,0,macd,1,0),colorceffce;
stickline(macd>ref(macd,1) and macd<0,0,macd,9,0),color009100;
stickline(macd>ref(macd,1) and macd<0,0,macd,8,0),color00a600;
stickline(macd>ref(macd,1) and macd<0,0,macd,7,0),color00bb00;
stickline(macd>ref(macd,1) and macd<0,0,macd,6,0),color00db00;
stickline(macd>ref(macd,1) and macd<0,0,macd,5,0),color00ec00;
stickline(macd>ref(macd,1) and macd<0,0,macd,4,0),color28ff28;
stickline(macd>ref(macd,1) and macd<0,0,macd,3,0),color53ff53;
stickline(macd>ref(macd,1) and macd<0,0,macd,2,0),color79ff79;
stickline(macd>ref(macd,1) and macd<0,0,macd,1,0),color93ff93;
stickline(macd>ref(macd,1) and macd>0,0,macd,9,0),colorae00ae;
stickline(macd>ref(macd,1) and macd>0,0,macd,8,0),colord200d2;
stickline(macd>ref(macd,1) and macd>0,0,macd,7,0),colore800e8;
stickline(macd>ref(macd,1) and macd>0,0,macd,6,0),colorff00ff;
stickline(macd>ref(macd,1) and macd>0,0,macd,5,0),colorff44ff;
stickline(macd>ref(macd,1) and macd>0,0,macd,4,0),colorff77ff;
stickline(macd>ref(macd,1) and macd>0,0,macd,3,0),colorff8eff;
stickline(macd>ref(macd,1) and macd>0,0,macd,2,0),colorffa6ff;
stickline(macd>ref(macd,1) and macd>0,0,macd,1,0),colorffbfff;
多转空:=((((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)));
drawicon(多转空,macd,2);
drawicon(空转多,macd,1);
drawicon (cross(macd,强弱分界线)=1,强弱分界线,1);
aaa:=ref(close,1);
bbb:=sma(max(close-aaa,0),5,1)/sma(abs(close-aaa),5,1)*1000;
hhh:=bbb-llv(bbb,10);
ss:=(ma(hhh,2)*3+hhh*13)/16;
短线买点:=if(ss>13,ma(ss,2),ss)/6;
短线出击:if(cross(短线买点,1) and (短线买点<30),25,0),color00f9f9,linethick1;
var12:=if(month<12,1,1);
var13:=(2*close+high+low)/4;
var14:=llv(low,34);
var15:=hhv(high,34);
主力:=ema((var13-var14)/(var15-var14)*100,13)*var12,linethick2,coloryellow;
散户:=ema(0.667*ref(主力,1)+0.333*主力,2),linethick2,colorff9933;
买入脉冲:if(cross(主力,散户) and 主力<35,25,0),linethick2,colorff00ff;
卖出脉冲:=if(cross(散户,主力) and 散户>75,75,100),linethick2,color00ec00;
明日买:if((troughbars(3,15,1)=0) and (high>low+0.01),25,(0)),linethick2,colorff00ff;
ar1:=ema(open,7);
ar2:=ema(ar1,21);
ar3:=cross(ar1,ar2);
ar5:=ema(sma((close-llv(low,20))/(hhv(high,16)-llv(low,20))*100,8,1),3);
短买:if(troughbars(1,6,1)=0 and high>low+0,25,0),linethick2,color0050f7;
上一指标公式:黄金坑财神到指标公式详解 同花顺财神
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文王者MACD指标公式详解 同花顺王者仅供学习研究。