主图macd
高1:=ref(hhv(h,150),3);
低1:=ref(llv(l,150),3);
h3:=高1-(高1-低1)*0.5;
中轴:refdate(h3,date);
b1:=ema(c,12);
b2:=ema(c,26);
b3:=b1-b2;
wdif:ema(ema(ema(c,3),3),3)+b3,colorwhite;
wdea:ema(wdif,9),colormagenta,linethick3;
macd:=2*(wdif-wdea);
stickline(macd>0,中轴,中轴+macd,0,1),colorred;
stickline(macd<0,中轴,中轴+macd,0,1),colorliblue;
stickline(macd<ref(macd,1)and macd>0,中轴,中轴+macd,0,0 ),color00bbff;
stickline(macd>=ref(macd,1)and macd>0,中轴,中轴+macd,0,0 ),color0011bb;
stickline(macd>ref(macd,1)and macd<0,中轴,中轴+macd,0,0),colorbb11bb;
stickline(macd<=ref(macd,1)and macd<0,中轴,中轴+macd,0,0),colorffbb11;
{drawtext(cross(macdma,macd),high*1.015,' 卖'),colorffffcc;};
vara:=llv(low,36);
varb:=hhv(high,30);
varc:=ema((close-vara)/(varb-vara)*4,4)*25;
趋势:= varc, color33ffff;
顶背: stickline(varc>90,open,close,3,0) , colorred;
var26:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
var27:=ma(var26,5);
var28:=ma(var26,10);
{drawtext(cross(var26,var27) and var27<var28,l*0.95,'▲争'),coloryellow;}
stickline(cross(var26,var27) and var27<var28,open,close,3,0),coloryellow;
{drawtext(cross(var7,var6) and var7>var8,var3*0.95,'夺'),coloryellow;}
stickline(cross(var27,var26)and var27>var28,open,close,3,0),colorff00ff;
var5:=ema(ma(close,3),34);
var1:=4*sma((close-llv(low,5))/(hhv(high,5)-llv(low,5))*100,5,1)-
3*sma(sma((close-llv(low,5))/(hhv(high,5)-llv(low,5))*100,5,1),3.2,1);
var2:=8;
cc:=cross(var1,var2);
drawtext(cc,l*0.98,'买!'),color0099ff;
stickline(cross(var1,var2) ,open,close,3,0),colorbb11bb;
aa2:=amount/v;
bb2:=l<aa2*0.9;
cc2:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd2:=l<ma(c,5)*0.921;
ee2:=v<ma(v,5)*1.5;
ff2:=bb2 and cc2 and dd2 and ee2,linethick0;
{drawtext(ff2,l*0.99,' 鼠'),coloryellow;}
stickline(ff2,o,c,4,0),colorred;
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
drawtext(cross(88,rsi),(high * 1.0002),'↓'),color1880ff;
e:=(high+low+open+2*close)/5;
aaa:=2*e-low,nodraw;
ab:=2*e-high,nodraw;
acc:=e+(high-low),nodraw;
add:=e-(high-low),nodraw;
今阻力:ref(aaa,1),colorwhite,nodraw;
今支撑:ref(ab,1),coloryellow,nodraw;
明阻力:aaa,colorcyan,nodraw;
明支撑:ab,colormagenta,nodraw;
明突破:acc,colorgreen,nodraw;
明反转:add,colorlicyan,nodraw;
gj:=(c+h+l+o)/4;
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:ref(明日阻力 , 1),nodraw;
今日支撑:ref(明日支撑 , 1),nodraw;
stickline(islastbar and c>=今日阻力,今日阻力,今日阻力,10,1),color0000ff;
stickline(islastbar and c<今日阻力,今日阻力,今日阻力,10,1),color00ff00;
stickline(islastbar and c>=今日支撑,今日支撑,今日支撑,10,1),colorff00ff;
stickline(islastbar and c<今日支撑,今日支撑,今日支撑,10,1),colorff8800;
stickline(varc>90 ,high,low,0,1 ),colorred;
stickline(varc>90 ,open,close,3,0 ),color000055;
stickline(varc>90 ,open,close,2.1,0 ),color000099;
stickline(varc>90 ,open,close,1.5,0 ),color0000bb;
stickline(varc>90 ,open,close,0.9,0 ),color0000dd;
stickline(varc>90 ,open,close,0.3,0 ),color0000ff;
网1:=ma(c,1);网5:=ma(c,5);
drawicon(cross(网1,网5),l,1);
drawicon(cross(网5,网1),h,2);
n:=30;
垂点:=refdate(hhv(h,n)/1.01,date);
drawtext(currbarscount=n,垂点,'微点防御'),colordddd00;
{交易指示}
data:=5;
{多头买入} drawicon(zig(3,data)>ref(zig(3,data),1)
and ref(zig(3,data),1)<=ref(zig(3,data),2)
and ref(zig(3,data),2)<=ref(zig(3,data),3),l*0.98,1);
{多头卖出} drawicon(zig(3,data)<ref(zig(3,data),1)
and ref(zig(3,data),1)>=ref(zig(3,data),2)
and ref(zig(3,data),2)>=ref(zig(3,data),3),h*1.02,2);
上一指标公式:线性关系指标下载 通达信线性
下一指标公式:熊市中最适用的选股==底部建仓指标下载 通达信建仓公式
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文主图MACD-主图指标下载 通达信源码主图仅供学习研究。