指南针的筹码分布指标,仅仅提供源码,无公式提供下载
筹码分布
variable:pv[100]=0,pc[100]=0;
hh:=hhv(high,0);
ll:=llv(low,0);
fv:=vol/capital*100;
fh:=high;
fl:=low;
p:=sysparam(1);
dd:=(hh[p]-ll[p])/99;
for i=p downto 1 do begin
sh:=(fh-ll[p])/dd+1;
sl:=(fl-ll[p])/dd+1;
dj:=fv/(sh-sl+1);
for j=sl to sh do pv[j]:=pv[j]+dj;
end;
s:=0;
for i=1 to 100 do if s <pv then s:=pv;
bl:=s/(sysparam(3)-sysparam(2))*2;
drawsl(barpos=sysparam(3),sysparam(5),0,pv[1]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd,0,pv[2]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*02,0,pv[03]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*03,0,pv[04]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*04,0,pv[05]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*05,0,pv[06]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*06,0,pv[07]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*07,0,pv[08]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*08,0,pv[09]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*09,0,pv[10]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*10,0,pv[11]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*11,0,pv[12]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*12,0,pv[13]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*13,0,pv[14]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*14,0,pv[15]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*15,0,pv[16]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*16,0,pv[17]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*17,0,pv[18]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*18,0,pv[19]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*19,0,pv[20]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*20,0,pv[21]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*21,0,pv[22]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*22,0,pv[23]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*23,0,pv[24]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*24,0,pv[25]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*25,0,pv[26]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*26,0,pv[27]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*27,0,pv[28]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*28,0,pv[29]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*29,0,pv[30]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*30,0,pv[31]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*31,0,pv[32]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*32,0,pv[33]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*33,0,pv[34]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*34,0,pv[35]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*35,0,pv[36]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*36,0,pv[37]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*37,0,pv[38]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*38,0,pv[39]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*39,0,pv[40]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*40,0,pv[41]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*41,0,pv[42]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*42,0,pv[43]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*43,0,pv[44]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*44,0,pv[45]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*45,0,pv[46]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*46,0,pv[47]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*47,0,pv[48]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*48,0,pv[49]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*49,0,pv[50]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*50,0,pv[51]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*51,0,pv[52]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*52,0,pv[53]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*53,0,pv[54]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*54,0,pv[55]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*55,0,pv[56]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*56,0,pv[57]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*57,0,pv[58]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*58,0,pv[59]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*59,0,pv[60]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*60,0,pv[61]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*61,0,pv[62]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*62,0,pv[63]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*63,0,pv[64]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*64,0,pv[65]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*65,0,pv[66]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*66,0,pv[67]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*67,0,pv[68]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*68,0,pv[69]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*69,0,pv[70]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*70,0,pv[71]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*71,0,pv[72]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*72,0,pv[73]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*73,0,pv[74]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*74,0,pv[75]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*75,0,pv[76]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*76,0,pv[77]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*77,0,pv[78]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*78,0,pv[79]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*79,0,pv[80]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*80,0,pv[81]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*81,0,pv[82]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*82,0,pv[83]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*83,0,pv[84]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*84,0,pv[85]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*85,0,pv[86]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*86,0,pv[87]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*87,0,pv[88]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*88,0,pv[89]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*89,0,pv[90]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*90,0,pv[91]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*91,0,pv[92]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*92,0,pv[93]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*93,0,pv[94]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*94,0,pv[95]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*95,0,pv[96]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*96,0,pv[97]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*97,0,pv[98]/bl+1,1),colorcyan;
drawsl(barpos=sysparam(3),sysparam(5)+dd*98,0,pv[99]/bl+1,1),colorcyan;
stickline(c<=o,c,o,8,0),colorgreen;
stickline(c<=o,h,l,0.1,0),colorgreen;
stickline(c>=o,c,o,8,1),colorred;
stickline(c>=o,c,h,0.1,0),colorred;
stickline(c>=o,l,o,0.1,0),colorred;
{牛马熊}
nx:=if(ema(c,3)>max(ema(c,13),ema(c,55)),1,if(ema(c,3)<min(ema(c,13),ema(c,55)),-1,0));
牛:if(nx=1 and v>1,1,0);
熊:if(nx=-1 and v>1,1,0);
马:if(nx=0 and v>1,1,0);
上一指标公式:指南针源码--突破启动点副图 指南针股票公式
下一指标公式:指南针源码鬼集 指南针股票公式
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文指南针源码的筹码分布指标 指南针源码筹码仅供学习研究。