PDA

View Full Version : OnBarUpdate


cshep
08-18-2010, 02:55 PM
Hi, the OnBarUpdate() method is being called for every tick in all my indicators and strategies even though I have the CalculateOnBarClose property set to true.

I am using NT7 B20 but this also occured under B19

I'm not sure when this behavior started but it is causing me a lot of grief in my strategies.

How do I resolve this problem?

Thanks,

CS

NinjaTrader_Austin
08-18-2010, 03:05 PM
cshep, this is puzzling behavior. You are 100% sure that CalculateOnBarClose is set to true? Could you please provide the script(s) you are using that demonstrate this issue?

Go ahead and try restarting your computer - weird issues can be magically fixed by a simple restart sometimes.

If that doesn't work, you'll probably have to do a complete re-install of NinjaTrader.

cshep
08-18-2010, 04:28 PM
I'm 100% sure about the settings. However, I took your advice and did a restart and it seems to be working now.

Very puzzling indeed.

Thanks,

CS