Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT autoplot misaligned
Collapse
X
-
Using both in the same code does not make sense i agree. I did not change the code for the test cs. In my actual cs I use them separately...i.e. I have a switch that gives the user the option to use settrailstop or the exitlongstop code...never both.Originally posted by NinjaTrader_Josh View Post
this would appear to me to be a failing of the simulator algorithm (which up until this event I thought was great). It makes no sense at all to me that you can get a fill outside the range of the bar. This is not possible in real trading and therefore should not be possible in sim I would think.Originally posted by NinjaTrader_Josh View Post
-
The simulator engine takes into consideration a number of factors. For the fills generated it considers bid/ask volume, trade volume, time and also a random time delay as well. All of which are used to determine a probability for filling at various prices. If it fills outside of the bar it has run through its algorithm and calculated out that the filled price may be a feasible price if this were a real order placed to the market. Obviously in sim mode your order would not move the bar, but in real life your order would have enlarged the bar to encapsulate the price it just traded at.
Consider this example:
bid = 1000
ask = 1001
You submit a market order in simulation. You will get filled at 1001 in simulation because that is what you would expect to be filled at in real life. Now if the real exchange just never trades there then your charts will not show any ticks up there. There is no correlation between the simulated exchange and the real exchange.Josh P.NinjaTrader Customer Service
Comment
-
sorry Josh....I think that explanation is not the answer...ie. that the fill could have been at that price in live trading
it would appear that the problem relates to the bar time...i.e. NT is plotting on the wrong bar
from the Executions tab, the exit was at the exact same second (9:40:09) as the bar time...and the plot was on the last tick (in the last second) of the wrong bar which had a low of 8300 ...4 ticks above the exit price
NT needs to plot on the next bar...which actually did trade at the exit price
even though this is a 30 tick chart, NT should still plot on the correct bar
I would still argue that this is a plotting bug and not simulator algorithm relatedLast edited by ATI user; 12-03-2008, 03:33 PM.
Comment
-
no change after clock resync
this is of course in Market Replay....does the resync affect that ?
I think the problem is that a 30 tick chart has so many bars that often an execution takes place at the exact time of the bar...and NT does not check to see if the bar traded at the execution price before plotting...NT needs to wait 1 second and plot on the correct bar
maybe related to bar construction?
guessing of course
Comment
-
ATI user,
I am going to have to suggest you get a clean reinstall of NT and .NET.
1. Uninstall NT
2. Uninstall .NET
3. Delete My Documents\NinjaTrader 6.5 (BACKUP EVERYTHING YOU WANT FIRST. NINJASCRIPT, WORKSPACE, REPLAY, ETC.)
4. Clear internet browser cache
5. Reinstall .NET 2.0
6. Reinstall NT
7. Resync PC clock
8. Retest with live dataJosh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
596 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
554 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment