fxDreema

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

    How can I check if a trade's comment contains an "X" string? Can I do it with the regular condition block?

    Questions & Answers
    3
    9
    262
    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.
    • E
      eranger last edited by

      How can I check if a trade's comment contains an "X" string? Can I do it with the regular condition block?

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

        Yes but you need a for each trade block, and get the value in a loop:
        image.png

        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
        • E
          eranger last edited by

          This I know, it still doesn't answer my question... Anyone else has an idea???

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

            I think it does, but if not elaborate on what you need and I will see if I can help

            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
            • l'andorrà
              l'andorrà @eranger last edited by

              @eranger This is the second thread you created for the exact same question. Please don't duplicate threads.

              (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
              • E
                eranger last edited by

                Read carefully what I wrote it is very clear. It's just a challenging question that I think many people can encounter this problem:
                In the condition block you have only: ==, <, > but you don't have contain function for comparing text values in contrary to numeric values

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

                  I did! "How can I check if a trade's comment contains an "X" string? Can I do it with the regular condition block?" what I showed is how to get a comment from a trade, so elaborate...and you can be helped. == compares text values

                  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
                  • E
                    eranger last edited by

                    Okay but if I have a long text comment and I need to check only part of the comment:
                    "trade-10-33", "trade-20-40"
                    I need it to check if the comment contains only "-10-" or only "'-20-" and not the whole comment.

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

                      This is the general principle, you can mix this in standard blocks: https://fxdreema.com/shared/HW3zmg2wb

                      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

                      P
                      R
                      S
                      R
                      E
                      M
                      P
                      C
                      J

                      18
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors