NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 06-15-2008, 02:43 PM   #1
FatCanary
Senior Member
 
Join Date: Nov 2004
Location: UK
Posts: 236
Thanks: 1
Thanked 0 times in 0 posts
Default Indicator Displacement

I've noticed with indicators such as Moving Average, Bollinger Bands and similar, that the indicator does not update with the current bar but 'sits' one bar back.
If I change the displacement to 1, the indicator is then in line with the current bar.

Is this correct behaviour?

Thanks.
FatCanary is offline  
Reply With Quote
Old 06-15-2008, 03:38 PM   #2
FatCanary
Senior Member
 
Join Date: Nov 2004
Location: UK
Posts: 236
Thanks: 1
Thanked 0 times in 0 posts
Default

Think I may have worked it out.

Calculate on bar close needs to be set to FALSE - correct?

With FALSE set, does this mean the indicator is updated tick by tick?

Thanks.
FatCanary is offline  
Reply With Quote
Old 06-15-2008, 05:31 PM   #3
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

CalculateOnBarClose = false means it will essentially run tick by tick. Historical data will still be run on bar close though since there is no way to get tick by tick for historical bars.
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indicator: Removing and Custom Formatting an Indicator’s Chart Label NinjaTrader_Josh Reference Samples 0 12-30-2007 06:49 PM
Displacement Issue PrTester Indicator Development 1 08-17-2007 10:52 PM
Kentler Swing using displacement field in strategy richa61416 Strategy Development 3 07-04-2007 04:02 PM


All times are GMT -6. The time now is 10:50 PM.