Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting Multi-Timeframe does not match real market data.

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

    #16
    Optimization of bar Intervals

    Originally posted by NinjaTrader_Ray View Post

    how would you go about optimizing these values since NT does not support optimization on bar intervals?
    The way I've been doing it is in the attachment.

    I defined a parameter called BarsPerPeriod, and it may be used to select any time frame and may be varied by the Optimizer.

    For more info, the file actually is commented -- let me know if its adequate to your understanding.

    Best regards,

    KBJ
    Attached Files

    Comment


      #17
      Sorry what you're trying does not work. NT is not designed to take an "BarsPeriod" parameter in the Initialize method to run it by the optimizer.

      It may appear so, but it will not work and you will hit the wall "here or there". We recommend not trying that.

      Note: Fixed "BarsPeriod" values are fine.

      Comment


        #18
        Yup. Dierk is right. When it come to determining whether your strategy would work best on a different time frame, Ninja trader cannot help you with that, You actually have to input them yourself, and then optimize on different parameters for your indicators.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by nleitman, Yesterday, 11:46 AM
        16 responses
        43 views
        0 likes
        Last Post nleitman  
        Started by MSerag, Yesterday, 11:52 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by dcriador, Yesterday, 01:43 AM
        6 responses
        27 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by James650, Today, 08:25 AM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by Rogers101, 05-05-2024, 11:30 AM
        14 responses
        40 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X