经传软件主力控盘指标公式,主力状态公式
主力控盘
N:=35;M:=35;N1:=3; B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M; B2:=SMA(B1,N,1)+100; B3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100; B4:=SMA(B3,3,1); B5:=SMA(B4,3,1)+100; B6:=B5-B2; 控盘程度:(IF(B6>N1,B6-N1+2,0))*2.5,COLORYELLOW; 控盘度:100,COLORRED; STICKLINE( 控盘程度,0,控盘程度 ,1.7,0 ),COLOR00FFFF; STICKLINE( 控盘程度 AND 控盘程度>100,100,控盘程度 ,1.7,0 ),COLORRED; 主力状态 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<90 AND REF(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); {散户套牢筹码} STICKLINE(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF; {散户筹码警戒} STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00FF00; {主力控盘筹码} STICKLINE(C>0,ZZLKP,0,1,0),COLORA4A4A4; {筑顶风险区} STICKLINE(ZZLKP>75,ZZLKP,0,1,0),COLORFFFFFF; {顶部:(ZZLKP>75),COLORFFFFFF;} {主力筹码警戒} STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLORRED; {筑底散兵坑} STICKLINE(ZSHTL>=90,ZZLKP,0,2,0),COLOR66FFCC; {底部:(ZSHTL>=90),COLOR66FFCC;} {筹码总量上升} IF(ZCMZL,ZCMZL>REF(ZCMZL,1),0),COLOR0066FF,LINETHICK1; {增量资金}; {//------【数值显示】} 散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2; 主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2; 资金流入强度:ZJLRQD,LINETHICK2,COLORRED; 资金流入强度2:IF(ZJLRQD<10,ZJLRQD,0),LINETHICK2,COLORWHITE; 市场筹码总量:INTPART(ZCMZL),COLORWHITE,LINETHICK0; DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,11); DRAWICON(CROSS(资金流入强度,散户套牢系数),散户套牢系数-5,17); |