指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:资金流向版公式 飞狐流向资金指标 源码
{☆资金流向资金流向飞狐版}
{//------【参数定义】}
zlcm:=ema(winner(close)*70,3);{//主力筹码估算}
shcm:=ema((winner(close*1.1)-winner(close*0.9))*80,3);{//散户筹码估算}
zshtl:=shcm/(zlcm+shcm)*100;{//散户套牢筹码比率}
zzlkp:=zlcm/(zlcm+shcm)*100;{//主力控盘筹码比率}
zcmzl:=ma(zlcm+shcm,13);{//市场筹码总量}
zznts:=barslast(zshtl<90andref(zshtl,1)>90);{//走牛天数}
zshjj:=ema(zshtl,89);{//散户警戒}
zzljj:=ema(zzlkp,89);{//主力警戒}
zjlrqd:=intpart(zzlkp-zzljj);{//资金流入强度}
sh8:=ema(zshtl,8);
dkb:=if(zzlkp-ref(zzlkp,1)>zshtl-ref(zshtl,1),1,0);
{//------【数值显示】}
散户套牢系数:intpart(zshtl),linethick0,colorwhite;
主力控盘系数:intpart(zzlkp),linethick0,colorcyan;
资金流入强度:zjlrqd,linethick0,colorred;
市场筹码总量:intpart(zcmzl),linethick0,colorgreen;
{//------【图解模板】}
{神秘黑洞}
fillrgn(zshtl,0,ref(zshtl,1)>90andzshtl<90),color9966ff;
{散户套牢筹码}
stickline(c>0,zshtl,zzlkp,0,0),coloreeeeee;
{散户筹码警戒}
stickline(zshjj>ref(zshjj,1),zshtl,zshjj,1,0),coloraaaaaa;
{散户线}
partline(zshtl,c>0),pointdot,coloryellow;
{主力控盘筹码}
stickline(c>0,zzlkp,0,7,0),colorblue;
{铸顶风险区}
stickline(zzlkp>75,zzlkp,0,7,0),colorffffff;
{主力筹码警戒}
stickline(zzljj>ref(zzljj,1),zzlkp,zzljj,7,0),colorred;
{筑底散兵坑}
stickline(zshtl>=90,zzlkp,0,7,0),color66ffcc;
{筹码总量}
partline(zcmzl,c>0),colorgreen;
{筹码总量上升}
partline(zcmzl,zcmzl>ref(zcmzl,1)),color0066ff;
{增量资金}
drawtext(zcmzl>ref(zcmzl,1)andsh8<ref(sh8,1)andbarstatus=2,zcmzl,'←增量资金');
{//------【解盘分析】}
tjts:=barstatus=2;
drawtext(tjtsandc>0,130,'资金流向分析'),linethick6,coloryellow,align2;
drawtext(tjtsandc>0,130,''+stklabel+''+stkname+''),linethick6,colorffff80,align2;
{主力动向监控}
drawtext(tjtsandzcmzl>ref(zcmzl,1)anddkb=1,110,'主力动向监控:主力增仓'),colorred,align2;
drawtext(tjtsandzcmzl>ref(zcmzl,1)anddkb=0,110,'主力动向监控:主力减仓'),colormagenta,align2;
drawtext(tjtsandzcmzl=ref(zcmzl,1),110,'主力动向监控:多空平衡'),colorgray,align2;
drawtext(tjtsandzcmzl<ref(zcmzl,1)anddkb=1,110,'主力动向监控:主力回补'),colorff9933,align2;
drawtext(tjtsandzcmzl<ref(zcmzl,1)anddkb=0,110,'主力动向监控:主力出逃'),colorgreen,align2;
{特别信号提示}
drawtext(tjtsandzshtl>90,100,'特别信号提示:筑底散兵坑'),color66ffcc,align2;
drawtext(tjtsandzzlkp>75,100,'特别信号提示:铸顶风险区'),colorcyan,align2;
drawtext(tjtsandcross(zcmzl,zzljj)andzzlkp>zzljjandzzlkp>10andzzljj>ref(zzljj,1)andzcmzl>ref(zcmzl,1),100,'特别信号提示:穿越主力'),colorred,align2;
drawtext(tjtsandcross(zcmzl,zzlkp)andzzlkp>zzljjandzzlkp<zshtlandzzlkp>10andzzljj>ref(zzljj,1)andzcmzl>ref(zcmzl,1),100,'特别信号提示:穿越主力'),coloryellow,align2;
drawtext(tjtsandcross(zcmzl,zshtl)andzshtl>zzlkpandzcmzl>ref(zcmzl,1),100,'特别信号提示:穿越散户'),colorgreen,align2;
drawtext(tjtsandcross(zcmzl,100)andzcmzl>ref(zcmzl,1),100,'特别信号提示:全盘穿越'),color3399ff,align2;
>>>使用本站搜索工具可以找到更多“资金流向版公式 飞狐流向资金指标 源码”