大智慧主力筹码公式源码
-
相关简介:大智慧主力筹码公式源码 DRAWGBK(C=C,STRIP(RGB(30,30,30),RGB(130,130,130),1)); {资金流向【参数定义】} ZLCM:=EMA(WINNER(C)*70,3);{主力筹码估算} SHCM:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);{散户筹码估算} ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码比率} ZCM
-
文章来源:股海网作者:股海网发布时间:2012-05-15浏览次数:
大智慧主力筹码公式源码
DRAWGBK(C=C,STRIP(RGB(30,30,30),RGB(130,130,130),1));
{资金流向【参数定义】}
ZLCM:=EMA(WINNER(C)*70,3);{主力筹码估算}
SHCM:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);{散户筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码比率}
ZCMZL:=MA(ZLCM+SHCM,13);{市场筹码总量}
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)>90 AND ZSHTL<90),COLOR9966FF;
{散户套牢筹码}
STICKLINE(C>0,ZSHTL,ZZLKP,0,0),COLOREEEEEE;
{散户筹码警戒}
STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,3,0),COLORBLUE;
{散户线}
PARTLINE(ZSHTL,C>0),COLORYELLOW;
{主力控盘筹码}
STICKLINE(C>0,ZZLKP,0,5,0),COLOR009922;
{铸顶风险区}
STICKLINE(ZZLKP>75,ZZLKP,0,5,0),COLORFFFFFF;
{主力筹码警戒}
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,5,0),COLORRED;
{筑底散兵坑}
STICKLINE(ZSHTL>=90,ZZLKP,0,5,0),COLOR66FFCC;
{筹码总量}
PARTLINE(ZCMZL,C>0),COLORGREEN;
{筹码总量上升}
PARTLINE(ZCMZL,ZCMZL>REF(ZCMZL,1)),COLOR0066FF;