fxDreema

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

    Multiple trades on current candlestick

    Questions & Answers
    3
    3
    22
    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.
    • K
      Katlego Moraba last edited by Katlego Moraba

      How do I stop my indicator from executing trades before the candle has fully formed/closed?

      For example: using RSI, I want to execute a buy order when RSI crosses above 50 and a sell order when it crosses below 50.
      The problem is that while the current candlestick is still forming, the RSI fluctuates and triggers multiple buy and sell signals.

      What logic can I use to ensure that trades are only executed after the candlestick has fully closed, to avoid false signals during candle formation? I've tried candle ID 1 & 2 but didn't work

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

        once per bar block above your buy/sell block.

        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
        • S
          sktsec @Katlego Moraba last edited by

          @Katlego-Moraba
          Use the result of previous bar.

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

          Online Users

          E
          A
          E
          M
          T
          E

          11
          Online

          148.2k
          Users

          22.4k
          Topics

          122.7k
          Posts

          Powered by NodeBB Forums | Contributors