小黑码
量:=EMA((LFs-LLV(LFS,21))/(HHV(LFS,21)-LLV(LFS,21))*100,1);
五指山:EMA((量-LLV(量,55))/(HHV(量,55)-LLV(LOW,55))*100,5),LINETHICK3,COLORFF00FF;
翻身区:75,DOTLINE;
老庄套牢:EMA(100*(1-WINNER(CLOSE)),8),COLORWHITE;
拉升筹码 :100*(WINNER(1.1*C)-WINNER(0.9*C)),COLOR00FF0F ,LINETHICK2;
主力筹码:EMA(100-拉升筹码,5), COLORRED ,LINETHICK2;
STICKLINE(CROSS(80,SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100),-10,0,6,0),COLOR00FF00;
大黑码:=cross(拉升筹码,老庄套牢);
DRAWTEXT(大黑码,老庄套牢,'↑大黑码'), COLORred;
小黑码:=cross(主力筹码,五指山);
DRAWTEXT( BARSTATUS=2,拉升筹码 ,'拉升筹码' ),LineThick1,colorred;
{吸筹}
AA1:=filter(low=llv(low,13),8);
AA2:=if(LLV(low,3)=llv(low,13) and close
AA3:=ema(AA2,3)*3;
AA4:=sumbars(AA3>0,21);
AA5:=sum(AA3,AA4)/21;
AA6:=ref(AA3,1)=hhv(AA3,3) and ref(AA3,1)>AA5*3 and count(close/ref(close,1)<0.9025,8)=0 and isup and llv(low,3)/hhv(high,18)<0.88;
AA7:=(count("ddx.ddx">0,5)>0 or not("ddx.ddx1"<"ddx.ddx2" and "ddx.ddx2"<"ddx.ddx3")) and count("ddx.ddx">ref("ddx.ddx",1),10)>=4;
反转:filter(AA6 and AA7,5),colorblack;
stickline(close,0,AA3,8,1),coloryellow;
stickline(反转,0,AA3,8,0),colorred;
{VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(VAR3*10,3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(barpos>34,1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹:VAR9,LINETHICK0,COLOR0055ff;
STICKLINE(VAR9>-120,0,VAR9,8,1),COLOR0055ff;}
DRAWTEXT(小黑码,主力筹码,'↑小黑码'), COLORYELLOW;
DRAWTEXTABS(0,0,'五指山下穿主力筹码时,股价在低位十字整理会收阳线,反弹立即买入时机;对倒筹码上穿套牢筹码时为大黑码');