求差天:=3;
资金流向:((L2_AMO(0,2)+L2_AMO(1,2)+L2_AMO(2,2)+L2_AMO(3,2))-(L2_AMO(0,3)+L2_AMO(1,3)+L2_AMO(2,3)+L2_AMO(3,3)))/10000,NODRAW;
近5日流向:SUM(资金流向,5),NODRAW;
近10日流向:SUM(资金流向,10),NODRAW;
超大单:=(L2_AMO(0,2)/10000)+(-L2_AMO(0,3)/10000),NODRAW;
大单:=(L2_AMO(1,2)/10000)+(-L2_AMO(1,3)/10000),NODRAW;
中单:=(L2_AMO(2,2)/10000)+(-L2_AMO(2,3)/10000),NODRAW;
小单:=(L2_AMO(3,2)/10000)+(-L2_AMO(3,3)/10000),NODRAW;
主力持仓:=超大单;
机构持仓:=大单+中单;
散户持仓:=小单;
返回天数:CURRBARSCOUNT,COLORWHITE,NODRAW;
动态市值:=CAPITAL*C*100/10000/10000,NODRAW,COLOR0000FF;
主力持仓度:MA(SUM(超大单/动态市值/10000,求差天)*100,1),COLORRED,NODRAW;
中轴:0 COLORWHITE LINETHICK3;
净流沉淀率:=MA(SUM(资金流向/动态市值/10000,求差天)*100,1),COLORMAGENTA,NODRAW;
资金波段强度%:=净流沉淀率*100,COLORRED,NODRAW;
X_7:=主力持仓度;
红实芯:STICKLINE(X_7>=REF(X_7,1)AND X_7>=0 ,0,X_7,2,0),COLOR3434FF;
蓝实芯:STICKLINE(X_7<REF(X_7,1) AND X_7<0 ,0,X_7,2,0),COLORGREEN;
蓝空芯:STICKLINE(X_7>=REF(X_7,1)AND X_7<0 ,0,X_7,2,1),COLORYELLOW;
红空芯:STICKLINE(X_7<REF(X_7,1)AND X_7>=0 ,0,X_7,2,1),COLOR3434FF;