Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MaximumBarsLookBack

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by dadarara, Today, 03:21 AM
    0 responses
    6 views
    0 likes
    Last Post dadarara  
    Started by rajeshks1988, 01-13-2021, 12:00 PM
    10 responses
    1,261 views
    0 likes
    Last Post konganda  
    Started by M_ichel, 04-22-2025, 02:21 PM
    7 responses
    60 views
    1 like
    Last Post brucerobinson  
    Started by michelz, 02-18-2025, 08:30 AM
    33 responses
    1,062 views
    0 likes
    Last Post MiCe1999  
    Started by volIQ, 04-23-2025, 05:43 PM
    4 responses
    38 views
    0 likes
    Last Post volIQ
    by volIQ
     
    Working...
    X