Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MultiTimeFrame Strategy getting odd fill during backtest

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

    MultiTimeFrame Strategy getting odd fill during backtest

    Hi Everyone,

    Just trying to clean up a multitime frame strategy. I`m using two indicators, one on underlying chart price data and the other indicator on a 60 min time frame. When I do a backtest, I see I get odd fills on my underlying price data. (Please see attached image). How can I correct this? Any help much appreciated!
    Attached Files

    #2
    I think i have seen this before.
    In fact i am sure,

    Are you using the strategy analyzer?

    Originally posted by djoyce854 View Post
    Hi Everyone,

    Just trying to clean up a multitime frame strategy. I`m using two indicators, one on underlying chart price data and the other indicator on a 60 min time frame. When I do a backtest, I see I get odd fills on my underlying price data. (Please see attached image). How can I correct this? Any help much appreciated!

    Comment


      #3
      djoyce854, to which series are you submitting for the fills here?

      Comment


        #4
        Hi Guys,

        I am not using the Strategy Analyzer and i'm gonna try and answer you question Bertrand as I'm quite new to programming. I basically have an if statement with:

        if( Close[0] > yadda yadda && BarsArray[1] > yadda yadda) then execute.

        I am using an underlying 9min chart with the BarsArray[1] fetching a indicator value on a 60 min chart to use on the underlying 9 min chart. Hope that makes sense.

        Any help much appreciated!

        Thanks.

        Comment


          #5
          Thanks djoyce854, but in which BarsInProgress do you take action with your condition?

          Comment


            #6
            Yup that was it. Didn't have BarsInProgress set correctly. Thanks!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            598 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            343 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            103 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            557 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            555 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X