fxDreema

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

    Closed days and EA

    Questions & Answers
    2
    4
    254
    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.
    • B
      bagheria last edited by

      Hello all!

      I would like to not trade during holidays. I give you an example. I want my EA don't open trades the 26th may 2022. How can I define this day in my EA? And if I want to define a schedule like "01/05/2022" & "26/05/2022" & "24/12/2022" & "25/12/2022"....
      Thanks for your help

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

        @bagheria You can get time/date with code, you could then use a condition with the date/times in (use a string/text) the value, in this link you will see how to get market closed aswell (only works on MT4).

        https://fxdreema.com/shared/nSqfuZaXc

        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
        • B
          bagheria last edited by

          Thank you so much but I am creating an EA with MT5 platform, not MT4...

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

            @bagheria Then you can't use market closed but everything else works, just copy.

            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
            • 1 / 1
            • First post
              Last post

            Online Users

            P
            B
            N
            E
            M
            J
            S
            C

            17
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors