fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Is there any way to backtest X number of bars?

    Questions & Answers
    2
    3
    498
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Laughton last edited by

      Hello,

      I'm wanting to backtest the same number of bars at different timeframes (M1, M15, H1, etc.). Let's say 1,000. Is there a way to do this via the EA?

      I tried making the 'Every N bars' block the first block in the series, connecting to 'Once per bar' (previously 1st), but no luck with it so far.

      Any help would be appreciated.

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        I don't understand what do you want to do exactly 🙂

        In MetaTrader you can set start and end date of the backtest. How many bars exists in every timeframe... this really depends on what is downloaded in the History Center. And unfortunately, MetaTrader 4 is well known for it's holes of missing data. Then you have holidays - saturday and sunday - different number of bars are "missing" in different timeframes (2 for Daily, 48 for H1....), so I don't know why do you want to work with fixed number of bars. I think the time is more important here.

        1 Reply Last reply Reply Quote 0
        • L
          Laughton last edited by

          Thanks for your help. I have subscribed 🙂

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          T
          C
          S
          A
          T
          M

          9
          Online

          146.9k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors