- 精华
- 3
- 在线时间
- 12229 小时
- UID
- 5
- 积分
- 26584
- 帖子
- 12686
- 阅读权限
- 200
- 注册时间
- 2007-7-20
- 最后登录
- 2021-11-3
- 精华
- 3
- UID
- 5
- 积分
- 26584
- 帖子
- 12686
- 主题
- 49
- 阅读权限
- 200
- 注册时间
- 2007-7-20
- 最后登录
- 2021-11-3
|
可以在公式里加上两句话,比如
if(barstatus==0)fileappend("c:\\time.log", "第一根bar上的起始时间: "+text(currenttime));
if(barstatus==2)fileappend("c:\\time.log", "最后一根bar上的时间: "+text(currenttime));
将此两个时间的差值除以参与运算的总K线的数量,即可得到每次运算所需要的时间 。 |
|