![]() |
|
|||||||
| Market Analyzer Support for the NinjaTrader Market Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2007
Location: , ,
Posts: 81
Thanks: 0
Thanked 0 times in 0 posts
|
I'm using NT beta 9.
In both charts and market analyzer, I have set the session times to 9:30 AM until 4:00 PM. But, the indicator value observed is different in market analyzer than in the chart itself. It appears that using indicators in the market analyzer is not using the modified session times. For example, I am using the Aroon Oscillator indicator and am seeing completely different indicator values in the chart data box versus the market analyzer indicator column. I thought it was a problem in the custom indicator I'm developing, but "standard" indicators show the same behavior. I noticed that the chart properties have an attribute called "show unstable period for indicators" but the market analyzer doesn't have that same attribute available. I'm suspecting that is the source of the problem? 1) Can this problem be fixed in the next beta ? 2) In the meantime, is there some code that can be added to my indicator to work around this problem ? Any pointers/tips on how to do this would be appreciated. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
First step, make sure you have loaded enough bars in the Market Analyzer. In the Properties dialogue, I believe there is a setting for bars back, tweak that to ensure you have enough data that covers your calculations.
Ray
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Also, make sure that chart indicators have "Calculate on bar close" property set to false. Market Analyzer indicators are set this was internally by default. This could also contribute to a discrepancy since the chart indicator value will display the last bar's value, not the current open bar's value.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|