[通達信]通達信 神秘-指標公式(副圖及選股源碼 貼圖) 流通盤:CAPITAL/1000000,COLOR7F00FF,LINETHICK0; 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);{//走牛天數(shù)} 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),COLOR66FF00,LINETHICK2; 主力控盤線:INTPART(ZZLKP),COLOR4D4DFF,LINETHICK2; 資金流入線:ZJLRQD,,COLOR7F00FF,LINETHICK2; 資金強弱線:15,COLORFF80FF,LINETHICK2,CROSSDOT; 控盤臨界線:55,COLORFF937F,LINETHICK2,CROSSDOT; 強勢控盤線:75,COLORFF3399,LINETHICK2,CROSSDOT; ———————————————————————————————————————— {PP資金流金叉}{選股} 流通盤:=CAPITAL/1000000,COLOR7F00FF,LINETHICK0; 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);{//走牛天數(shù)} 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),COLOR66FF00,LINETHICK2; 主力控盤線:=INTPART(ZZLKP),COLOR4D4DFF,LINETHICK2; {資金流入線:ZJLRQD,,COLOR7F00FF,LINETHICK2; 資金強弱線:15,COLORFF80FF,LINETHICK2,CROSSDOT; 控盤臨界線:55,COLORFF937F,LINETHICK2,CROSSDOT; 強勢控盤線:75,COLORFF3399,LINETHICK2,CROSSDOT;} 資金金叉:CROSS(主力控盤線,散戶套牢線); |
|
來自: 翟富河 > 《較有用的指標源碼》