淡泊预测
淡泊预测.副图,源码.
b:zig(3,10),coloryellow;
g:=ma(b,2),colorred;
d:=ema(b,34),colorgreen;
j:=ema(b,144),colorligreen;
drawicon(cross(b,g),b-0.1,1);
drawicon(cross(g,b),g+0.1,2);
//drawtext(cross(b,g),b*0.85,"建"),coloryellow;
//drawtext(cross(g,b),g,"清"),colorgreen;
f:=100*(c-ref(c,1))/ref(c,1);
jd:=if(c<ref(o,1) and f<0,1,0);
s1:=jd;//www.goodgongshi.com
mr:=if(c<ref(o,2) and f<0,1,0),linethick0;
s2:=mr;
a1:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,3) ,ref(zig(3 ,3),1));
a2:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,5) ,ref(zig(3 ,5),1));
//drawtext(a1 and a2 or d<0,b,'加仓'),coloryellow;//加仓买
//drawicon(a1 and a2,b-0.2,1);
var3:=peakbars(3,5,1)<10;
var5:=if(var3=1,2,0);
顶:= if(var5=2,2,0);
顶a:=if(顶>ref(顶,1),1,0),stick,colorcyan, linethick2;//
//drawtext(顶a=1,b*1.1,'减仓'),colorgreen;
drawicon(顶a=1,b,2);
a11:llv(low,144),colormagenta;
//drawicon(a11==ref(a11,1) and ref(a11,1)<ref(a11,2),a11,1);
//drawicon(a11<ref(a11,1) and ref(a11,1)==ref(a11,2),a11,2);
//drawicon(a11>ref(a11,1) and ref(a11,1)==ref(a11,2),a11,1);
mid:=ma(close,26);
upper:=mid + 2*std(close,26),colorwhite;//上轨
upper1:=mid + 1.618*std(close,26),colorred;//上轨
lower:=mid - 2*std(close,26),coloryellow;//下轨
lower1:=mid - 1.618*std(close,26),colorgreen;//下轨
//drawtext(cross(close,lower),j*1.05,"l"),coloryellow;;
//drawtext(cross(close,upper),j*1.05,"l"),colorgreen;
drawicon(cross(b,a11),b,1);
drawicon(cross(a11,b),b,2);
verline(cross(b,g) and (a1 and a2 or d<0),1),colorlimagenta;//画加仓建仓垂线
verline(cross(g,b),1),colorcyan;//画清仓垂线
stickline(a11<b and b>ref(b,1),b,a11,0.8,0),colorred;
stickline(a11<b and b<ref(b,1),b,a11,0.8,0),colorgreen;
drawtext((cross(b,g) and (a1 and a2 or d<0)) or cross(b,g),a11*0.95,'b'),coloryellow;//建仓加仓买
stickline(a11>b and b>ref(b,1),b,a11,0.8,0),colorred;
stickline(a11>b and b<ref(b,1),b,a11,0.8,0),colorgreen;
a34:=llv(b,34),coloryellow;
a55:=llv(b,55),coloryellow;
a144:=llv(b,144),coloryellow;
aa:=(cross(b,g) and (a1 and a2 or d<0)) or cross(b,g);
polyline(aa==1,ref(b,1)),coloryellow;
cc:=close,colorwhite;
dd7:dynainfo(7),nodraw;
dd1:=dynainfo(1),nodraw;
dd2:=dynainfo(2),nodraw;
dd3:=dynainfo(3),nodraw;
dd4:=dynainfo(4),nodraw;
dd5:=dynainfo(5),nodraw;
dd6:=dynainfo(6),nodraw;
dd7:=dynainfo(7),nodraw;
dd9:=dynainfo(9),nodraw;
dd11:=dynainfo(11),nodraw;
dd20:=dynainfo(20),nodraw;
dd21:=dynainfo(21),nodraw;
dd28:=dynainfo(28),nodraw;
dd29:=dynainfo(29),nodraw;
dd30:=dynainfo(30),nodraw;
e:=tfilt(close,date+19000000,0,date+19000000,0),nodraw;
e1:=dlow,nodraw;
e2:=if(codelike('600'),6,3),nodraw;
e3:=barslast(close/ref(close,1)>=1.095),nodraw;//上一条件成立位置 上一次条件成立到当前的周期数
e4:=tfilt(close,date+19000000-e3,0,date+19000000-e3,0),nodraw;
e5:=barssince(close/ref(close,1)>=1.095,e3),nodraw;
e6:=const(close),nodraw;
e7:=refdate(close,date-1),nodraw;
theyear := 1900*10000;
date1:= 20180703 - theyear ;
date2:= 20180702 - theyear ;
收盘0703:=refdate(close,date1),nodraw;
收盘0702:=refdate(close,date2),nodraw;
e8:=ref(c,barslast(date=20180702)),nodraw;
指定日期:=year==2016 and month==7 and day==3,nodraw;
当日收盘:=ref(close,barslast(指定日期));
昨日收盘:=ref(close,barslast(year==2018 and month==7 and day==2));
//macd
diff:=ema(close,12) - ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea);
drawtext(cross(diff,dea),a11,"m"),coloryellow;
drawtext(cross(dea,diff),a11,"m"),colorgreen;
h1:hod(h,144),nodraw;
l1:lod(l,144),nodraw;
drawtext(h1=144 and l1=1 and b>a11,a11*0.95,"hl"),colorred;
llv1:llvbars(l,21),nodraw;
drawnumber(ref((cross(b,g) and (a1 and a2 or d<0)) or cross(b,g),1),a11*0.95,tostring(a11,2));
上一指标公式:淡泊通道。副图,源码。附图.指标下载 同花顺淡泊
下一指标公式:资金动向预知.副图.源码.指标下载 同花顺动向资金
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文淡泊预测.副图,源码.指标下载 同花顺淡泊仅供学习研究。