以下是通达信主力散户筹码源码副图(无源码的请下载附件导入)
散户持仓1:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66;
主力持仓1:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA;
STICKLINE(散户持仓1>0,0,散户持仓1,3,0),COLORFFAA66;
STICKLINE(主力持仓1>0,0,主力持仓1,1.8,1),COLORMAGENTA;
散户持仓:散户持仓1,COLORFFAA66 NODRAW;
主力持仓:主力持仓1,COLORMAGENTA NODRAW;
庄筹集中度:WINNER(C)*100,COLORRED LINETHICK3;
散筹集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLORGREEN LINETHICK2;
红出蓝退可涨:0,COLORWHITE;
629155893.jpg
|