网上找的,非本人原创
JGV:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/10000;
DHV:=(L2_VOL(1,0) - L2_VOL(1,1))*VOL/10000;
ZHV:=(L2_VOL(2,0) - L2_VOL(2,1))*VOL/10000;
SHV:=(L2_VOL(3,0) - L2_VOL(3,1))*VOL/10000;
机构资金:EMA(EMA(JGV,60)*60/CAPITAL,1),COLORRED;
游资资金:EMA(EMA(DHV,60)*60/CAPITAL,5),COLOR3399FF;
中户资金:EMA(EMA(ZHV,60)*60/CAPITAL,5),COLORCYAN;
散户资金:EMA(EMA(SHV,60)*60/CAPITAL,5),COLORGREEN;
DRAWBAND(机构资金,120,MA(机构资金,5),30);
DRAWKLINE(机构资金,REF(机构资金,1),REF(机构资金,1),机构资金);