最新改进之波神凯线1.1版input:年(8,0,100),月(1,1,12),日(1,1,31),年2(8,0,100),月2(1,1,12),日2(1,1,31),做多吗(1,0,1),测量(1,1,4);
date1:=年*10000+月*100+日+1000000;
date2:=年2*10000+月2*100+日2+1000000;
hh:=ref(h,barslast(date1=date));
hh2:=if(ref(h,barslast(date1=date))<ref(h,barslast(date1=date)-1),ref(h,barslast(date1=date)-1),if(ref(h,barslast(date1=date))<ref(h,barslast(date1=date)-2),ref(h,barslast(date1=date)-2),ref(h,barslast(date1=date)-1)));
ll2:=if(ref(l,barslast(date1=date))>ref(l,barslast(date1=date)-1),ref(l,barslast(date1=date)-1),if(ref(l,barslast(date1=date))>ref(l,barslast(date1=date)-2),ref(l,barslast(date1=date)-2),ref(l,barslast(date1=date)-1)));
hh31:=ref(o,barslast(date1=date));
hh32:=ref(c,barslast(date1=date));
hh3:=min(hh31,hh32);
ll3:=max(hh31,hh32);
hh4:=if(做多吗,ref(h,barslast(date=date2)),ref(h,barslast(date=date1)));
ll4:=if(做多吗,ref(l,barslast(date=date1)),ref(l,barslast(date=date2)));
llow:=ref(low,barslast(date1=date));
h1:=strtonum(numtostr(hh));
l1:=strtonum(numtostr(llow));
h2:=strtonum(numtostr(hh2));
l2:=strtonum(numtostr(ll2));
h3:=strtonum(numtostr(hh3));
l3:=strtonum(numtostr(ll3));
h4:=strtonum(numtostr(hh4));
l4:=strtonum(numtostr(ll4));
ll1:=if(测量=1,h1-l1,if(测量=2 and 做多吗=1,h2-l1,if(测量=2 and 做多吗<>1,h1-l2,if(测量=3 and 做多吗=1,h3-l1,if(测量=3 and 做多吗<>1,h1-l3,if(测量=4,h4-l4,h4-l4))))));
ll:=strtonum(numtostr(ll1));
vertline(date=date1,0),colorb0b0b0,linethick2;
if 测量=4 then vertline(date=date2,1),colorbbbbbb;
if 做多吗=1 then
begin
多开门:ll*1.508 + l1,colorred,linethick2;
一线:l1+ll*2,colorwhite,dotline;
二线:l1+ll*2.4,colorwhite,dotline;
三线:l1+ll*3.05,color0045ff;
四线:l1+ll*3.75,colorwhite,dotline;
五线:l1+ll*4.15,color00a5ff;
六线:l1+ll*4.8,colorwhite,dotline;
七线:l1+ll*5.5,colorcbc0ff;
八线:l1+ll*6.1,colorwhite,dotline;
多关门:l1+ll*6.90001,linethick2;
drawtext(barstatus=2,ll*1.50801+l1,numtostr(ll*1.508+l1)+'多开门'),colorb0b0b0,align2;
drawtext(barstatus=2,l1+ll*3.05001,numtostr(l1+ll*3.05)+' no:3'),colorb0b0b0,align2;
drawtext(barstatus=2,l1+ll*4.15001,numtostr(l1+ll*4.15)+' no:5'),colorb0b0b0,align2;
drawtext(barstatus=2,l1+ll*5.50001,numtostr(l1+ll*5.5)+' no:7'),colorb0b0b0,align2;
drawtext(barstatus=2,l1+ll*6.90001,numtostr(l1+ll*6.9)+'多关门'),colorb0b0b0,align2;
end;
if 做多吗<>1 then
begin
空开门:h1-ll*1.508,linethick2;
空一线:h1-ll*2,colorwhite,dotline;
空二线:h1-ll*2.4,colorwhite,dotline;
空三线:h1-ll*3.05,colord30094;
空四线:h1-ll*3.75,colorwhite,dotline;
空五线:h1-ll*4.15,color00a5ff;
空六线:h1-ll*4.8,colorwhite,dotline;
空七线:h1-ll*5.5,color104974;
空八线:h1-ll*6.1,colorwhite,dotline;
空关门:h1-ll*6.9,linethick2;
drawtext(barstatus=2,h1-ll*1.50801,numtostr(h1-ll*1.508)+'空开门'),colorb0b0b0,align2;
drawtext(barstatus=2,h1-ll*3.05001,numtostr(h1-ll*3.05)+' no:3'),colorb0b0b0,align2;
drawtext(barstatus=2,h1-ll*5.50001,numtostr(h1-ll*5.5)+' no:7'),colorb0b0b0,align2;
drawtext(barstatus=2,h1-ll*6.90001,numtostr(h1-ll*6.9)+'空关门'),colorb0b0b0,align2;
end;
{-----------------------------立体k线--------------------------------------}
ko:=close;
kc:=ref(close,1);
stickline(ko<=kc ,close ,open,8,0 ),color008800;
stickline(ko<=kc ,close ,open,7,0 ),color009900;
stickline(ko<=kc ,close ,open,6,0 ),color00aa00;
stickline(ko<=kc ,close ,open,5,0 ),color00bb00;
stickline(ko<=kc,close ,open,4,0 ),color00cc00;
stickline(ko<=kc,close ,open,3,0 ),color33dd00;
stickline(ko<=kc,close ,open,2,0 ),color00ee00;
stickline(ko<=kc,close ,open,1,0 ),color66ff00;
stickline(ko>kc,close,open,8,0 ),color000088;
stickline(ko>kc,close,open,7,0 ),color000099;
stickline(ko>kc,close,open,6 ,0 ),color0000aa;
stickline(ko>kc,close,open,5,0 ),color0000bb;
stickline(ko>kc,close,open,4,0 ),color0000cc;
stickline(ko>kc,close,open,3 ,0 ),color0000dd;
stickline(ko>kc,close,open,2,0 ),color0000ee;
stickline(ko>kc,close,open,1 ,0 ),color0033ff;
stickline(ko>kc,open,low,0.5,0 ),colorred;
stickline(ko>kc,close,high,0.5 ,0 ),colorred;
stickline(ko<=kc,close,low,0.5 ,0 ),color66cc33;
stickline(ko<=kc,open,high,0.5 ,0 ),color66cc33;
上一指标公式:红牛波浪公式下载 大智慧波浪
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文最新改进之波神凯线1.1版公式下载 大智慧1.1最新仅供学习研究。