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
NT autoplot misaligned
Collapse
X
-
Originally posted by NinjaTrader_Josh View Post
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 Seneca, 08-25-2020, 08:31 AM
|
3 responses
5,946 views
0 likes
|
Last Post Today, 06:30 AM | ||
Started by Tradereh2020, Today, 06:29 AM
|
0 responses
2 views
0 likes
|
Last Post
by Tradereh2020
Today, 06:29 AM
|
||
Started by slightly, Today, 12:49 AM
|
1 response
9 views
0 likes
|
Last Post Today, 06:28 AM | ||
Started by casabella, Today, 04:12 AM
|
1 response
17 views
0 likes
|
Last Post Today, 06:26 AM | ||
Started by ETFVoyageur, Today, 05:50 AM
|
0 responses
6 views
0 likes
|
Last Post
by ETFVoyageur
Today, 05:50 AM
|
Comment