drawgbk((date > 0),colorrgb(40,40,173),colorrgb(1,1,14),1);
stickline(close>open,close,open,8,0),coloraa;
stickline(close<open,close,open,8,0),color998855;
stickline(close>open,close,open,5,0),colorcc;
stickline(close>open,close,open,3,0),colordd;
stickline(close>open,high,low,0,0),colorff;
stickline(close<open,close,open,5,0),colorbbaa77;
stickline(close<open,close,open,3,0),colorddcc99;
stickline(close<open,high,low,0,0),colorffeebb;
fh:=high;
fl:=low;
sell:=0*fh;
buy:=sell;
signal:=sell;
boxh:sell,linethick0;
boxl:sell,linethick0;
variable:hc=0,lc=0,bt=fh[1],bb=fh[1];
for i=1 to datacount do begin
if hc>1 then begin
if lc>2 and bt<=fh[i] then begin
buy[i]:=1;
for j=i-1 downto i-hc do begin
boxh[j]:=fh[i-hc],linethick0;
boxl[j]:=fl[i-lc],linethick0;
end;
hc:=0;
lc:=0;
end;
if bt>fh[i] then begin
if lc>2 then begin
if bb>=fl[i] then begin
sell[i]:=1;
for j=i-1 downto i-hc do begin
boxh[j]:=fh[i-hc],linethick0;
boxl[j]:=fl[i-lc],linethick0;
end;
hc:=-1;
lc:=0;
end;else begin
boxh[i]:=fh[i-hc],linethick0;
boxl[i]:=fl[i-lc],linethick0;
end;
end;
hc:=hc+1;
if lc>1 then begin
if bb<fl[i] then begin
lc:=lc+1;
if lc=3 then begin
signal[i-hc+1]:=1;
for j=i downto i-hc+1 do begin
boxh[j]:=fh[i-hc+1],linethick0;
boxl[j]:=fl[i-lc+1],linethick0;
end;
end;
end;else
lc:=0;
end;else
if lc=1 then begin
if bb<fl[i] then begin
lc:=lc+1;
end;else
lc:=0;
end;
if lc=0 and hc>1 then begin
bb:=fl[i];
lc:=lc+1;
end;
end;else begin
hc:=0;
lc:=0;
end;
end;else
if hc=1 then begin
if bt>fh[i] then
hc:=hc+1;else begin
hc:=0;
lc:=0;
end;
end;
if hc=0 then begin
bt:=fh[i];
hc:=hc+1;
end;
end;
partline(boxh and boxh=ref(boxh,1),boxh),linedot,colorffff;
partline(boxl and boxl=ref(boxl,1),boxl),linedot,colorffff;
stickline((signal or refx(buy or sell,1)) and boxh,boxh,boxl,0.1,0),linedot,colorffff;
drawicon(buy,low*0.98,4);
drawicon(sell,high*1.02,5);
a1:=boxh and boxh=ref(boxh,1);
a2:=refx(ref(a1=0,1) and a1=1,1);
a3:=refx(ref(a1=1,1) and a1=0,1);
drawline(a2,boxl,a3,boxh,0),colorff9900;
drawline(a2,boxh,a3,boxl,0),colorff00;
partline(boxh and boxh=ref(boxh,1),(boxh-boxl)/2+boxl),colorff9900;
stickline((signal or refx(buy or sell,1)) and boxh,boxh,boxl,0.1,0),linedot,colorffff;
zz:=backset(refx(buy or sell,1),barslast(signal)/2);
zx:=refx(ref(zz=0,1) and zz=1,1);
drawline(signal,boxh,zx,boxl,0),linedot,colorff00;
drawline(signal,boxh,refx(buy or sell,1),(boxh-boxl)/2+boxl,0),linedot,colorff00;
drawline(signal,boxl,zx,boxh,0),linedot,colorff9900;
drawline(signal,boxl,refx(buy or sell,1),(boxh-boxl)/2+boxl,0),linedot,colorff9900;
drawline(signal,boxh,islastbar and boxh>boxl,boxl,0),colorff00;
drawline(signal,boxh,islastbar and boxh>boxl,(boxh-boxl)/2+boxl,0),linedot,colorff00;
drawline(signal,boxl,islastbar and boxh>boxl,boxh,0),colorff9900;
drawline(signal,boxl,islastbar and boxh>boxl,(boxh-boxl)/2+boxl,0),linedot,colorff9900;
za:=backset(islastbar and boxh>boxl,barslast(signal)/2);
zb:=refx(ref(za=0,1) and za=1,1);
drawline(signal,boxh,zb,boxl,0),linedot,colorff00;
drawline(signal,boxl,zb,boxh,0),linedot,colorff9900;
上一指标公式:发一个涨停攻击公式下载 飞狐涨停指标 源码
下一指标公式:私募-分时形态图㊣公式下载 飞狐私募指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文最美箱体公式下载 飞狐箱体最美指标 源码仅供学习研究。