指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:主图公式下载 大智慧主图
{n= 1 999 80 , m= 1 15 3}
高1:=ref(hhv(h,150),3);
低1:=ref(llv(l,150),3);
h1:=高1-(高1-低1)*0.191;
h2:=高1-(高1-低1)*0.382;
h3:=高1-(高1-低1)*0.5;
h4:=高1-(高1-低1)*0.618;
h5:=高1-(高1-低1)*0.809;
{顶:refdate(高1,date),pointdot,colorwhite;}
%19:refdate(h1,date),pointdot,coloryellow,linethick3;
%38:refdate(h2,date),pointdot,colormagenta,linethick3;
%50:refdate(h3,date),pointdot,colorligray,linethick3;
%61:refdate(h4,date),pointdot,colorred,linethick3;
%80:refdate(h5,date),pointdot,colorwhite,linethick3;
aa05:ma(c,5),linethick3,color0099cc;
五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:ema((速度5-ref(速度5,1)),3),nodraw;
if(bb05>30 and aa05>ref(aa05,1), aa05,drawnull),linethick3,colorred;
aa10:ma(c,10);aa20:=ma(c,20);
bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
if(bb05<0 and aa05<ref(aa05,1), aa05,drawnull),linethick3,colorgreen;
aa30:ma(c,30);
三拾日乖离率:(c-aa30)/aa30*100,nodraw;
var1:=(aa20-aa30)>ref((aa20-aa30),1) and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var2:=(aa30-aa20)<ref((aa30-aa20),1) and aa20<ref(aa20,1) and aa30<ref(aa30,1);
bb30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
if(bb30>15 and aa30>ref(aa30,1), aa30,drawnull),linethick3,colorff00ff;
强势狙击:=filter(bb30>30 and bb10>45 and cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and aa05>ref(aa05,1)and 三拾日乖离率>ref(三拾日乖离率,1) and aa10>ref(aa10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1),10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>aa30 or o>aa30) and aa05<ref(aa05,1)and 三拾日乖离率<ref(三拾日乖离率,1) and aa10<ref(aa10,1),10);
drawtext(加仓 ,low*0.98,'←加仓'),colorred;
jc:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and aa10>ref(aa10,1) ;
减仓:=filter(jc,10);
mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and aa05>ref(aa05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<aa30;
买入:=filter(mr,10);
drawtext(减仓,high*1.02,'←减仓'),colorcyan;
drawtext(买入,low*0.98,'←买入'),coloryellow;
var21:=max(abs(high-amount/vol/100),abs(amount/vol/100-low));
var3:=abs((open+close)/2-amount/vol/100);
mv:=(var21+var3)/amount*vol*100*50;
>>>使用本站搜索工具可以找到更多“主图公式下载 大智慧主图”