I ran your strategy through historical chart of the TF, no luck. Also, your strategy has a lot of parts to it. Is there anyway you can simplify it down to just the bare essentials. Literally just place only the necessary orders to reproduce once and nothing else? Thank you.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Stop order is being cancelled that is unrelated
Collapse
X
-
ahagger,
I ran your strategy through historical chart of the TF, no luck. Also, your strategy has a lot of parts to it. Is there anyway you can simplify it down to just the bare essentials. Literally just place only the necessary orders to reproduce once and nothing else? Thank you.Josh P.NinjaTrader Customer Service
-
Hi Josh, I mentioned previously that it works fine on historical data. The issue is with realtime data and from what I can work out the way the 1st entry order (2 contracts) is filled which probably flows on to the timing of when the related stop and target orders are placed by NT. The timing is evident in the trace orders output in a previous post (hopefully replay data has an issue as well which I will try when I can record some)
I'm not sure how I can simplify the script any more because all the orders are needed to demonstrate the problem.
Because it works fine with historical data I can't pinpoint a particular entry because I don't know how NT is going to fill an order with realtime data. Maybe the replay data will prove helpful with isolating a particular entry. The strategy I created for you was to provide lots of possible examples by taking frequent trades. Lower liquidity contracts such as TF and NQ have been more problematic than the ES because often the 1st entry order is filled completely with the ES.
Comment
-
Josh,
Are you able to explain why the EntryOrder2 is filled before EntryOrder1 is finished being filled? I would have thought EntryOrder1 is first in the queue so it should be completely filled before EntryOrder2 is filled. The trace orders and Executions output in previous posts demonstrate this happening.
Comment
-
ahagger,
There is no guarantee which order gets filled first. Whatever happens is due to market dynamics. Just because you submitted it first does not mean it will be guaranteed to fill first. Again, we will need your replay file before we can proceed. As of currently I am unable to reproduce.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Tim-c, Today, 03:54 AM
|
0 responses
3 views
0 likes
|
Last Post
by Tim-c
Today, 03:54 AM
|
||
Started by FrancisMorro, Today, 03:24 AM
|
0 responses
2 views
0 likes
|
Last Post
by FrancisMorro
Today, 03:24 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,771 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
31 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
945 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
Comment