同花顺资金出入副图指标 源码介绍
同花顺资金出入副图指标 源码
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,LINETHICK1,COLORFFA9FF;
分界:MA(XL_0,8),LINETHICK1,COLOR00BBAB;
资金进出:STICKLINE(XL_0<REF(XL_0,1) OR (AMOUNT/REF(AMOUNT,1)<0.97),XL_0,REF(XL_0,1),2.5,0),colorwhite;
资金进场:STICKLINE(XL_0>=REF(XL_0,1),XL_0,REF(XL_0,1),2.5,0),colorred;
空仓:STICKLINE(XL_0<分界,XL_0,REF(XL_0,1),2.5,0),COLORFFA900;
DRAWTEXT(CROSS(分界,资金),分界,'始');
DRAWTEXT(CROSS(资金,分界),资金,'终');
gd46219