fxDreema

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

    Question about writing indicator values

    Questions & Answers
    3
    10
    1892
    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.
    • isp00rt
      isp00rt last edited by

      I remember having read somewhere (I can't refind the thread) that there is a way to write all values of my indicators every time a trade is open. I see an interesting block called "Send e-mail". I see I can specify up to 10 data rows. Can I use it to send me an email with all values registered every time a trade is open?

      However, I would prefer reading it at the "Experts" or "Log" tabs at my MT4 platform. How could I implement that?

      Thank you very much in advance.

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

        There are few blocks that do that, such as Comment, Alert, Phone Notifications. All of them have multiple rows of data, but then you can read that data in multiple rows as well. There is a block "Log message", which uses Print() to print information in the log, but this information is one row. If you add \r\n (new row special symbols) in the text, everything would still be printed as one row text and it's hard to read anyway. That's why there are no rows of data in this block, I just didn't liked the way that the log looks like.

        Maybe you can try "Write to file", I think it will do better job than printing all kinds of stuff in the logs along with all the other junk there.

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

          Interesting. This raises a few more questions.

          1. I Took a look at the "Log Message" block, but I can't see how I can specify which indicators values should be printed. Only one space text is available.
          2. How will rows shown if I use the "Write to file" block?
          3. If I understand correctly, both of the previous blocks should be put at the "On Trade" tab, right? Will that be enough to print/send the required info every trade is open or should they be connected to any previous block?
          1 Reply Last reply Reply Quote 0
          • isp00rt
            isp00rt last edited by

            I tried this, but no messages are sent.

            https://fxdreema.com/shared/ILflvUL5c

            I checked my MT4 platform can send emails. Could you please tell me what am I missing?

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

              Could someone please help? 😞

              1 Reply Last reply Reply Quote 0
              • M
                miro1360 last edited by

                0_1491776811686_upload-70e6d4fe-6c35-42c5-a425-88e435d69083

                Between trading and gambling is a very small gap, be careful.

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

                  Ok. I didn't remember that rule. Now I modified it and this is how it is designed:
                  https://fxdreema.com/shared/pj1q5YuBd
                  It works perfectly except for one single detail. Two of the data rows required (rows 3 and 4) are not recorded. Emails are correctly sent and data from rows 1 and 2 is always correct, but the other two are missing.
                  Any hint why is this happening?

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

                    By the way, thank you very much for your help! 😉

                    1 Reply Last reply Reply Quote 0
                    • M
                      miro1360 last edited by

                      label in these rows must be filled, you have label in row 1 and 2 ok, but label in row 3 and 4 is not filled, and when it is empty, it is not sent ... 😉

                      Between trading and gambling is a very small gap, be careful.

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

                        I guessed it should be for a silly reason. Fixed and fully operational. Thank you very much again. 👍

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

                        Online Users

                        J
                        T
                        J
                        B
                        A
                        T

                        25
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors