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 Hwop38, 05-04-2026, 07:02 PM
            0 responses
            161 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            308 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            245 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            349 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            179 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X