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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
65 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
149 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
99 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment