通用的版本:
jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;
dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol;
zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol;
shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;
tD:=COUNT(BIGORDER(1,0),0);
myD:=min(tD,60);
超级资金:ema(jgV,myD)*myD/capital,COLORMAGENTA;
大户资金:ema(dhV,myD)*myD/capital,color3399FF ;
中户资金:ema(zhV,myD)*myD/capital,colorcyan;
散户资金:ema(shV,myD)*myD/capital,colorgreen;
0,color333333,PRECIS0,layer7;
|