{筹码动力分析主图源码如下}
主力线:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
股朋指标网1:=主力线,COLORRED,LINETHICK2;
动能做多线:IF(C>股朋指标网1,股朋指标网1,DRAWNULL),COLORRED,LINETHICK2;
动能做空线:IF(C<股朋指标网1,股朋指标网1,DRAWNULL),COLORGREEN,LINETHICK2;
筹码:=(C*3+H+L+O)/6;
指标:= EMA(筹码,13) - EMA(筹码,21);
指标平台:=EMA(指标,3);
HGW:=EMA(指标,10);
ABC1:=EMA(C,7)-EMA(C,21);
ABC2:=EMA((0.668*REF
(ABC1,1)+0.333*ABC1),1);
HGW1:=ABC2;
ABC3:=V/SUM(V,13);
ABC4:=DMA(C,ABC3);
ABC5:=(C-ABC4)/ABC4*40;
ABC6:=MA(AMOUNT/(100*V),13);
股朋指标网:=(C-ABC6)/ABC6*100;
多:=IF(ABC1>=ABC2,ABC1,ABC2);
空:=IF(ABC2-ABC1,ABC2,ABC1);
做多:=IF(ABC1>=ABC2,ABC1,ABC2);
做空:=IF(ABC2-ABC1,ABC2,ABC1);
主力强度:=ABC5>0 AND 做多>0;
STICKLINE(主力强度 AND 股朋指标网>5,OPEN,CLOSE,2,0),COLORYELLOW ;
庄:=股朋指标网>5;
庄进:=BARSLASTCOUNT(庄)=1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DD:=MACD>0;
主筹估算:=EMA(WINNER(C)*70,3)*C,LINETHICK2,COLORBLUE;
散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3)*C,LINETHICK1,COLORCYAN;
筹码锁定:=散筹估算-主筹估算,COLORCC3299;
DRAWICON(CROSS(主筹估算,筹码锁定)AND DD,L,9);
DRAWTEXT(CROSS(主筹估算,筹码锁定)AND DD,L*0.96,' ★庄进'),COLORYELLOW;
DRAWICON(CROSS(主筹估算,散筹估算)AND DD,L,9);
DRAWTEXT(CROSS(主筹估算,散筹估算)AND DD,L*0.96,' ★庄进'),COLORYELLOW;
{筹码动力分析副图源码如下}
主筹估算:EMA(WINNER(C)*70,3)*C,LINETHICK2,COLORBLUE;
散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3)*C,LINETHICK1,COLORCYAN;
筹码锁定:散筹估算-主筹估算,COLORCC3299;
STICKLINE(筹码锁定>0,筹码锁定,散筹估算,1,0),COLORGREEN;
STICKLINE(筹码锁定<=0,0,散筹估算,1,0),COLOR009900;
STICKLINE(筹码锁定>0,0,筹码锁定,1,0),COLORFFBB00;
STICKLINE(筹码锁定<0,0,筹码锁定,1,0),COLORFFBB00;
STICKLINE(筹码锁定<-50,-50,筹码锁定,1,0),COLORRED;
主筹估算,LINETHICK1,COLORLIRED DOTLINE;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DD:=MACD>0;
DRAWICON(CROSS(主筹估算,散筹估算) AND DD,散筹估算,9);
DRAWICON(CROSS(主筹估算,筹码锁定) AND DD,主筹估算-0.2,25);