fxDreema

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

    Turn off/on strategy when you have more than one strategy

    Questions & Answers
    3
    4
    120
    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.
    • I
      Iwin last edited by

      Hello house, I intend to enable EA user to have the option to choose which strategy they want on a particular pair . My head is burning as I have not been able to archieve this with normal bool condition
      I will welcome any help. Also I want to be able to allow user to show between conservative and aggressive mode on my EA, conservative is when the unrealized profit is at a draw down of x% of the account balance the ea should not consider opening another trade across all the pairs loaded opposite is true for aggressive mode

      VHV-Profit-Masters 1 Reply Last reply Reply Quote 0
      • jstap
        jstap last edited by jstap

        Create an enum and choose the particular strategy in inputs, check this in a condition, then run the relevant blocks underneath

        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
        • I
          Iwin last edited by

          Ok thanks man

          1 Reply Last reply Reply Quote 0
          • VHV-Profit-Masters
            VHV-Profit-Masters @Iwin last edited by

            @Iwin
            Hello, I'm really very new to fxdreema, but I usually post a lot of questions looking for help and many of the answers are usually brief or so generalized that they only confuse more, for this reason I try to collaborate with the little that I can in a practical way... I hope I can help you with this, you must use the condition block and (bool) to activate or deactivate the strategy you are going to use,

            9e5a13c2-4dc4-427f-960f-9bb819c1149b-image.png

            here I made a small example:

            https://fxdreema.com/shared/nWq4ISX5d

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

            Online Users

            W
            C
            F
            N

            8
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors