Am I correct in assuming that T&S would only be streamed once even though I may have it in an indicator used in multiple charts with the same instrument (just a different time frame)?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Time and sales data Calculate on Price Change
Collapse
X
-
Time and sales data Calculate on Price Change
Does changing the Calculate property on my indicator have any impact on Time and Sales? I'm guessing that OnMarketData is being triggered at all ticks regardless of the indicator property setting. I know T&S data is resource intense, but can it alone cause lagging charts?
Am I correct in assuming that T&S would only be streamed once even though I may have it in an indicator used in multiple charts with the same instrument (just a different time frame)?Tags: None
-
Hello Chippy,
Changing the Calculate setting can have a performance impact on any instrument subscriber threads that are subscribed to the same instrument, if the code running on that thread is resource intensive.
OnMarketData() does update for every update, but it depends on the code being run on that event on how much of a performance impact that will have.
The T&S example does not have a large impact, but only prints the values to the output window.
Market updates are received received once, and this triggers an event to push the update for all of the subscriber threads on that instrument.Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
649 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
573 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
576 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment