Operations > Market Analyzer >

Performance Tips

Print this Topic Previous pageReturn to chapter overviewNext page

The following performance tips are specific to the Market Analyzer window.

 

Market Analyzer Look Back Period

"# bars to look back" property determines the minimum number of bars required to properly initialize any indicator columns. The higher the number, the longer it will take to load data and the more memory (RAM) NinjaTrader will use to hold the data in memory.

 

Number of Instruments and Columns.

The Market Analyzer has no limit to the number of instruments that can be added. It is important to monitor computer resources to understand your PC's limit.
The Market Analyzer has no limit to the number of columns, specifically indicator columns, that can be added. Depending on the indicator and the "# of bars to look back property" described above, it may take a few seconds to calculate the indicator. This time is multiplied by the number of instruments in the Market Analyzer which can result in a few minutes of loading time. Decrease the number of instruments or indicator columns to lessen this loading time.

 

Indicator Columns

Each indicator has a # of bars to look back parameter in the Columns window that overrides the one in the Market Analyzer Properties window noted above. The higher the number, the longer it will take to load data and the more memory (RAM) NinjaTrader will use to hold the data in memory.
Each indicator has a Maximum bars look back parameter in the Columns window that determines how many historical indicator values are stored for access. It is set to TwoHundredFiftySix by default for optimal performance. Setting this to Infinite will take longer to calculate and NinjaTrader will use more memory (RAM) to hold the extra values in memory.

 

Indicator Calculate on Bar Close Parameter

All indicators added to the Market Analyzer have the parameter "Calculate on bar close" set to "False" as default. This allows for a tick-by-tick calculation. Setting this property to "True" by selecting the indicator within the Columns window will only calculate the indicator value on the bar close. This may help with PC performance.