Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Analyzer BarsBack
Collapse
X
-
cdcaveman, are you referring to the Strategy Analyzer or Strategy Wizard here?
MinBarsRequired means: how many bars to skip as the chart begins to give calculations enough data to initialize properly.
MaximumBarsLookback means: how many historical data points are accessible for custom DataSeries objects in your code, normally ok if you leave it on the default 256 setting to have a lower memory useBertrandNinjaTrader Customer Service
-
Originally posted by NinjaTrader_Bertrand View PostNo, this would just ignore then for example the first 20 bars on the chart and start all calculations from this point on, it will not skip any bars throughout the running testing.
i'm a little confused as to the reason why one would wanna start a particular number of bars back..
Comment
-
As an examlpe consider you instruct NT to backtest a strategy on 3000 bars going back from today.
What will happen with a MinBarRequired of 20 is this - the backtest will start on bar 20 and will work through each bar until it hits the last date.
The first 20 bars of non trading will give indicators the chance to start up their values to provide a meaningful output for strategy trading them.BertrandNinjaTrader Customer Service
Comment
-
-
If you would like to express - for a buy my MA value now has to be great than the one 3 bars ago, then this filed would let you express it, you would set this to 3 to indicator to check this value 3 bars ago and not on the current bar worked with.
A simple example would be for example under the 2nd section here -
BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by agilek, 09-13-2021, 08:11 AM
|
31 responses
2,665 views
0 likes
|
Last Post
|
||
Started by quantyse_ntforum, 03-10-2025, 09:05 AM
|
17 responses
313 views
0 likes
|
Last Post
![]()
by zakki
Today, 10:29 AM
|
||
Started by Berry Trader, Today, 09:45 AM
|
1 response
8 views
0 likes
|
Last Post
|
||
Started by M_ichel, Yesterday, 02:21 PM
|
2 responses
24 views
1 like
|
Last Post
|
||
Started by shankar.deshapande, Today, 08:24 AM
|
1 response
16 views
0 likes
|
Last Post
|
Comment