fxDreema

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

    "Ontrade" Price order modified block?

    Questions & Answers
    3
    7
    1552
    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.
    • reyxv16
      reyxv16 last edited by

      Hello, I would like to know what would be the easiest way to detect if a pending order has been modified (changed price), I have tried to emulate it but only modifying the code of the "OnTradeListener ()" function in the code and it is very difficult for me the compilation. Any suggestions?

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

        I guess that I should make a block like "Order price modified", but I think that the existing "Order stops modified" also detects that event... because when you are moving the price, you are normally moving the whole order.

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

          Any suggestions on how to do it without having to modify the mq4 code? the block to modify stops does not work for that if the order does not have stops at the moment it moves

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

            Why dont you set some arbitrary stop on the order, like 9000 pips?

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

            reyxv16 1 Reply Last reply Reply Quote 0
            • reyxv16
              reyxv16 @roar last edited by

              @roar Hello, I just need to know if your opening price has been modified, I do not want to make any other changes to the order, I'll have to wait for this improvement or continue modifying the source code of fxdreema (something complex) or create a custom routine

              roar 1 Reply Last reply Reply Quote 0
              • roar
                roar @reyxv16 last edited by roar

                @reyxv16 I didn't fully understand you, but how are your orders moving? Automated or manual? If you have automated the moving, then you could simply store the price to a variable and then check if that variable changes..

                Need small help? Tag me in your post
                Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                  I added a new block "Order moved" under "on Trade"

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

                  Online Users

                  A
                  J
                  D
                  E

                  28
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors