![]() |
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
|
|||||||
| Charting Support for NinjaTrader Advanced Charting. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Senior Member
Join Date: Mar 2009
Posts: 477
Thanks: 11
Thanked 1 time in 1 post
|
I have a question:
If you place an indicator on a chart, and set the CalcOnBarClose setting to False, will the indicator calculate on every single tick that is received, or will it calculate only when the chart actually refreshes? For example, under the Properties tab, if I set the Display Update interval to 60 seconds, I'd like to know if an indicator with Calculate on Bar Close = false will recalculate every 60 seconds when the chart is refreshed, or on every tick. It makes a big difference to performance... thanks! |
|
|
|
|
|
#2 | |
|
Senior Member
Join Date: Aug 2010
Location: Washington, D.C.
Posts: 1,184
Thanks: 178
Thanked 301 times in 259 posts
|
I don't think your display refresh interval has anything to do with it.
It will be for each tick. Reading the documentation: CalculateOnBarClose ![]() ![]() Definition If true, OnBarUpdate() is called on the close of each bar otherwise it is called on each incoming tick. This property should ONLY be set in an Initialize() method and be the last statement within that method. · · Tips 1. Calculating indicators or systems for each incoming tick can be CPU intensive. Only calculate indicators on each incoming tick if you have a requirement to calculate it intra bar. Quote:
|
|
|
|
|
|
The following user says thank you to sledge for this post: |
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2009
Posts: 477
Thanks: 11
Thanked 1 time in 1 post
|
Thanks for the response... that kind of sucks. I would suggest to NT that they look into possibly making an indicator setting that allows you to refresh it only when the chart refreshes. It seems kind of pointless to refresh an indicator every tick if the chart it is displayed on only refreshes every 60 seconds... so what about it NT, is that something you might consider? Thanks!
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Aug 2010
Location: Denver, CO
Posts: 935
Thanks: 49
Thanked 79 times in 77 posts
|
Hello JS999,
Thank you for your posts. Looks like sledge answered your question correctly. I will take this suggestion and forward it to our Development Team.
Cameron
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2009
Posts: 477
Thanks: 11
Thanked 1 time in 1 post
|
Thanks Cameron... I would seriously consider this feature if I were you guys... one of the complaints some people used to have was the overall performance of NT, and often times people do put their indicators to Calculate on Bar Close to False... it just makes sense that the indicator shouldn't be calculating more often than the chart is repainting, and seems like a hidden waste of CPU cycles that could be improved. Thanks!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trail Stop update tick by tick while calculate on bar close | abarb26 | Strategy Development | 9 | 10-15-2010 10:36 AM |
| Does not update on every tick | eventrader | Indicator Development | 1 | 07-06-2010 04:37 AM |
| CalcOnBarClose FALSE & BarsSince | Pepperdog | Automated Trading | 1 | 12-04-2009 04:36 AM |
| MultiTimeFrame CalcOnBarClose | Trade1953 | Strategy Development | 4 | 10-19-2009 10:54 PM |
| Tick Charts won't update | garciaal | Charting | 3 | 08-11-2008 08:53 AM |