DRAWGBKLAST(v>1,STRIP(RGB(00,0,0),RGB(90,90,90),0));
{☆資金流向} {//------【參數(shù)定義】} 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); {//------【數(shù)值顯示】} 散戶套牢系數(shù):INTPART(ZSHTL),LINETHICK0,COLORWHITE; 主力控盤系數(shù):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,1,0),COLORaaaaaa; {散戶線} PARTLINE(ZSHTL,C>0),POINTDOT,COLORYELLOW; {主力控盤籌碼} STICKLINE(C>0,ZZLKP,0,7,0),COLORBLUE; {鑄頂風(fēng)險區(qū)} 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) AND SH8<REF(SH8,1) AND BARSTATUS=2,ZCMZL,’←增量資金’); {//------【解盤分析】} TJTS:=BARSTATUS=2; DRAWTEXT(TJTS and C>0,130,’資金流向分析 ’),LINETHICK6,Coloryellow,ALIGN2; DRAWTEXT(TJTS and C>0,130,’ ’+STKLABEL+’ ’+STKNAME+’ ’),LINETHICK6,ColorFFFF80,ALIGN2; DRAWTEXT(TJTS and C>0,128,’ ’+ ’走牛天數(shù)判斷:’+’ ’+NUMTOSTRN( ZZNTS,0 )+’ ’),LINETHICK3,ColorFFFF80,ALIGN2; {主力動向監(jiān)控} DRAWTEXT(TJTS and ZCMZL>REF(ZCMZL,1) AND DKB=1,110,’主力動向監(jiān)控:主力增倉 ’),COLORRED,ALIGN2; DRAWTEXT(TJTS and ZCMZL>REF(ZCMZL,1) AND DKB=0,110,’主力動向監(jiān)控:主力減倉 ’),COLORMAGENTA,ALIGN2; DRAWTEXT(TJTS and ZCMZL=REF(ZCMZL,1),110,’主力動向監(jiān)控:多空平衡 ’),COLORGRAY,ALIGN2; DRAWTEXT(TJTS and ZCMZL<REF(ZCMZL,1) AND DKB=1,110,’主力動向監(jiān)控:主力回補 ’),COLORFF9933,ALIGN2; DRAWTEXT(TJTS and ZCMZL<REF(ZCMZL,1) AND DKB=0,110,’主力動向監(jiān)控:主力出逃 ’),COLORGREEN,ALIGN2; {特別信號提示} DRAWTEXT(TJTS and ZSHTL>90,100,’特別信號提示:筑底散兵坑 ’),COLOR66FFCC,ALIGN2; DRAWTEXT(TJTS and ZZLKP>75,100,’特別信號提示:鑄頂風(fēng)險區(qū) ’),COLORCYAN,ALIGN2; DRAWTEXT(TJTS and CROSS(ZCMZL,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1),100,’特別信號提示:穿越主力 ’),COLORRED,ALIGN2; DRAWTEXT(TJTS and CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP<ZSHTL AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1),100,’特別信號提示:穿越主力 ’),COLORYELLOW,ALIGN2; DRAWTEXT(TJTS and CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1),100,’特別信號提示:穿越散戶 ’),COLORGREEN,ALIGN2; DRAWTEXT(TJTS and CROSS(ZCMZL,100) AND ZCMZL>REF(ZCMZL,1),100,’特別信號提示:全盤穿越 ’),COLOR3399FF,ALIGN2; |
|