fxDreema

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

    Check profit (unrealised) block bug?

    Bug Reports
    6
    19
    1512
    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.
    • D
      droctagon last edited by droctagon

      Created .ex5 files with blocks that utilise 'pips (total sum)' and 'pips (as position)'. These blocks do not seem to be executing in projects that I have compiled today, where they used to work as expected. Tried on different instances of Metatrader 5, on different machines, with different Symbol data sources and they do not seem to be executing as they should in the above modes. Attached a demo that demonstrates:

      0_1654549016626_Close tester.mq5

      jstap CedieTraderMax 2 Replies Last reply Reply Quote 0
      • jstap
        jstap @droctagon last edited by

        @droctagon Add the shared project not the MQ file.

        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
        • D
          droctagon last edited by

          Thanks

          https://fxdreema.com/shared/ItDYpefWb

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

            @droctagon Most blocks work on every tick on the on tick tab, not used check profit average, does it work without them? I would move blocks to the side till I find which ones are stopping EA from working.

            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
            • D
              droctagon last edited by

              Thanks jstap, yes it works without them, I had already isolated them as the blocks that were problematic. I haven’t had a chance to revisit it today, so I shall double check tomorrow and see if I still have the same problem. Thanks.

              1 Reply Last reply Reply Quote 0
              • C
                candee249 last edited by

                I have the same issues ... 😕

                I this issues can be reproduced by Downloading/ Compiling an EA from FxDreema if the Check Profit Block has a negative value, it somehow breaks whole Fx Dreema webpage over time if insufficent RAM is allocated, like color issues, blocks not connecting or not even working at all, or update errors, the only way to fix this is by creating a new project. I never use negative variables again.

                1 Reply Last reply Reply Quote 0
                • D
                  droctagon last edited by droctagon

                  I have checked this again today and the Check Profit blocks are still not executing (or are preventing the block below it from executing). When I bypass them, my connected blocks execute. I've updated demo shared project to simplify. Will have to get on to support I think.

                  shared/YVYyUoCmc

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

                    @droctagon I have never managed to get these blocks working, I normally use money though and this can be got from bucket of trades or profit (for all).

                    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
                    • D
                      droctagon last edited by droctagon

                      Ah really, I’ve been using them successfully for years. I use them to apply different closing rules (based around MACD of different timeframes) depending on what the current profit level is. I would use ‘money’ but my lot sizes change frequently and it wouldn’t work as I’d like.

                      I’ve just thought that I could build a work-around, just calculating the current price against the open price to establish the pips in profit.

                      Thank you for you feedback / assistance though, much appreciated.

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

                        @droctagon Your logic is correct. If they are not working it is definitely a bug.

                        (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
                        • D
                          droctagon last edited by droctagon

                          I've been in comms with @fxDreema and he's attentive to the issue (as he usually is 🙂 ), however he says that he has been unable to recreate the issue. I've been able to recreate the issue over multiple MT5s on multiple machines in different locations (local and remote), so if anyone is curious or feeling particularly helpful, perhaps you could see if the following example that @fxDreema shared, works or doesn't work correctly for you:

                          https://fxdreema.com/shared/aUOc2PkFd

                          It should close the open trade after reaching / exceeding 10 pips in profit, but for me it now just bypasses the 'check profit' block completely and moves on to the next block 'close positions', ignoring the 10 pips profit 'check profit'.

                          Any feedback much appreciated.

                          Paul.

                          1 Reply Last reply Reply Quote 0
                          • A
                            aku_ami last edited by

                            I have same issue here on MT4, been using this block for quite some times to close orders by pips in profit, but suddenly not working. is there any workaround?

                            1 Reply Last reply Reply Quote 0
                            • D
                              droctagon last edited by droctagon

                              I'll let @fxdreema know that there seems to be a +1 with the same issue on MT4. I'll post back with any update he gives me. If he's too busy then I am planning on just creating a manual workaround using a formula to calculate the pip difference between the opening price and the current price and using that value to assess the unrealised profit (or loss) pips.

                              Thanks for letting me know.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                aku_ami @droctagon last edited by

                                @droctagon said in Check profit (unrealised) block bug?:

                                I'll let @fxdreema know that there seems to be a +1 with the same issue on MT4. I'll post back with any update he gives me. If he's too busy then I am planning on just creating a manual workaround using a formula to calculate the pip difference between the opening price and the current price and using that value to assess the unrealised profit (or loss) pips.

                                Thanks for letting me know.

                                No problm, thanks for the help! looking forward for the workaround if not resolve.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  droctagon last edited by

                                  @fxdreema has informed me that he thinks he’s fixed this block. I haven’t had time to test it but thought I’d update in case anyone was waiting for a fix. Thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • CedieTraderMax
                                    CedieTraderMax @droctagon last edited by

                                    @droctagon
                                    I think it is working fine on my side, I've used the block both on mt4 and mt5 as my failsafe when my formula on computing target profit with swap, especially on multiple order.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      aku_ami last edited by

                                      as i test on mine, it's still not working. Please let me know if yours are working.

                                      CedieTraderMax 1 Reply Last reply Reply Quote 0
                                      • CedieTraderMax
                                        CedieTraderMax @aku_ami last edited by CedieTraderMax

                                        @aku_ami
                                        Here is mine, working's fine at 11pips gain in pips. I set target tp as 18pips to hide my actual tp target of 11pips.

                                        0_1656674754593_sketch-1656674245979.png

                                        ![0_1656674848691_sketch-1656674245979.png](Uploading 100%)

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

                                          @cedietradermax Tested this block and seems to do as needed: https://fxdreema.com/shared/vE42R76oe

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

                                          Online Users

                                          E
                                          C
                                          M
                                          M
                                          F
                                          L
                                          F
                                          F
                                          E
                                          K
                                          M
                                          T

                                          30
                                          Online

                                          146.6k
                                          Users

                                          22.4k
                                          Topics

                                          122.6k
                                          Posts

                                          Powered by NodeBB Forums | Contributors