以下是通达信【主要资金博弈】有图有代码(无源码的请下载附件导入)
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),机构资金);
654200477.png
|