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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
649 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 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
573 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
576 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment