fxDreema

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

    CHANGING A CONDITION'S TIMEFRAME

    Questions & Answers
    4
    13
    604
    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.
    • OD
      OD last edited by OD

      https://fxdreema.com/shared/sJEUrTwCb
      In the above example ,how can I change the timeframe from 15M to 30M when the variable output is false and loop back to 15M if the 30M variable output is false.

      1 Reply Last reply Reply Quote 0
      • X
        Xeta50 last edited by

        Just an idea as I never define variable for TF before

        1. Set variable "TF" as string with initial value = M15
        2. Use "TF" in your Time Frame box instead
        3. set condition blocks after (connected with) BUY==False block with
          1st block: "if TF = M15 then TF ==30"
          2nd block: "if TF = M30 then TF ==15"

        The more I help out, the more successful I become. But I measure success in what it has done for the people around me. That is the real accolade:

        Give and Take

        OD 1 Reply Last reply Reply Quote 0
        • OD
          OD @Xeta50 last edited by

          @Xeta50 Can you kindly share an example

          X 1 Reply Last reply Reply Quote 0
          • jstap
            jstap last edited by

            Blocks under the required bool condition using the relevant TF, you just won't change the visual chart.

            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! 😊

            l'andorrà 1 Reply Last reply Reply Quote 0
            • l'andorrà
              l'andorrà @jstap last edited by

              @jstap Just curious. What custom code would be required to change the chart timeframe the EA is working on?

              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

              1 Reply Last reply Reply Quote 0
              • X
                Xeta50 @OD last edited by Xeta50

                @OD Please use this as a concept as the real blocks/usage will depend on your logic.

                https://fxdreema.com/shared/sJEUrTwCb

                However, if what you mean is to change the visual chart as @jstap mentioned then it is a completely different story and I will wait him to kindly explain as well.

                The more I help out, the more successful I become. But I measure success in what it has done for the people around me. That is the real accolade:

                Give and Take

                OD 1 Reply Last reply Reply Quote 0
                • jstap
                  jstap last edited by jstap

                  This was easier than I thought it would be, add this to a chart with a TF different to 1hour, and the chart will change to 1hour: https://fxdreema.com/shared/I0euSX0Bd

                  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! 😊

                  OD X l'andorrà 3 Replies Last reply Reply Quote 0
                  • OD
                    OD @jstap last edited by

                    fcc4429e-3a94-4c16-87c2-3150934d0e98-image.png Thanks for the suggestion but I want to change this time frame in the condition blocks

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

                      @Xeta50 The example you have here is same as mine kindly elaborate your idea using that example I gave

                      X 1 Reply Last reply Reply Quote 0
                      • X
                        Xeta50 @OD last edited by

                        @OD I don't know the algorithm and reason why I adjusted your shared project but it won't change on your side may be you need to clear your cache . Please refer to the below picture for the idea then.

                        91c0dad9-5727-4eb4-9225-55e405215119-image.png

                        The more I help out, the more successful I become. But I measure success in what it has done for the people around me. That is the real accolade:

                        Give and Take

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

                          @jstap wow, it's really cool to have this in a pocket.

                          Thank you for sharing !!!

                          The more I help out, the more successful I become. But I measure success in what it has done for the people around me. That is the real accolade:

                          Give and Take

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

                            @OD How do you want this to change this, Constant or another way?

                            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
                            • l'andorrà
                              l'andorrà @jstap last edited by

                              @jstap Very interesting. Thank you,

                              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                              Online Users

                              J
                              T
                              J
                              B

                              17
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors