优化后的理想lxzt主图源码下载:
b1:=ref(c,1);
b2:=ref(c,2);
ss:=if(c>ref(c,1) and ref(c,1)>=ref(c,2),1,if(c<ref(c,1) and ref(c,1)<=ref(c,2),-1,if(c>ref(c,2) and ref(c,2)>ref(c,1),2,if(c<ref(c,2) and ref(c,2)<ref(c,1),-2,0))));
sm:=if(ref(ss,1)!=0,ref(ss,1),if(ref(ss,2)!=0,ref(ss,2),if(ref(ss,3)!=0,ref(ss,3),if(ref(ss,5)!=0,ref(ss,5),if(ref(ss,6)!=0,ref(ss,6),if(ref(ss,7)!=0,ref(ss,7),0))))));
stickline(ss=1 or sm>=1 and ss=0,b1,c,3,0),colorred;
stickline(ss=2,b2,c,3,0),colorred;
stickline((ss=-1 or ss=-2) and sm>0,b2,b1,3,0),colorred;
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;
{红}
stickline(c>o,c,o,3,0),color000077;
{好公式网-最好的股票公式网站 www.goodgongshi.com}
stickline(c>o,c,o,2,0),color000099;
stickline(c>o,c,o,1,0),color0000bb;
stickline(c>o,h,l,0,0),color0000ff;
{绿}
stickline(c<o,c,o,3,0),color007700;
stickline(c<o,c,o,2,0),color009900;
stickline(c<o,c,o,1,0),color00bb00;
stickline(c<o,h,l,0,0),color00ff00;
tc1:=if(h=hhv(h,8*14),h,drawnull);
tc2:=const(barslast(tc1=h))+1;
upper:=const(if(tc2=1,h,ref(h,tc2-1)));
bc1:=if(l=llv(l,8*20),l,drawnull);
bc2:=const(barslast(bc1=l))+1;
lower:=const(if(bc2=1,l,ref(l,bc2-1)));
lp:=currbarscount<=bc2 and l=lower;{低点定位}
hp:=currbarscount<=tc2 and h=upper;{高点定位};
stickline(lp,l*0.992,l,13,0),colorff00ff;
stickline(hp,h,h*1.005,13,0),color00ff00;
x1:if(currbarscount<=max(bc2,tc2),upper,drawnull),color89615f;
x2:if(currbarscount<=max(bc2,tc2),lower,drawnull),color89615f;
x3:if(currbarscount<=max(bc2,tc2),if(bc2>tc2,upper-(upper-lower)*0.146,lower+(upper-lower)*0.146),drawnull),color89615f;
x4:if(currbarscount<=max(bc2,tc2),if(bc2>tc2,upper-(upper-lower)*0.191,lower+(upper-lower)*0.191),drawnull),color89615f;
x5:if(currbarscount<=max(bc2,tc2),if(bc2>tc2,upper-(upper-lower)*0.236,lower+(upper-lower)*0.236),drawnull),color89615f;
x6:if(currbarscount<=max(bc2,tc2),if(bc2>tc2,upper-(upper-lower)*0.382,lower+(upper-lower)*0.382),drawnull),color89615f;
x7:if(currbarscount<=max(bc2,tc2),if(bc2>tc2,upper-(upper-lower)*0.5,lower+(upper-lower)*0.5),drawnull),color89615f;
x8:if(currbarscount<=max(bc2,tc2),if(bc2>tc2,upper-(upper-lower)*0.618,lower+(upper-lower)*0.618),drawnull),color89615f;
x9:if(currbarscount<=max(bc2,tc2),if(bc2>tc2,upper-(upper-lower)*0.764,lower+(upper-lower)*0.764),drawnull),color89615f;
x10:if(currbarscount<=max(bc2,tc2),if(bc2>tc2,upper-(upper-lower)*0.809,lower+(upper-lower)*0.809),drawnull),color89615f;
drawtext(currbarscount=min(bc2,tc2)+8,x1,'upper');
drawtext(currbarscount=min(bc2,tc2)+8,x2,'lower');
drawtext(currbarscount=min(bc2,tc2)+8,x3,'0.146');
drawtext(currbarscount=min(bc2,tc2)+8,x4,'0.191');
drawtext(currbarscount=min(bc2,tc2)+8,x5,'0.236');
drawtext(currbarscount=min(bc2,tc2)+8,x6,'0.382');
drawtext(currbarscount=min(bc2,tc2)+8,x7,'0.5');
drawtext(currbarscount=min(bc2,tc2)+8,x8,'0.618');
drawtext(currbarscount=min(bc2,tc2)+8,x9,'0.764');
drawtext(currbarscount=min(bc2,tc2)+8,x10,'0.809');
cb1:=const(if(tc2>bc2,lower,llv(l,tc2)));
cb2:=const(barslast(l=cb1));
cb3:=const(ref(barslast(o>c),cb2)+cb2);
cb4:=if(cb1<upper-(upper-lower)*0.52,const(if(cb2=0 and o>c,c,ref(c,cb3))),drawnull);
cb5:=if(capital=0 and bc2>tc2,cb4,drawnull);
参考线:if(capital=0 and bc2>tc2 and currbarscount<=intpart(cb2+(tc2-cb2)*0.382) and currbarscount>cb2,cb4,drawnull);
drawtext(currbarscount=intpart(cb2+(tc2-cb2)*0.382),参考线,'参考线');
确底线:参考线*1.06;
drawtext(currbarscount=intpart(cb2+(tc2-cb2)*0.382),确底线,'确底线');
确防线:确底线*1.06;
drawtext(currbarscount=intpart(cb2+(tc2-cb2)*0.382),确防线,'确防线');
drawtext(currbarscount=tc2-8 and cb5>0,upper-(upper-lower)*0.091,'■确底线仅仅适用于指数'),color3171d0;
drawtext(currbarscount=tc2-8 and cb5>0,upper-(upper-lower)*0.151,'■请确认已跌去前一波大行情涨幅的百分之52以上'),color3171d0;
drawtext(currbarscount=tc2-8 and cb5>0,upper-(upper-lower)*0.208,'■跌幅不够百分之52仅仅作为反弹看待而不是新底'),color3171d0;
drawicon(var19,(low * 0.98),34);
drawicon(var1a,(h*1.01),35);
铁血参数:= 8.00 ;
c1:=(c+o+h+l)/4;
cz3:=ema(c1,5);
ww1:=ema(c1,8);
ww2:=ema(c1,10);
ak1:=ema((cz3+ww1+ww2)/3,3);
铁血乾坤线:=ema(ema(ema(ak1,3),5),铁血参数);
铁血追杀:if(铁血乾坤线>ref(铁血乾坤线,1),铁血乾坤线,drawnull),colorred,linethick2;
铁血出逃:if(铁血乾坤线<ref(铁血乾坤线,1),铁血乾坤线,drawnull),colorgreen,linethick2;
最小变动:=if(codelike('600') or codelike('300') or codelike('00'),
0.01,0.001),nodraw;
st:=if(namelike('st') or namelike('*st'),5,10)nodraw;
涨停价:=intpart(ref(c,1)*(1+st/100)/最小变动+0.5)*最小变动;
跌停价:=intpart(ref(c,1)*(1-st/100)/最小变动+0.5)*最小变动;
涨停:=c>涨停价-最小变动/2 and c<涨停价+最小变动/2 ;
跌停:=c>跌停价-最小变动/2 and c<跌停价+最小变动/2 ;
stickline(涨停,c,o,2.8,0),color00ffff;
stickline(跌停,c,o,2.8,0),colorff6633;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文优化后的理想LXZT主图下载仅供学习研究。