PDA

View Full Version : v 7.0.0.15: Last value of indicators


ecorderob
05-01-2010, 07:44 AM
Hi,

I have been testing NT 7.0.0.15 and I have realized that indicators do not show their last value (at least with daily or weekly timeframe).

I suppose it is a bug, and probably already reported, but I think it is important one to solve :rolleyes:

Thanks,

Kike

NinjaTrader_Josh
05-01-2010, 10:00 AM
Kike,

Please set your indicator settings to use CalculateOnBarClose = false.

ecorderob
05-01-2010, 10:35 AM
Ok, thanks :rolleyes:

I hope I will learn soon how this works so I don't have to ask stupid questions again :D

kdoren
05-02-2010, 04:52 AM
It's not a stupid question at all, it's a design flaw in NinjaTrader. When you're charting in real time, you'll want most indicators set to "CalculateOnBarClose == true", otherwise they will calculate on every tick, which is CPU intensive and might not work at all for many indicators.

However, NinjaTrader is "event driven", and won't close one bar until the first tick of the next bar, even if that means waiting until the next trading day. The only way to see it without waiting is to set "CalculateOnBarClose == false", otherwise with daily bars for example you won't see Friday's indicator output until Monday. But on Monday when live data resumes you'll want to set it back to "true".