Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plot() and Display Update Interval
Collapse
X
-
Plot() and Display Update Interval
The Plot() method is not firing, even though I have Display Update Interval set to 1 Sec. Plot() is only firing when I click on the chart. I understood that the Plot() method executes at the frequency set by Display Update Interval. Am I wrong? It is currently Saturday, outside of New York market hours, but I have the chart session template set to Default 24/7Last edited by monpere; 05-07-2011, 01:17 AM.Tags: None
-
No, that's not entirely correct from my observation. I've observed the Plot() method to be called on each incoming tick, and on user click on the chart. I thought that Plot() was also called at each "Display Update Interval" as set in the chart properties window. Am I wrong? If so what is the "Display Update Interval" used for?Originally posted by NinjaTrader_Austin View Postmonpere, what are you trying to do here? If there is no incoming chart data, then the plots won't update unless you hit the F5 key.
What I am trying to do is, I have overriden the Plot() method, and I want it to execute my code every x seconds regardless of if there is tick data coming in or not. I thought "Display Update Interval" would do that, is that an incorrect assumption?
Comment
-
My apologies. I was recalling something else.
I will have someone get back to you on Monday with a more concrete answer, but please be aware that overriding the Plot() method is unsupported.
If you are trying to do something say, every five seconds, you could use a timer object to do whatever you want.
In the example, it outputs the L2 book at a specified frequency, but you could adapt it for your needs.AustinNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
43 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
25 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
163 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
98 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
158 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment