fxDreema

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

    Best time of day to trade testing

    Questions & Answers
    variables time strings arrays
    3
    5
    1050
    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.
    • P
      philmorgan0382 last edited by

      Hi all,
      I want to set a test up where an existing EA i currently use which does all its work from a "once per bar" block will be changed for "once per day" at a particular hour.

      I know I can create a string variable to change the time before starting optimisation, but that doesn't allow a range to step through and find the optimum time.

      How can I make a variable for the "once per day" block which will give a list of all 24 hours that are selectable when starting the EA or optimisation?

      Many thanks in advance for any advice or help.

      jstap 1 Reply Last reply Reply Quote 0
      • jstap
        jstap @philmorgan0382 last edited by

        @philmorgan0382 I think if you use int instead of string then 1-24 will give you the hour, not sure if you can use double to use minutes, but worth a try.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 0
        • P
          philmorgan0382 last edited by

          Yes thats it! Fantastic!
          optimization with a range from 0 to 96 shows results for all from 0 to 23, the rest were no trades made. thankyou!!

          jstap 1 Reply Last reply Reply Quote 0
          • jstap
            jstap @philmorgan0382 last edited by

            @philmorgan0382 Your welcome

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            1 Reply Last reply Reply Quote 0
            • K
              kelrobot last edited by

              Hello, I’m curious about this. Is there a way to that the EA shows you the optimum hour of profits in back test? And if it available and it has 2 o 3 periods, can I select 3 different periods for the EA? Example, 2 am to 5am, 7am to 11am and 3pm to 7pm. Thanks

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

              Online Users

              A
              A
              R
              S
              M
              P
              R

              21
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors