找回密码
 注册
搜索
查看: 617|回复: 4

[讨论] Help: why the indicator in NinjaTrader didn't calculate on the last bar

[复制链接]
发表于 2011-7-10 09:12 PM | 显示全部楼层 |阅读模式


Anyone here familiar with NinjaTrader? I just started to use it and found that it seems the indicators I selected didn't reflect the values of the latest bar. Instead, the values shown are indeed for one bar ago, even for built-in basic indicators, for example, SMA, MACD. I didn't make any changes to the scripts. Please see the attached image for what I am saying. Any possible reasons? Where did I do wrong?

thanks a lot,

bucks

Snap1.jpg

发表于 2011-7-11 03:21 AM | 显示全部楼层
本帖最后由 marketstudent 于 2011-7-11 04:21 编辑

Right click to choose indicators, then pick the indicator and change "calculate on bar close" to false.
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2011-7-11 11:08 AM | 显示全部楼层
回复 marketstudent 的帖子

got it. thank you very much
回复 鲜花 鸡蛋

使用道具 举报

发表于 2011-7-11 12:42 PM | 显示全部楼层
如果指标按收盘价计算,当然要等那个Bar close。
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2011-7-11 02:03 PM | 显示全部楼层
回复 CoolMax 的帖子

The daily chart I posted already has a closed price for the last bar. But maybe that's how NinjaTrader works. Thanks, CM
回复 鲜花 鸡蛋

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|www.hutong9.net

GMT-5, 2025-7-5 02:43 AM , Processed in 0.044537 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表