fxDreema

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

    Enabling multiple time frames in strategy tester

    Questions & Answers
    3
    5
    4117
    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.
    • M
      Maddon last edited by

      Hi there,

      Is possible to load multiple time frames in the strategy tester.

      I am manually setting entry and exit levels ( via price level 1) with horizontal lines (specific names) and wanted to know if there is a way to enable the 15M, 1H, H4 and D1 time frames so that I can switch between them as the test simulation runs (visual mode). Sometimes one needs to zoom out to the daily weekly or even monthly time frame to see the forest from the trees.

      Any help or examples would be appreciated!!

      ~don

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        I am not sure about switching charts in tester, it possible can be done using offline charts, theory:

        1. EA in 1min chart - EA must have function to create offline charts
        2. when is EA running in tester, offline charts are creating and now you can switch between offline charts and in offline charts can be created these lines
          ... creating offline charts you need do manually with custom code block, but is not easiest

        second way can be:

        1. use tester only with primary TF and here you can print Higher TF candles, or use indicator to create higher TF candles - they can be created from objects (lines, rectangles ...) or with buffers "histogram", you can google for few indicators
        2. print on this primary TF these lines, you can change colors which can represent TF, lets say: clrOrange for H4, clrBlue for D1, etc. ...

        in MT4 tester is not possible open trades for another pair like tested one (eurusd in tester, so you can open only eurusd trades), but is possible working with offline charts
        in MT5 tester is not possible open offline charts, but it is possible to open multiple pair trades

        Between trading and gambling is a very small gap, be careful.

        1 Reply Last reply Reply Quote 0
        • M
          Maddon last edited by

          Thanks for the help but i'm straggling to make sense of what you said?

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

            For me timeframe buttons are disabled while testing, and even after that 🙂

            1 Reply Last reply Reply Quote 0
            • M
              miro1360 last edited by

              easiest way how to visualize higher TF is use of "MTF Candle indicator" - you can find through google ... of course, if you will indicator for this TF, google for MTF indicator ... when you start visual testing, place this indicator into your chart ...

              not all is working perfect
              something like:
              https://c.mql5.com/31/7/mtf-candles-screen-9122.png

              Between trading and gambling is a very small gap, be careful.

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

              Online Users

              M
              O
              H
              F
              H
              M

              9
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors