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
-
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 llanqui, Yesterday, 09:59 AM
|
5 responses
26 views
0 likes
|
Last Post
by llanqui
Today, 01:46 PM
|
||
Started by quicksandatl, Today, 01:39 PM
|
1 response
1 view
0 likes
|
Last Post
by quicksandatl
Today, 01:40 PM
|
||
Started by md4866, 05-01-2024, 08:15 PM
|
2 responses
18 views
0 likes
|
Last Post
by md4866
Today, 12:33 PM
|
||
Started by samish18, Today, 12:20 PM
|
0 responses
7 views
0 likes
|
Last Post
by samish18
Today, 12:20 PM
|
||
Started by thread, 04-15-2024, 11:58 PM
|
3 responses
48 views
0 likes
|
Last Post
by Georg1o
Today, 12:05 PM
|
Comment