Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
OnRender always updating
Collapse
X
-
Hello,
Thank you for the question.
OnRender is called very frequently and is not based on tick or market data, this is the Render loop for the chart and is related to how the chart is Rendered.
This would be expected, OnRender can be processor intensive if you are running a heavy calculation that takes a lot of time from OnRender on each frame, just Printing would not take much effort. This method should be called very frequently though so please keep that in mind with calculations you do as this method is strictly for Rendering visuals on the chart panel.
Generally most calculations that are data related would go in OnBarUpdate or one of the market data overrides, you could then display the results of those calculations more freely using OnRender.
Please let me know if I may be of further assistance.
Leave a comment:
-
OnRender always updating
Is that normal that even not connected OnRender is continuously updating.
I have written a Print statement to test this and I see my statement continuously printing ?
How can it update when there are no ticks coming in ?
That must be taking a lot of computer resources ...
ThanksTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Decrease the size of the RegionHIghLightY on each tick when the price touches it
by cmtjoancolmenero
Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
|
22 responses
69 views
0 likes
|
Last Post Today, 12:47 PM | ||
Started by reynoldsn, Yesterday, 04:40 PM
|
2 responses
12 views
0 likes
|
Last Post
by reynoldsn
Today, 12:47 PM
|
||
Started by i2ogu3, Yesterday, 11:31 PM
|
2 responses
18 views
0 likes
|
Last Post
by i2ogu3
Today, 12:37 PM
|
||
Started by llanqui, Today, 11:13 AM
|
5 responses
8 views
0 likes
|
Last Post Today, 12:31 PM | ||
Started by llanqui, 04-28-2024, 10:32 AM
|
10 responses
39 views
0 likes
|
Last Post
by llanqui
Today, 12:29 PM
|
Leave a comment: