![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2010
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
I would like to ask how do I set the number of historical minute bars (or the number of days) a strategy loads when started. I am connected to ZenFire.
Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hello Maumau72,
Welcome to our forums! When you run a Strategy from the chart, the bars loaded is defined according to the Charts range. You can increase or decrease by right clicking and selecting Format data series. Adjust the Days back setting. When you run the strategy from the control center, it will give you the option of setting the date range. Once you set the range, the strategy won't actually start running until the Minimum Bars Required has been met.
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2010
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Ryan,
I am afraid I do not see where in the UI I set the date range when running a strategy from the control center. Thanks |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
I apologize. This setting is available from the version 7 ui, but not 6.5.
When using 6.5 you will have to set the default lookback under Tools > Options > Data.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Number of Bars and Indicator Labels | BlackJack | Suggestions And Feedback | 10 | 12-13-2011 07:07 AM |
| Volume Profile over number of bars? | edsfreedom | NinjaScript File Sharing Discussion | 6 | 11-05-2010 06:32 PM |
| Average number of Up Bars Vs. Down Bars | Dope63 | Strategy Development | 4 | 03-23-2010 06:50 PM |
| Number of bars of a session | pespinar | General Programming | 1 | 03-16-2010 04:09 AM |
| Req: Access to number of historical bars processing | tazatek | Suggestions And Feedback | 2 | 11-17-2009 01:34 AM |