Also when I look at a chart for each specific instrument it's showing all that time and I really am just wanting to see one month back if that. Would save the time of having to scroll back and forth through the charts to find the trade.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MaximumBarsLookBack
Collapse
X
-
MaximumBarsLookBack
Is there a way to manually set the max lookback in the code for the strategy analyzer? I see the min is 256, the biggest lookback I think I have is a 50 period sma using a 15min chart so I don't think I need that much. Was looking to speed up backtesting is all. I have 100+ instruments running from one script.
Also when I look at a chart for each specific instrument it's showing all that time and I really am just wanting to see one month back if that. Would save the time of having to scroll back and forth through the charts to find the trade.Tags: None
-
Hello Delta007,
Thank you for your post.
This would be controlled by the From and To dates in the Strategy Analyzer. If you only need one month, then only set it one month back. 256 is used to improve performance as more than this can be CPU intensive. If you use less than 256, then less than 256 bars are used.
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by decosenty, Yesterday, 11:33 PM
|
0 responses
6 views
0 likes
|
Last Post
![]()
by decosenty
Yesterday, 11:33 PM
|
||
Started by RicharBarrio, Yesterday, 11:26 PM
|
0 responses
4 views
0 likes
|
Last Post
![]()
by RicharBarrio
Yesterday, 11:26 PM
|
||
Started by paulo_br, 09-13-2024, 08:41 AM
|
8 responses
1,153 views
0 likes
|
Last Post
![]()
by AppleID25
Yesterday, 08:49 PM
|
||
Started by mno_om, Yesterday, 08:44 PM
|
0 responses
8 views
0 likes
|
Last Post
![]()
by mno_om
Yesterday, 08:44 PM
|
||
Started by MiCe1999, Yesterday, 07:36 PM
|
0 responses
13 views
0 likes
|
Last Post
![]()
by MiCe1999
Yesterday, 07:36 PM
|
Comment