Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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
-
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 ageeholdings, 05-01-2024, 05:22 AM
|
5 responses
30 views
0 likes
|
Last Post
by ageeholdings
Today, 03:21 PM
|
||
Started by reynoldsn, Today, 02:34 PM
|
0 responses
6 views
0 likes
|
Last Post
by reynoldsn
Today, 02:34 PM
|
||
Started by nightstalker, Today, 02:05 PM
|
0 responses
9 views
0 likes
|
Last Post
by nightstalker
Today, 02:05 PM
|
||
Started by llanqui, Yesterday, 09:59 AM
|
8 responses
28 views
0 likes
|
Last Post
by llanqui
Today, 01:57 PM
|
||
Started by quicksandatl, Today, 01:39 PM
|
1 response
6 views
0 likes
|
Last Post
by quicksandatl
Today, 01:40 PM
|
Comment