股价光标
input:w1(0,-1,1),w2(0.125,-1,1),w3(0.25,-1,1),w4(0.375,-1,1),w5(0.50,-1,1),
w6(0.625,-1,1),w7(0.75,-1,1),w8(0.875,-1,1),w9(1,-1,1);
//////以上参数根据自己需要可调
hhk:=h;
llk:=l;
光标:sysparam(6),linethick,color00aaff;
stickline(barpos=sysparam(1),光标,光标*0.999,600,0),color00aaff;
pp:=sysparam(1);
kk:=光标-c;
if kk[pp]>0 then begin
{光标向上}
起始l:llk[pp],color0066ff,linethick2;
涨幅统计:(光标-起始l)/起始l*100,linethick;
stickline(barpos=sysparam(1),起始l,光标,0.1,0),color00aaff;
drawtext(barpos=sysparam(1),起始l,'∨'),align0,pxup20,color00aaff;
drawtext(barpos=sysparam(1),光标,'∧'),align0,color00aaff;
drawtext(barpos=sysparam(1)-2,光标,numtostr(涨幅统计,3)),align2,pxup20,color00ffff;
x1:起始l*(1+w1),linedot,colorff9966;
x2:起始l*(1+w2),linedot,colorff9966;
x3:起始l*(1+w3),linedot,colorff9966;
x4:起始l*(1+w4),linedot,colorff9966;
x5:起始l*(1+w5),linedot,colorff9966;
x6:起始l*(1+w6),linedot,colorff9966;
x7:起始l*(1+w7),linedot,colorff9966;
x8:起始l*(1+w8),linedot,colorff9966;
x9:起始l*(1+w9),linedot,colorff9966;
drawnumber(barpos=sysparam(3),x1,x1,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x2,x2,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x3,x3,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x4,x4,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x5,x5,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x6,x6,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x7,x7,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x8,x8,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x9,x9,2),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x1,numtostr(w1*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x2,numtostr(w2*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x3,numtostr(w3*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x4,numtostr(w4*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x5,numtostr(w5*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x6,numtostr(w6*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x7,numtostr(w7*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x8,numtostr(w8*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x9,numtostr(w9*100,1)+'%'),coloraaaaaa,align2,pxup25;
end;
else begin
{光标向下}
起始h:hhk[pp],colorff66dd,linethick2;
跌幅统计:(光标-起始h)/起始h*100,linethick;
stickline(barpos=sysparam(1),起始h,光标,0.1,0),color00aaff;
drawtext(barpos=sysparam(1),起始h,'∨'),align0,pxup20,color00aaff;
drawtext(barpos=sysparam(1),光标,'∧'),align0,color00aaff;
drawtext(barpos=sysparam(1)-2,光标,numtostr(跌幅统计,3)),align2,pxup20,color00ffff;
x11:起始h*(1-w1),linedot,colorff9966;
x21:起始h*(1-w2),linedot,colorff9966;
x31:起始h*(1-w3),linedot,colorff9966;
x41:起始h*(1-w4),linedot,colorff9966;
x51:起始h*(1-w5),linedot,colorff9966;
x61:起始h*(1-w6),linedot,colorff9966;
x71:起始h*(1-w7),linedot,colorff9966;
x81:起始h*(1-w8),linedot,colorff9966;
x91:起始h*(1-w9),linedot,colorff9966;
drawnumber(barpos=sysparam(3),x11,x11,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x21,x21,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x31,x31,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x41,x41,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x51,x51,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x61,x61,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x71,x71,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x81,x81,2),coloraaaaaa,align2,pxup25;
drawnumber(barpos=sysparam(3),x91,x91,2),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x11,numtostr(-w1*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x21,numtostr(-w2*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x31,numtostr(-w3*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x41,numtostr(-w4*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x51,numtostr(-w5*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x61,numtostr(-w6*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x71,numtostr(-w7*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x81,numtostr(-w8*100,1)+'%'),coloraaaaaa,align2,pxup25;
drawtext(barpos=sysparam(1)-4,x91,numtostr(-w9*100,1)+'%'),coloraaaaaa,align2,pxup25;
end;
上一指标公式:波段追击者公式(副图+源码)下载 飞狐波段指标 源码
下一指标公式:帝氏点位公式下载 飞狐点位指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文股价光标(主图指标)公式下载 飞狐股价光标指标 源码仅供学习研究。