Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
BidAsk Historical...
Collapse
X
-
I always see a sequence of 2 OnMarketData events (identical) and 1 OnBarUpdate event which is expected since both series subscribe to the same instrument. There is no filter on "bid" or "ask" or "last", only on instrument.
Note: BarsInProgress always is 0, since NT finds the first series matching an instrument (which is BIP=0).
Note: ignore the "*****" lines since they rather confuse the image.
Comment
-
Hey Dierk,
Yes, I see two now as well.
I think I see what you're saying.
So now, for example, lets say I'm running on a 1 minute chart with CalculateOnbarClose = false. In the Initialize() function I do the following
In OnBarUpdate(), to differentiate between the primary data series, Ask, and Bid is the following true?Code:Add(Instrument.FullName,PeriodType.Tick,1,MarketDataType.Ask); Add(Instrument.FullName,PeriodType.Tick,1,MarketDataType.Bid);
Primary data Series BarsInProgress = 0, ref Price = Closes[0][0]
Ask data Series BarsInProgress = 1, ref Price = Closes[1][0]
Bid data Series BarsInProgress = 2, ref Price = Closes[2][0]
And, how could I filter on a particular instrument then in the OnMarketData function, to differentiate between instruments?
Thanks again.
Comment
-
Historical Volume Profile
Hello all:
I'm new to NT (using NT7) and am currently migrating from TradeStation. Forgive me if I'm off on this but don't at least some data services provide historical volume profile for each bar (ie, up trade volume/down trade volume and upticks/downticks)? I know that in TS I get up/down volume and up/dn ticks for each bar (equities, options and futes). Since Reuters provides this data, isn't the fix for this as easy as NT7 supporting Reuters QuoteCenter?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
595 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