{【筹码分布】副图源码如下}
{筹码分布}
筹码:= SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1);
STICKLINE(筹码>0,0,筹码,3.5,0),COLORGRAY;
VAR13:=HHV(HIGH,45);
VAR14:=LLV(LOW,45);
主力筹码: EMA((CLOSE-VAR14)/(VAR13-VAR14)*100,20), LINETHICK1, COLOR0044FF;
STICKLINE(主力筹码>0,0,主力筹码,3.5,0),COLOR0044FF;
散户筹码:SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGRAY,LINETHICK3;
拉升打压:EMA(100*(C-LLV(LOW,21))/(HHV(H,21)-LLV(LOW,21)),4), COLORYELLOW,LINETHICK3;
{筹码分布副图源码如下 }
VAR13:=HHV(HIGH,45);
VAR14:=LLV(LOW,45);
主力筹码:= EMA((CLOSE-VAR14)/(VAR13-VAR14)*100,20), LINETHICK1, COLOR0044FF;
散户筹码:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGRAY,LINETHICK3;
拉升打压:=EMA(100*(C-LLV(LOW,21))/(HHV(H,21)-LLV(LOW,21)),4), COLORYELLOW,LINETHICK3;
XG:CROSS(拉升打压,散户筹码)AND 主力筹码>40 AND C>REF(C,1)*1.05,COLORFF00FF,LINETHICK2;