大智慧资金进出副图指标
源码
{-----------------------☆功能开关------------------------}
{资金进出---通用版本}
XL_0:=SMA(AMOUNT,10,1)/10000000;
XL_1:=(XL_0-LLV(XL_0,4))/(HHV(XL_0,4)-LLV(XL_0,4))*100;
XL_2:=LLV(XL_0,4)+SMA(XL_1,4,1)/100*(HHV(XL_0,4)-LLV(XL_0,4));
XL_3:=SMA(XL_2,3,1);
资金:XL_0,POINTDOT,LINETHICK0,COLORFFA9FF;
分界:MA(XL_0,8),POINTDOT,LINETHICK0,COLOR00BBAB;
{资金进出}
STICKLINE(XL_0<REF(XL_0,1) OR (AMOUNT/REF(AMOUNT,1)<0.97),XL_0,REF(XL_0,1),4,0),LINETHICK2,COLORWHITE;{资金离场}
STICKLINE(XL_0>=REF(XL_0,1),XL_0,REF(XL_0,1),4,0),LINETHICK2,COLORRED;{资金进场}
STICKLINE(XL_0<分界,XL_0,REF(XL_0,1),4,0),LINETHICK2,COLORFFA900;{空仓};