![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Aug 2008
Location: Orlando, Florida
Posts: 166
Thanks: 0
Thanked 0 times in 0 posts
|
how would I change this to default to a number other than 20?
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
BarsRequired = x
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2009
Location: Utah
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
So the only way to change the BarsRequired value for a built in indicator (like Range) is to make my own copy and add the BarsRequired statement?
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
That is correct.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: May 2009
Location: Utah
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
Suggestion for future release: Make BarsRequired a value that can be changed under the General section when you add an indicator to a chart, like Auto scale, or Displacement. Also, allow the user to change the program wide default value under the Options menu in the Control Center.
|
|
|
|
|
|
#6 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Thank you for your suggestion. We will add it to the list of future considerations.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Min. Bars Required Question... | BigDog008 | Automated Trading | 3 | 12-26-2008 11:57 PM |
| Enter on bars, exit on ticks and min bars requirment | coolraz | Strategy Development | 3 | 12-15-2008 09:59 AM |
| Min bars required in a live strategy | bluelou | Strategy Development | 5 | 08-25-2008 12:04 PM |
| Min Bars required under strategy backtesting | Sidhartha | Strategy Development | 4 | 04-08-2008 07:17 AM |
| required bars | behealed | Miscellaneous Support | 1 | 04-03-2008 09:48 PM |