紫气东来源码下载:
rsv:=(close-llv(low,30))/(hhv(high,30)-llv(low,30))*100;
k:=sma(rsv,5,1);
d:=sma(k,3,1);
j:=3*k-2*d;
var2:=ref(low,1);
var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100;
var4:=ema(if(close*1.3,var3*10,var3/10),3);
var5:=llv(low,30);
var6:=hhv(var4,30);
var7:=if(ma(close,58),1,0);
var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7;
var9:=if(var8>100,100,var8);
//吸筹:stickline(var9>-120,0,var9,6,1),colormagenta;
aa3:=(hhv(high,21)-close)/(hhv(high,21)-llv(low,21))*100-10;
aa4:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;
aa5:=sma(aa4,13,8);//www.goodgongshi.com
散户线: 100*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60)),colorgreen;
主力线:ema(j,6),coloryellow;
操作:ceiling(sma(aa5,13,8)),colorred,linethick2;
aa6:=sma(aa3,21,8);
//买: stickline(操作-aa6<-65,0,7,15,1);
drawicon(filter(j>ref(j,1) and 操作>=ref(操作,1) and 操作<25,5),操作,"buy");
//卖: stickline(操作-aa6>85,98,90,15,1),colorffff00;
drawicon(filter(j<=ref(操作,1) and 操作>85,5),j,"sell");
var1:=(hhv(high,9)-close)/(hhv(high,9)-llv(low,9))*100-70;
var2:=sma(var1,9,1)+100;
var3:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
var4:=sma(var3,3,1);
var5:=sma(var4,3,1)+100;
var6:=var5-var2;
s: if(var6>100,var6-100,0),colorred;
顶:(s<ref(s,1) and ref(s,1)>ref(s,2))*3;
底:(s>0 and ref(s,1)=0)*3;
stickline(ref(s,1)<s,s,ref(s,1),5,0),colormagenta;
stickline(ref(s,1)>s,s,ref(s,1),5,0);
drawtext_fix(1,0.01,0.82,0,''),colorred;
n:=19;
var1:=hhv(high,n);
var2:=llv(low,n);
阻力线:100*ema((close-var2)/(var1-var2),21)-0.5,colorf0f000,linethick2;
操作线:=100*ema((close-var2)/(var1-var2),5)-0.5,colorwhite,linethick1;
//drawtext(cross(操作线,阻力线) and 阻力线<0.1,阻力线,'突破'),coloryellow;
//drawtext(cross(阻力线,操作线) and 阻力线>0.25,阻力线,'破位'),colorgreen;
红绿棒:(操作线-阻力线),colorstick;
drawtext(cross(zig(3,5),ref(zig(3,5),1)),low*0.95,'↑'),colorliblue,linethick2;//变量
drawtext(cross(ref(zig(3,10),1),zig(3,10)),high*1.01,'↓') ,colorliblue,linethick2;//变量
//drawtext(cross(操作,阻力线),操作*0.95,'★') ,linethick2,colorlimagenta;
//drawtext(cross(阻力线,操作),阻力线*1.1,'★') ,linethick2,colorgreen;
b:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
a:=close;
drawtext(cross(b,a),-5,'空') ,linethick2,coloryellow;
drawtext(cross(a,b),11,'多') ,linethick2,coloryellow;
tr=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),14);
hd=high-ref(high,1);
ld=ref(low,1)-low;
dmp=sum(if(hd>0 and hd>ld,hd,0),14);
dmm=sum(if(ld>0 and ld>hd,ld,0),14);
di1:=dmp*100/tr;
di2:=dmm*100/tr;
adx:=ma(abs(di2-di1)/(di1+di2)*100,6);
adxr:=(adx+ref(adx,6))/2;
drawtext(cross(di1,di2)>0 and adx>40,adx,'⊙') ,linethick2,colorred;
drawtext(cross(di1,di2) ,di1*1.5,'⊙') ,linethick2,colorred;
drawtext(cross(di2,di1) ,di1*1.5,'⊙') ,linethick2,colorgreen;
drawtext(cross(adxr,adx)and adx>50 ,adxr*1.5,'⊙') ,linethick2,coloryellow;
//drawtext(cross(adxr,adx)and adx<50 ,adxr*1.5,'⊙') ,linethick2,colorliblue;
drawtext(ref(adxr,1)>adxr and adxr>50, adxr*1.5,'⊙') ,linethick2,colorwhite;
rsi1:=sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100;
rsi2:=sma(max(close-ref(close,1),0),12,1)/sma(abs(close-ref(close,1)),12,1)*100;
rsi3:=sma(max(close-ref(close,1),0),24,1)/sma(abs(close-ref(close,1)),24,1)*100;
drawtext(cross(rsi1,rsi3),rsi1*0.95,'买') ,linethick2,colorred;
drawtext(cross(rsi3,rsi1),rsi3*1.1,'卖') ,linethick2,colorgreen;
//stickline(cross(rsi1,rsi3) and cross(a,b) ,90,0,3,0),color0099ff;
//stickline(cross(rsi3,rsi1) and cross(b,a) ,90,0,3,0),colorligreen;
typ := (if(isnull(high),close,high) + if(isnull(low),close,low) + close)/3;
cci:(typ-ma(typ,14))/(0.015*avedev(typ,14))*0.1,colorwhite;
//drawtext(cci=-10, cci,'◆') ,linethick2,colorwhite
//drawtext(ref(cci,1)>cci and cci<100 and cci>80, cci,'◆') ,linethick2,colorwhite;
mvar1:=ref((low+open+close+high)/4,1);
mvar2:=sma(abs(low-mvar1),13,1)/sma(max(low-mvar1,0),10,1);
mvar3:=ema(mvar2,10);
mvar4:=llv(low,33);
mvar5:=ema(if(low<=mvar4,mvar3,0),3);
z:0,colorblack;
主力进场:if(mvar5>ref(mvar5,1),mvar5,0),colorred,nodraw;
洗盘:if(mvar5<ref(mvar5,1),mvar5,0),colorgreen,nodraw;
stickline(mvar5<ref(mvar5,1),0,mvar5,3,0),colorgreen;
stickline(mvar5>ref(mvar5,1),0,mvar5,3,0 ),color000055;
stickline(mvar5>ref(mvar5,1),0,mvar5,2.6,0 ),color000077;
stickline(mvar5>ref(mvar5,1),0,mvar5,2.1,0 ),color000099;
stickline(mvar5>ref(mvar5,1),0,mvar5,1.5,0 ),color0000bb;
stickline(mvar5>ref(mvar5,1),0,mvar5,0.9,0 ),color0000dd;
stickline(mvar5>ref(mvar5,1),0,mvar5,0.3,0 ),color0000ff;
stickline(mvar5<ref(mvar5,1),0,mvar5,3,0),color005500;
stickline(mvar5<ref(mvar5,1),0,mvar5,2.6,0),color007700;
stickline(mvar5<ref(mvar5,1),0,mvar5,2.1,0),color009900;
stickline(mvar5<ref(mvar5,1),0,mvar5,1.5,0),color00bb00;
stickline(mvar5<ref(mvar5,1),0,mvar5,0.9,0),color00dd00;
stickline(mvar5<ref(mvar5,1),0,mvar5,0.3,0),color00ff00;
mvar21:=sma(abs(high-mvar1),13,1)/sma(min(high-mvar1,0),10,1);
mvar31:=ema(mvar21,10);
mvar41:=hhv(high,33);
mvar51:=ema(if(high>=mvar41,mvar31,0),3);
主力拉高:if(mvar51<ref(mvar51,1),mvar51,0),coloryellow,nodraw;
stickline(mvar51<ref(mvar51,1),0,mvar51,3,0),coloryellow;
出货:if(mvar51>ref(mvar51,1),mvar51,0),colorcyan,nodraw;
stickline(mvar51>ref(mvar51,1),0,mvar51,3,0 ),colorcyan;
tr=ema(ema(ema(close,12),12),12);
trix1:=(tr-ref(tr,1))/ref(tr,1)*100;
trma1:=ma(trix1,20);
stickline(trix1>trma1 and ref(trix1,1)<trix1,98,90,15,1),colorliblue;
mtm:close-ref(close,12);
mamtm:ma(mtm,6);
//drawtext(cross(mtm,mamtm) and close>open ,mamtm,'买') ,80,colorred;
//drawtext(cross(mamtm,mtm)and mamtm>0,mamtm,'卖') ,80,colorgreen;
//stickline(cross(mtm,mamtm) and close>open,90,0,3,0),colorlired;
//stickline(cross(mtm,mamtm) and 操作>阻力线,90,0,3,0),colorlired;
//stickline(cross(mtm,mamtm) and 主力线>阻力线,90,0,3,0),colorlired;
stickline(cross(a,b),90,0,3,0),colorlired;
stickline(cross(mamtm,mtm)and mamtm>0 ,90,0,3,0),colorligreen;
//stickline(mtm>0,80,90,15,1),colorliblue;
上一指标公式:私募内部战法副图下载
下一指标公式:一阳穿3线主图下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文紫气东来下载仅供学习研究。