fxDreema

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

    One Trade Cycle Per Candle (No Re-Entry After TP/SL in Same Candle)

    Questions & Answers
    2
    4
    30
    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.
    • stonegoldtz
      stonegoldtz last edited by

      Hello everyone,

      I need help with my EA logic

      I want my robot to be able to place multiple orders within a single 5-minute candle if conditions are met. However, once those orders are closed (either by Take Profit or Stop Loss), the EA should NOT place any new orders again within the same 5-minute candle.

      The EA must wait for a new candle to open before placing any new orders.

      In short:

      *Multiple orders can be opened in one 5-minute candle
      *Once those orders are closed (TP or SL), no more trades should be opened in
      that same candle
      *Trading should resume only when the next candle starts

      Can someone guide me on how to build this logic in FXDreema blocks, or help me create it?

      Thank you.

      פוקפורקס Ltd

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

        On tick tab your logic allows the trades put this under a flag - on trade tab trade closed set the flag (so no more trades can be placed) - on tick once per bar (reset the flag (so trades can be placed).

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

        stonegoldtz 1 Reply Last reply Reply Quote 1
        • stonegoldtz
          stonegoldtz last edited by

          I am looking for professional assistance in building the logic for my EA in FXDreema. My requirement is to allow the robot to open multiple orders within a single 5‑minute candle if conditions are met. However, once those orders are closed (either by Take Profit or Stop Loss), the EA should not open any new trades again within the same candle. Trading should only resume when the next candle begins. I am willing to pay for this technical support. Please contact me if you can help

          פוקפורקס Ltd

          1 Reply Last reply Reply Quote 1
          • stonegoldtz
            stonegoldtz @jstap last edited by

            @jstap thank you

            פוקפורקס Ltd

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

            Online Users

            F
            M
            A
            L
            O
            S
            E
            J
            D
            M
            X
            K
            E

            27
            Online

            146.6k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors