SuperView多日买卖情况 源码 共享大家
资金是累计相加的 2天是1+2累计 依次类推。。。。。
REFLINE:-5000,0,5000;
Ddmr:=(bigorder(1,2)-bigorder(2,2))*v/capital*100;
Ddmrs:=sum(Ddmr,0);
Chb:=AMOUNT*bigorder(1,3);
Dhb:=AMOUNT*(bigorder(1,2)-bigorder(1,3));
Zhb:=AMOUNT*(bigorder(1,1)-bigorder(1,2));
Xhb:=AMOUNT*(1-bigorder(1,1));
Chs:=AMOUNT*bigorder(2,3);
Dhs:=AMOUNT*(bigorder(2,2)-bigorder(2,3));
Zhs:=AMOUNT*(bigorder(2,1)-bigorder(2,2));
Xhs:=AMOUNT*(1-bigorder(2,1));
散户:=(xhb-xhs)/10000;
中户:=(zhb-zhs)/10000;
大户:=(dhb-dhs)/10000;
超户:=(chb-chs)/10000;
一日:超户+大户,colorSTICK;{color0036dd;}
二日:sum(超户+大户,2),colorSTICK;
三日:sum(超户+大户,3),colorSTICK;
四日:sum(超户+大户,4),colorSTICK;
五日:sum(超户+大户,5),colorSTICK;
六日:sum(超户+大户,6),colorSTICK;
七日:sum(超户+大户,7),colorSTICK;
八日:sum(超户+大户,8),colorSTICK;
九日:sum(超户+大户,9),colorSTICK;
十日:sum(超户+大户,10),colorSTICK;
十五日:sum(超户+大户,15),colorSTICK;
以上源码是在大智慧设置,设置好之后如下图:
如果做成指标,就如下图: