![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2011
Location: New York
Posts: 35
Thanks: 6
Thanked 2 times in 2 posts
|
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 at 01:52 PM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hi BankRobber,
Yes, you can get some of these values directly from the data provider. See OnMarketData here: http://www.ninjatrader.com/support/h...aeventargs.htm 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 |
|
|
|
|
|
#3 | |
|
Member
Join Date: Aug 2011
Location: New York
Posts: 35
Thanks: 6
Thanked 2 times in 2 posts
|
Quote:
|
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Yes, you can filter events within a specific BarsInProgress.
Here is the page to OnMarketData() event. http://www.ninjatrader.com/support/h...marketdata.htm
Ryan M
NinjaTrader Customer Service
Last edited by NinjaTrader_RyanM; 01-11-2012 at 02:49 PM.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I get the High, Low, Open, Close from BarsArray? | atrader | General Programming | 2 | 04-24-2009 08:47 AM |
| Charting Highest High And Lowest Low Of Prior Day | pedroprada@bellsouth.net | Charting | 3 | 12-29-2008 10:17 AM |
| Charting high/low/close and open/close widths | gluebunny | Charting | 11 | 09-29-2008 10:47 AM |
| Plotting Open, High, Low, and Close. | strategy1 | General Programming | 1 | 07-22-2008 03:20 PM |
| Trouble with Open, High, Low, Close | SuzyG | Indicator Development | 4 | 03-05-2007 04:03 AM |