N日通吃率源码
-
相关简介:C/C++ www.zegu.cn 择股网提供 Code 复制内容到剪贴板 {通吃率} INPUT:N(5,1,100); 买入:=BIGORDER(1,2)*AMOUNT; 卖出:=BIGORDER(2,2)*AMOUNT; 净额:=买入-卖出; 日通吃率:SUM(净额,N)/SUM(amount,N)*100; 一日通吃率:净额/amount*100; 三日通吃率:SUM(净额,3)/SUM(amount,3)*100; 
-
文章来源:择股网作者:股海网发布时间:2010-01-22浏览次数:
C/C++ www.zegu.cn 择股网提供 Code复制内容到剪贴板
- {通吃率}
- INPUT:N(5,1,100);
- 买入:=BIGORDER(1,2)*AMOUNT;
- 卖出:=BIGORDER(2,2)*AMOUNT;
- 净额:=买入-卖出;
- Ν日通吃率:SUM(净额,N)/SUM(amount,N)*100;
- 一日通吃率:净额/amount*100;
- 三日通吃率:SUM(净额,3)/SUM(amount,3)*100;
- 五日通吃率:SUM(净额,5)/SUM(amount,5)*100;
- 十日通吃率:SUM(净额,10)/SUM(amount,10)*100;
- 二十日通吃率:SUM(净额,20)/SUM(amount,20)*100;
- 六十日通吃率:SUM(净额,60)/SUM(amount,60)*100;