
{主力建仓-副图}
ZBVAR1:=REF(LOW,1);
ZBVAR2:=SMA(ABS(LOW-ZBVAR1),3,1)/SMA(MAX(LOW-ZBVAR1,0),3,1)*100;
ZBVAR3:=EMA(IF(CLOSE*1.2,ZBVAR2*10,ZBVAR2/10),3);
ZBVAR4:=LLV(LOW,38);
ZBVAR5:=HHV(ZBVAR3,38);
ZBVAR6:=IF(LLV(LOW,90),1,0);
ZBVAR7:=EMA(IF(LOW<=ZBVAR4,(ZBVAR3+ZBVAR5*2)/2,0),3)/618*ZBVAR6;
ZBVAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
ZBVAR9:=SMA(ZBVAR8,13,8);
底线:0,COLOR00FFFF;
主力吸货:ZBVAR7,COLOR0000FF;
吸筹1:STICKLINE(ZBVAR7,0,ZBVAR7,6,0),COLOR0000FF;
吸筹2:STICKLINE(ZBVAR7,0,ZBVAR7,5,0),COLOR6600FF;
吸筹3:STICKLINE(ZBVAR7,0,ZBVAR7,4,0),COLORBB00FF;
吸筹4:STICKLINE(ZBVAR7,0,ZBVAR7,3,0),COLORFF00FF;
吸筹5:STICKLINE(ZBVAR7,0,ZBVAR7,2,0),COLORFF33FF;
吸筹6:STICKLINE(ZBVAR7,0,ZBVAR7,1,0),COLORFF66FF;
吸筹7:STICKLINE(ZBVAR7,0,ZBVAR7,0,0),COLORFF99FF;
风险:CEILING(SMA(ZBVAR9,13,8)),LINETHICK2,COLORGREEN;
涨跌:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORRED;