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!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
CalcOnBarClose = false... does it update on every tick?
Collapse
X
-
CalcOnBarClose = false... does it update on every tick?
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!Tags: None
-
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.
Originally posted by JS999 View PostI 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!
-
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!
Comment
-
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!Originally posted by NinjaTrader_Cameron View PostHello 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.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
71 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
25 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
28 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
56 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment