fxDreema

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

    How do I delete a chart comment when trade closes?

    Questions & Answers
    3
    6
    340
    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.
    • Julianrob
      Julianrob last edited by

      Hi,

      I have been trying to figure this out for so long with trial and error. Now to the forum... I am trying to simply delete a chart comment once a trade closes.
      I have tried if 'no trade' - turn off blocks with comment ID. I have tried 'check trades count, for each closed trade, etc., but no luck.

      Here is what I have;
      https://fxdreema.com/shared/NGMV3Tt6

      Someone please assist? Thanks in advance!

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

        Use orange blocks with a name to draw, then use the name to delete.

        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
        • willramsey
          willramsey @Julianrob last edited by

          @Julianrob You can also just use the Delete Objects by type block and choose labels assuming you don't have any other text/labels you don't need. Just one block to do it.

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

            Thanks jstap. It took me several searches here to realise comments can't be deleted. Not as convenient, because creating labels, then variables, all need their own text blocks because there aren't optional multiple labels and values, also no way to control decimal places. I guess I have to convert to text blocks.

            Could we request this as a bug fix, to be able to delete comment blocks? It would be so good. Thanks

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

              I noticed with several text objects continually updating, it slows backtesting waaaay down to a crawl. So I've got a version for backtesting with all that disconnected

              willramsey 1 Reply Last reply Reply Quote 0
              • willramsey
                willramsey @Julianrob last edited by

                @Julianrob Why don't you just use the Delete Objects by type block? Then select labels. The Comment block is just text labels even if it has number values. There's no need to draw text. But just removing it for back-testing works too lolScreenshot 2023-12-02 062211.png

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

                Online Users

                F
                R
                S
                D
                V
                O

                14
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors