大智慧超赢资金流统计 收费行情(金融终端)才可以使用,其他不显示
大智慧超赢资金流统计附图,感觉很好。不足之处就是只能显示上海的,深圳的不兼容。看哪位老师能不能给帮一下,把深圳的也给显示出来。源码:超赢资金 input:p1(7),N(10,1,120,1); T1:=topview(1430); T2:=topview(1431); T3:=topview(1432); T4:=topview(1433); 散户:=(T1-REF(T1,1))*capital/10000*(c/if(TYPE=0,255.5,1)); 中户:=(T2-REF(T2,1))*capital/10000*(c/if(TYPE=0,255.5,1)); 大户:=(T3-REF(T3,1))*capital/10000*(c/if(TYPE=0,255.5,1)); 超大:=(T4-REF(T4,1))*capital/10000*(c/if(TYPE=0,255.5,1)); 净额:=if(TYPE=0 and date<1090101,0,大户+超大); stickline(净额>0,0,净额,3,0),colorred; stickline(净额<0,0,净额,3,0),colorgreen; stickline(净额=0,0,净额,3,0),colorwhite;净额:=大户+超大; 一日:净额,COLORSTICK; 三日:sum(净额,3),COLORSTICK; 五日:sum(净额,5),COLORSTICK; 十日合计:sum(净额,10),COLORSTICK;
操作:在右侧的附图窗口点右键,选择向下切分窗口,点TOP选项。按图示过程操作。 还可以设计为10日资金统计,只需把源码修改一下就行了。 一日:净额,COLORSTICK; 二日: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;





{点击看本软件截图:58股票 公式网 http://www. 58gu. com 整理} |