NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-27-2007, 01:25 PM   #1
svrz
Member
 
Join Date: Apr 2007
Location: , ,
Posts: 82
Thanks: 1
Thanked 1 time in 1 post
Post imported post

Hi

I have a simple indicator in which the current daily volume is divided by the n period moving average of the daily volume. It is imperative that this indicator be updated during the intra-day trading periods. This indicator by default has the 'Calculate On Bar Close' flag set to false. However when it is inserted into a Market Analyzer column, the values for this indicator are incorrect. I suspect the daily volume that is used in OnBarUpdate to calculate the indicator is not updated continuosly through out the trading day.

I notice a similar behavior when the indicator is plotted on a daily chart before the market closing hours.

If my suspicion is correct, how can I remedy this situation?

Thanks in advance.

svrz is offline  
Reply With Quote
 

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


All times are GMT -6. The time now is 12:05 PM.