I ask this because, sometimes I'm missing some recorded data, so Pivot calculations inside the strategy won't be accurate.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to get Prior day open close high low from the broker
Collapse
X
-
How to get Prior day open close high low from the broker
My broker is IB, and I'd like to know is there any way to get prior day open, close, high, low, and daily candle straight from the broker.
I ask this because, sometimes I'm missing some recorded data, so Pivot calculations inside the strategy won't be accurate.Last edited by BankRobber; 01-11-2012, 02:52 PM.Tags: None
-
Hi BankRobber,
Yes, you can get some of these values directly from the data provider. See OnMarketData here:
Most of these values are for the current day. Best may be to add a daily interval to multiseries NinjaScript, and you can access from the provider that way.Ryan M.NinjaTrader Customer Service
-
What if i have multiple instruments in my strategy, can i get MarketDataEventArgs for every instrument?Originally posted by NinjaTrader_RyanM View PostHi BankRobber,
Yes, you can get some of these values directly from the data provider. See OnMarketData here:
Most of these values are for the current day. Best may be to add a daily interval to multiseries NinjaScript, and you can access from the provider that way.
Comment
-
Yes, you can filter events within a specific BarsInProgress.
Here is the page to OnMarketData() event.
Last edited by NinjaTrader_RyanM1; 01-11-2012, 03:49 PM.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
67 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
36 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
60 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment