fxDreema

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

    "For Each Closed Position" block is not working.

    Bug Reports
    4
    8
    718
    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.
    • R
      rafaelgrecco last edited by

      The block described in the title (For Each Closed Position) is not working anymore.

      Projects I made around a month ago (begnning of February) that used this block were working correctly.

      When I import those same projects and compile them again, those blocks stops working.

      I made a very simple project as example: https://fxdreema.com/shared/j4rfm1PBc

      In this simple project, everytime a trade (any symbol any magic number) is closed the counter should be implemented by 1, but it is not.

      Can you have a look please?

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

        Yes, there ere some changes in the code a few weeks ago. You should use a new block in your projects instead of holding the old ones in your projects.

        (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.

        R fxDreema 2 Replies Last reply Reply Quote 0
        • R
          rafaelgrecco @l'andorrà last edited by rafaelgrecco

          @l-andorrà Thank you for the reply.

          But the project I shared as example is new, I made it just as I posted here... it means even new blocks are not working.

          Have you tried the example? It's pretty simple. Just add it to your MT5 and wait for you other EAs or manual trades do complete. The counter should add 1 each time a trade is closed, but it is not working (at least not on my terminal...)

          A 1 Reply Last reply Reply Quote 0
          • A
            ambrogio @rafaelgrecco last edited by

            @rafaelgrecco i tested your project in the strategy tester and it doesn't show the count, i replace the block "comment" with a new one, it works now

            Cattura.PNG

            R 1 Reply Last reply Reply Quote 0
            • R
              rafaelgrecco @ambrogio last edited by

              @ambrogio is it couting the closed trades?

              A 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @rafaelgrecco last edited by

                @rafaelgrecco yes

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

                  @l-andorrà said in "For Each Closed Position" block is not working.:

                  Yes, there ere some changes in the code a few weeks ago. You should use a new block in your projects instead of holding the old ones in your projects.

                  No, the blocks can stay the same, they don't need to be replaced with new ones. There is a situation when block replacement works, but this is when somewhere in its hidden properties (because they are all there, but some of them are hidden visually) some broken constant or a variable is lurking.

                  When I'm changing the code of some block, I prefer to do it in a way to not change it's assumed behavior. I only want to fix some bug or to add some new option. If I ever decide to really replace a block, which happened in the past, what I do is that I create a new block and the old one I deprecate. There is such functionality that when some block is deprecated, in the project where it used it appears darker and there is a warning message.

                  @ambrogio said in "For Each Closed Position" block is not working.:

                  @rafaelgrecco i tested your project in the strategy tester and it doesn't show the count, i replace the block "comment" with a new one, it works now

                  His "Comment" block is working fine, but he selected some dark colors and the text can't be seen on the default black background.

                  1 Reply Last reply Reply Quote 1
                  • fxDreema
                    fxDreema @rafaelgrecco last edited by

                    @rafaelgrecco I tested this and it worked on the tester. But when I tested it on real, it didn't work properly. I investigated it and eventually I found that in one function I forgot to put some code. I fixed this. I tested it and I think it works now.

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

                    Online Users

                    O
                    K
                    M
                    M
                    C

                    13
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors