通达信流入资金强度指标公式
通达信主力判断指标公式
通达信流入资金强度指标公式:
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);
轴:0,COLORGREEN,DOTLINE,LINETHICK1;
资金流入强度:ZJLRQD,LINETHICK2,COLORRED;
DRAWICON(crOSS(资金流入强度,0),资金流入强度,1);
总成交额亿:AMOUNT/100000000,NODRAW;
AR1:=AMOUNT/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
流入亿:=IF(CLOSE>OPEN,AR1*(HIGH-LOW),IF(CLOSE<OPEN,AR1*((HIGH-OPEN)+ (CLOSE-LOW)),AMOUNT/2))/100000000;
流出亿:=IF(CLOSE>OPEN,0-AR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-AR1*(HIGH-LOW),0-AMOUNT/2))/100000000;
差额亿:流入亿+流出亿,NODRAW;
通达信牛股框架主图指标公式