Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Market Replay Lag
Collapse
X
-
Market Replay Lag
I'm trying to run market replay with an indicator I wrote. It is running extremely slow. In addition the current time display on the market replay dialog box is staying at 9PM although the charts is now at 9:15:00. How would I go about debugging why it is breaking market replay?Tags: None
-
Hello habibalex,
Thank you for writing in.
Could you please let me know how many of the indicators are calculating on each tick?
Could you please also let me know how many indicators are being rolled up into one?
Could you please confirm that everything works when you add all the indicators to individually to the same chart at the same time?
Do you have specific steps which you can take to recreate this behavior every time or close to every time?
This information will help me to narrow down the issue.
Thank you in advance.Michael M.NinjaTrader Quality Assurance
Comment
-
Hello habibalex,
Thank you for the update. If you could send the indicator via email to platformsupport[AT]ninjatrader[DOT]com with the subject line: "ATTN Michael M : http://www.ninjatrader.com/support/forum/showthread.php?t=80297" I will investigate this further.
Thank you in advance.Michael M.NinjaTrader Quality Assurance
Comment
-
Hi Mike, I've emailed you. I also noticed that the OnMarketDepth is not updating on a live chart. I believe I have the exact same code in my group indicator as the individual one that attaches the MarketDepthEvent to the OnMarketDepth function, so I'm not really sure why that isn't working either.
Comment
-
Hi the problem has been solved over email. The issue was I had attached the marketDepth.Update to a custom OnMarketDepth function and when it was run on Historical Bars it was causing the lag.
The solution was to put this in OnBarUpdate
Code:protected override void OnBarUpdate() { if (State == State.Historical) return;
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
942 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
9 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
4 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
28 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
33 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
Comment