![]() |
|
|||||||
| Charting Support for NinjaTrader Advanced Charting. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2004
Location: UK
Posts: 236
Thanks: 1
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Nov 2004
Location: UK
Posts: 236
Thanks: 1
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#3 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
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.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |