短线交易秘诀源码下载:
ts:=130;n:=99;m:=3;mt:=3;
m1:=5;m2:=7;m3:=21;m4:=12;m5:=50;
da1:=if(ts>totalbarscount,totalbarscount,ts);
da:=if(currbarscount>da1,0,da1);
hi:=refdate(hhv(h,da),date);
lo:=refdate(llv(l,da),date);
c1:=if(currbarscount<=da,c,drawnull);
gz:=exp(ln(hi/lo)/10);//www.goodgongshi.com
lh1:=sum(if(c1>=(hi/gz),v,0),da);
lh2:=sum(if(c1>=(hi/pow(gz,2)) and c1<(hi/gz),v,0),da);
lh3:=sum(if(c1>=(hi/pow(gz,3)) and c1<(hi/pow(gz,2)),v,0),da);
lh4:=sum(if(c1>=(hi/pow(gz,4)) and c1<(hi/pow(gz,3)),v,0),da);
lh5:=sum(if(c1>=(hi/pow(gz,5)) and c1<(hi/pow(gz,4)),v,0),da);
lh6:=sum(if(c1>=(hi/pow(gz,6)) and c1<(hi/pow(gz,5)),v,0),da);
lh7:=sum(if(c1>=(hi/pow(gz,7)) and c1<(hi/pow(gz,6)),v,0),da);
lh8:=sum(if(c1>=(hi/pow(gz,8)) and c1<(hi/pow(gz,7)),v,0),da);
lh9:=sum(if(c1>=(lo*gz) and c1<lo*pow(gz,2),v,0),da);
lh10:=sum(if(c1>=lo and c1<lo*gz,v,0),da);
l1:=refdate(hhv(lh1,da),date),linethick0;
l2:=refdate(hhv(lh2,da),date),linethick0;
l3:=refdate(hhv(lh3,da),date),linethick0;
l4:=refdate(hhv(lh4,da),date);
l5:=refdate(hhv(lh5,da),date);
l6:=refdate(hhv(lh6,da),date);
l7:=refdate(hhv(lh7,da),date);
l8:=refdate(hhv(lh8,da),date);
l9:=refdate(hhv(lh9,da),date);
l10:=refdate(hhv(lh10,da),date);
ss:=(l1+l2+l3+l4+l5+l6+l7+l8+l9+l10);
stickline(ceiling(da*l1/ss)*3>=currbarscount,hi*n/100,(hi/gz),1,1),color454545,linethick1;
stickline(ceiling(da*l2/ss)*3>=currbarscount,hi/pow(gz,1)*n/100,hi/pow(gz,2),1,1),color454545,linethick1;
stickline(ceiling(da*l3/ss)*3>=currbarscount,hi/pow(gz,2)*n/100,hi/pow(gz,3),1,1),color454545,linethick1;
stickline(ceiling(da*l4/ss)*3>=currbarscount,hi/pow(gz,3)*n/100,hi/pow(gz,4),1,1),color454545,linethick1;
stickline(ceiling(da*l5/ss)*3>=currbarscount,hi/pow(gz,4)*n/100,hi/pow(gz,5),1,1),color454545,linethick1;
stickline(ceiling(da*l6/ss)*3>=currbarscount,hi/pow(gz,5)*n/100,hi/pow(gz,6),1,1),color454545,linethick1;
stickline(ceiling(da*l7/ss)*3>=currbarscount,hi/pow(gz,6)*n/100,hi/pow(gz,7),1,1),color454545,linethick1;
stickline(ceiling(da*l8/ss)*3>=currbarscount,lo*pow(gz,2),lo*pow(gz,3)*n/100,1,1),color454545,linethick1;
stickline(ceiling(da*l9/ss)*3>=currbarscount,lo*pow(gz,1),lo*pow(gz,2)*n/100,1,1),color454545,linethick1;
stickline(ceiling(da*l10/ss)*3>=currbarscount,lo,lo*pow(gz,1)*n/100,1,1),color454545,linethick1;
drawkline(h,o,l,c);jj:=(close+high+low)/3;
drawband(ma(c,2),rgb(108,0,1),ma(c,7),rgb(28,134,238));
今日保护价:(ref(c,2)+ref(c,1)+o)/3 ,color8080ff,nodraw;
aa05:ma(c,3),linethick3,color00ccff;
五日乖离率:=(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),linethick6,color5959ff;
aa10:ma(c,10),color4080ff;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),color515100,linethick3;
三拾日乖离率:(c-aa30)/aa30*100,nodraw;
var111:=(aa20-aa30)>ref((aa20-aa30),1) and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var122:=(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.96,'加仓'),colorffffff;
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,'买'),colorffffff;
drawtext(清仓 ,high*1.02,'清仓'),colorgreen;
drawtext(强势狙击,low*0.98,'强势狙击'),coloryellow;
var1:=close>ref(close,1) and close>ref(close,2);
var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2);
var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2);
var4:=ref(var3,1) and close<=ref(close,1) and close>=ref(close,2);
var5:=ref(var4,1) and close>=ref(close,1) and close<=ref(close,2);
var6:=ref(var5,1) and close<=ref(close,1) and close>=ref(close,2);
var7:=ref(var6,1) and close>=ref(close,1) and close<=ref(close,2);
var8:=ref(var7,1) and close<=ref(close,1) and close>=ref(close,2);
var9:=ref(var8,1) and close>=ref(close,1) and close<=ref(close,2);
vara:=ref(var9,1) and close<=ref(close,1) and close>=ref(close,2);
varb:=ref(vara,1) and close>=ref(close,1) and close<=ref(close,2);
varc:=ref(varb,1) and close<=ref(close,1) and close>=ref(close,2);
vard:=close<ref(close,1) and close<ref(close,2);vare:=ref(vard,1)
and close>=ref(close,1) and close<=ref(close,2);
varf:=ref(vare,1) and close<=ref(close,1) and close>=ref(close,2);
var10:=ref(varf,1) and close>=ref(close,1) and close<=ref(close,2);
var11:=ref(var10,1) and close<=ref(close,1) and close>=ref(close,2);
var12:=ref(var11,1) and close>=ref(close,1) and close<=ref(close,2);
var13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2);
var14:=ref(var13,1) and close>=ref(close,1) and close<=ref(close,2);
var15:=ref(var14,1) and close<=ref(close,1) and close>=ref(close,2);
var16:=ref(var15,1) and close>=ref(close,1) and close<=ref(close,2);
var17:=ref(var16,1) and close<=ref(close,1) and close>=ref(close,2);
var18:=ref(var17,1) and close>=ref(close,1) and close<=ref(close,2);
var19:=ref(vard or vare or varf or var10 or var11 or var12 or var13 or
var14 or var15 or var16 or var17 or var18,1) and var1;
var1a:=ref(var1 or var2 or var3 or var4 or var5 or var6 or var7 or
var8 or var9 or vara or varb or varc,1) and vard;
drawicon(var19,ref(close,1)*0.98,34);
drawicon(var1a,ref(close,1)*1.02,35);
短线成本:ema(close,17),colorwhite,dotline;
a:=(3*c+l+o+h)/6;
x:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+
15*ref(a,5)+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)
+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref
(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210;
中线成本:ema(x,13),colorff00ff,dotline;
kka:=ema(c,5);
kkb:=ema(kka,8);
kkc:=ema(kkb,13);
长线成本:ema(kkc,50), colorgreen,dotline;
stickline(c>=o,c,o,3.4,0),color0000aa;
stickline(c>=o,c,o,3.0,0),color0000bb;
stickline(c>=o,c,o,2.4,0),color0000cc;
stickline(c>=o,c,o,2.0,0),color0000dd;
stickline(c>=o,c,o,1.6,0),color0000ee;
stickline(c>=o,c,o,1.2,0),color0000ff;
stickline(c>=o,c,o,0.6,0),color0000ff;
stickline(c>=o,h,l,0,0),colorred;
stickline(c<=o,c,o,3.4,0),coloraaaa00;
stickline(c<=o,c,o,3.0,0),colorbbbb00;
stickline(c<=o,c,o,2.4,0),colorcccc00;
stickline(c<=o,c,o,2.0,0),colordddd00;
stickline(c<=o,c,o,1.6,0),coloreeee00;
stickline(c<=o,c,o,1.2,0),colorffff00;
stickline(c<=o,c,o,0.6,0),colorffff00;
stickline(c<=o,h,l,0,0),colorffff00;
towerc:=forcast(ema((3*close+2*open+high+low)/7,3),6);
directionmax:=max(ref(towerc,1),ref(towerc,1));
directionmin:=min(ref(towerc,1),ref(towerc,1));
stickline(towerc>=ref(towerc,1),towerc,directionmax,3.5,1),colorlired;
stickline(towerc<ref(towerc,1),towerc,directionmin,3.5,1),colorblue;
......
上一指标公式:四线缠绕成本一致下载
下一指标公式:神猎手下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文短线交易秘诀下载仅供学习研究。