DHV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*VOL/CAPITAL;
ZHV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*VOL/CAPITAL;
SHV:=(BIGORDER(2,1)-BIGORDER(1,1))*VOL/CAPITAL;
A1:=MIN((COUNT(ORDER(2),0)),60);
特大单比率:=(BIGORDER(1,3) - BIGORDER(2,3))*V/CAPITAL;
大户单比率:=((BIGORDER(1,2)-BIGORDER(1,3))-(BIGORDER(2,2)-BIGORDER(2,3)))*V/CAPITAL;
大单比率:特大单比率+大户单比率,COLORYELLOW,COLOR3D;
STICKLINE(特大单比率>=0,0,特大单比率,4,0),COLORRED;
STICKLINE(特大单比率<0,0,特大单比率,4,0),COLORGREEN;
D:EMA(大单比率,60)*60,COLORRED,LINETHICK2;
D5:MA(D,5),COLORYELLOW,LINETHICK2;
D10:MA(D,10),COLORGREEN,LINETHICK2;
超户:=(BIGORDER(1,3)-BIGORDER(2,3))*vol/CAPITAL;
超级资金:EMA(超户,A1)*A1,COLORMAGENTA;
超均值:EMA(超级资金,10),COLORWHITE;
散户资金:EMA(shV,A1)*A1,COLORGREEN;
散均值:EMA(散户资金,10),COLORFF9999;
大户资金:EMA(dhV,A1)*A1,COLOR3399FF;
中户资金:=EMA(zhV,A1)*A1,COLORCYAN;
0,COLOR333333; |