fxDreema

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

    Comment Block - pseudo delete

    Bug Reports
    4
    7
    876
    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.
    • M
      Mantadiver last edited by

      I still have not discovered a way to delete, ie completely remove a comment blcok from the chart.

      I can update values by feeding variables into the value fields.

      I am trying to pseudo turn comments off by inserting a "." and changing the text color to match the background, however although my color variable successfully sets the start text color it fails to update the color when the color variable is changed and comment vlock re-run.

      Is this a bug, intended or am I doing something wrong ?

      I have tried using both string and color variables to change the color.

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

        if you use constants and variables in blocks, and then maybe change the dropdown without deleting variable and constants that was input into any spots, that will still leave values within the block. You must right click to remove always.

        Easiest way to test what I mean, make up a constant for an MA. Input the constant into the MA portion of a condition block. update the block and close it. Now go back into the blck and change it to a different indicator. Update the block and close. Now go and try to delete the MA constant. You will not be able to.

        Maybe something like this is causing your issues

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

          @mantadiver Do you mean you want to delete the text shown by a 'comment' block from screen? AFAIK that is not possible. What you can do is using text blocks insted and then delete the texts one by one or by colour.

          (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
          • M
            Mantadiver last edited by

            Thank you both for your input, @TipsyWisdom, tried your suggestion but didn't notice any change.

            @l-andorrà the text blocks work well, it's just that I use a fair few and lining everything up / making changes takes time whereas the Comment block takes care of simple alignment and has the advantage of being manually moveable.

            My "solution" which is a cludge is as follows:-

            1. Make sure all variables used in the comment block are "string".
            2. Convert any numbers to string e.g Value / Text(code input) DoubleToString(AccountEquity())
            3. Create a variable to specify the font ie. Verdana
            4. Then to delete the comment text from screen I change the font variable to "Wingdings"
            5. Finally for each text field change Value / Text(code input) to CharToString(32)

            Wingdings charachter 32 is blank and this successfully removed the text from the screen.

            I then created a button to turn the comment block on / off and so far it works.

            I am not familiar enough with MQL to appreciate why a comment block cannot be deleted (yet?) but this workaround seems to work.

            l'andorrà TipsyWisdom 2 Replies Last reply Reply Quote 0
            • l'andorrà
              l'andorrà @Mantadiver last edited by

              @mantadiver Very interesting. Thanks for sharing.

              (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
              • TipsyWisdom
                TipsyWisdom @Mantadiver last edited by

                @mantadiver said in Comment Block - pseudo delete:

                I am not familiar enough with MQL to appreciate why a comment block cannot be deleted (yet?) but this workaround seems to work.

                ^ this makes me think that maybe comments are displayed as an overlay, rather than being an object on the chart, if that makes sense?

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

                  @tipsywisdom Your probably right, they are not found it the object list.

                  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
                  • 1 / 1
                  • First post
                    Last post

                  Online Users

                  A
                  V

                  20
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors