趋势判牛支撑压力线主图带主图效果贴图用到未来函数公式
趋势判牛支撑压力线主图指标(通达信公式 主图 源码 效果贴图)用到未来函数
下面是指标的效果图,可惜的是有未来去不掉,但是很好用
sj:=if(date+19000000<20200417,1,0);
{+4天上方时间为准}
z1:=strcat(hyblock,' ');
z2:=strcat(z1,dyblock);
z3:=strcat(z2,' ');
drawtext_fix(islastbar,0,0,0,strcat(z3,gnblock)),colorred;
无敌:(xma(xma(h,25),25)*sj-xma(xma(l,25),25))*1+xma(xma(h,25),25),dotline,coloryellow;
牛趋势:xma(xma(l,25),25)-(xma(xma(h,25),25)-xma(xma(l,25),25))*1,linethick2,colorred;
无敌2:ema(牛趋势,25)colorcyan,linethick2;
drawband(牛趋势,rgb(55,0,0),无敌2,rgb(0,91,0));
drawkline(h,o,l,c);
stickline(牛趋势>low and 牛趋势<high,牛趋势,min(min(open,close),牛趋势),2,0),coloryellow;
stickline(牛趋势>min(c,o) and 牛趋势<max(c,o),牛趋势,min(open,close),2,0),coloryellow;
stickline(牛趋势>high,open,close,2,0),coloryellow;
stickline(牛趋势>high,high,low,0,0),coloryellow;
var23:=100*xma(xma((c-ref(c,1)),6),6)/xma(xma(abs((c-ref(c,1))),6),6);
回调买:=llv(var23,2)=llv(var23,7) and count(var23<0,2) and cross(var23,ma(var23,2));
xg:=牛趋势>high and 回调买 and l<=牛趋势;
drawtext(xg,l,'▲买入'),colorred;
jj:=(high+low+close)/3;
qj0:=vol/if(high=low,4,high-low);
qj1:=if(capital=0,qj0*(jj-min(close,open)),qj0*if(high=low,1,(min(open,close)-low)));
qj2:=if(capital=0,qj0*(min(open,close)-low),qj0*if(high=low,1,(jj-min(close,open))));
qj3:=if(capital=0,qj0*(high-max(open,close)),qj0*if(high=low,1,(high-max(open,close))));
qj4:=if(capital=0,qj0*(max(close,open)-jj),qj0*if(high=low,1,(max(close,open)-jj)));
ddx:=((qj1+qj2)-(qj3+qj4))/if(capital=0,10000,10000),color00aaaa,linethick;
v2:=sma(if(c>=ref(c,1),ddx,-ddx/100),2,1);
v5:=sma(v2*120/fromopen*5,2,1);
v10:=sma(v5,5,1);{好公式网-最好的股票公式网站 www.goodgongshi.com}
v20:=sma(v10,5,1);
dy:=currbarscount=1 and c<ref(c,1);
dy2:=ref(v2,1)-dy;
xg2:=c>o and dy2<0.02 and ma(c,5)>ma(c,60) and c/ref(c,1)>=1.02 and h<无敌;
{drawtext(xg2,l,'▲抓牛'),coloryellow;}
drawtext(xg2 and l<牛趋势,l,'金钻起涨'),colormagenta;
{drawtext_fix(1,0.00,0.10,0,'无敌'),coloryellow;
drawtext_fix(1,0.00,0.15,0,'乾坤多空'),coloryellow; }
var9:=close-ref(close,5);
vara:=ema(ema(var9,5),5)/ema(ema(abs(var9),5),5);
varc:=ema(ema(var9,20),20)/ema(ema(abs(var9),20),20);
卖出:=if(vara>0 and cross(varc,vara),90,100);
drawicon(卖出<0,h+0.05,2); 买线:=ema(close,2);
卖线:=ema(slope(close,21)*20+close,42);
b1:if(cross(买线,卖线),l-0.02,drawnull),crossdot,linethick3,colormagenta;
s1:if(cross(80,rsi)*30,h+0.02,drawnull),crossdot,linethick3,coloryellow;
vc:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma (close,32))/ma(close,32)*100)/3;
s2:=if(vc>20 and filter(vc< ref(vc,1),5),h+0.02,drawnull),circledot,linethick3,colorgreen;
a0:=(l+h+c*2)/4;
a1:ema(a0,14)colorgreen,linethick2;
a2:=ema(a0,25)colorgreen,linethick2;
a1x:=(a1-ref(a1,1))/ref(a1,1)*100,nodraw;
a2x:=(a2-ref(a2,1))/ref(a2,1)*100,nodraw;
支撑:if(a1x>=0 and barslast(cross(a1x,0))>0,ref((c+o)/2,barslast(cross(a1x,0))),drawnull),colormagenta{,linethick2};
压力:if(a1x<0 and barslast(cross(0,a1x))>0,ref((c+o)/2,barslast(cross(0,a1x))),drawnull),colorcyan,{linethick2};
买入持股:if(a1x>=0,a1,drawnull)colorred,linethick3;
卖出空仓:if(a1x<0 and a2x<0,a1,drawnull)colorgreen,linethick3;
stickline(cross(a1x,0),h,l,0,0 ),color9933ff;
stickline(cross(a1x,0),c,o,3,0 ),color0000cc;
stickline(cross(a1x,0),c,o,1,0 ),color0033ff;
stickline(cross(0,a1x),l,h,0,0 ),color66cc33;
yjd:=if(date+19000000>20200413,1,0);
drawtext_fix(islastbar=1 and yjd,0.1,0.2,0,''),coloryellow;
上一指标公式:龙线筹码主图附主图效果贴图源码加密指标下载
下一指标公式:t+0分时交易高低提示分时副图附源码效果贴图指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文趋势判牛支撑压力线主图带主图效果贴图用到未来函数公式下载仅供学习研究。