fxDreema

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

    Display value when fractal is visible and deletes value when fractal is no longer visible

    Questions & Answers
    2
    4
    658
    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.
    • Johann 0
      Johann 0 last edited by Johann 0

      This one I have difficulties with.
      https://fxdreema.com/shared/9Yl9MvDkd

      It looks the way it does atm because I've been trying all sorts to try get it working.

      Anyone with experience with something like this ?
      0_1628445813890_1.mq5
      0_1628445954914_Twiggs_Money_Flow.mq5
      0_1628449391735_1.mq5 Updated

      Johannes

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

        @johann-0 I don't have much experience in drawing but you have a numeric variable being put into another then placing value as text, try and change all to text or number, otherwise have a condition if variable1=# put text in variable 2.

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

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

          @jstap that has no effect on anything. it's not a calculation but merely a naming mechanism. the string is sperate from the integer but joined to create the name.

          There is two separate jobs being done

          1. The text is given a name and number automatically by Mt5
            The name is specified and number increases on it's own every time text is drawn.

          2. The name and numbering is cloned on a sperate system in a loop.
            The name is specified (string) - typecasting
            The number is increased every time text is drawn (int) +1

          This is to specify which object to delete that goes by that name.

          Johannes

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

            @johann-0 Hi john, c1name as number, c1name1 receiving the number, c1name1 being drawn as text, in anything I have done on FXDreema nothing has worked changing the type, I havent downloaded the file to look at type but, c1name must be a double or int, c1name1 must be a string so I see no way you can put a number into text without converting, I may be wrong but try this and see if your problems are fixed, I would also put all variables into a comment block so you can visibly see what is happening.

            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
            E
            R
            S
            B
            N
            M
            A

            22
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors