Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Working with removals in level 2 order book
Collapse
X
-
Working with removals in level 2 order book
I copied the sample code for maintaining a level 2 order book then added a few statements of my own. If the following statement is true: (if rows[e.Position].Volume > e.Volume && e.MarketDataType == MarketDataType.Ask && e.Position == 0), this should mean that an order was removed from the order book at the position given by the current ask price. My question is, does this removal mean that a user manually removed an order from the order book or could it also mean that their order has been filled and subsequently removed by the order book. My end goal is to make an indicator that keeps track of orders that were placed within the timeframe of the current bar and filled before the bar close. Is it even possible to accomplish this with the data that is provided?Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
594 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