fxDreema

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

    Modifying pending orders?

    Questions & Answers
    3
    8
    911
    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.
    • A
      adrianbialkowski last edited by

      Hi guys,

      I'm stuck. I want to set up two pending orders and edit them every 5 seconds so they are 10 pips from the current market price but cannot find an option:

      • to move the pending orders once they are set
      • to modify the SL and TP of pending orders (there's only an option to modify the SL/TP of already opened trades, not the pending limits

      Could any of you help me? Thank you

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

        What about "Trailing pending orders"? https://fxdreema.com/demo/mt4-trailing-pending-orders

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

          Hello, thank you for your answer.

          Yes, it seems that is exactly what I was looking for and I copied the example you pasted but it still doesn't work.
          It opens two orders but then nothing happens. I used the step of 2 pips

          http://i.imgur.com/g4o3cYT.png

          It would be great if the orders were changed every 2 pips for example OR every 2 seconds if it's possible.

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

            Ok, I changed to work "On tick" and it seems to be working fine. Will test it tomorrow.

            Another question though - when I use the "Terminate" command I get a pop up message on my MT4 that EA was terminated, is there some way to remove this notification?

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

              Look at the settings of the block

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

                Worked like a charm, amazing. Thank you!

                Is there a way to make it edit the pending orders every X seconds though? I noticed tthat 'on tick' isn't quite stable, sometimes it edits them and sometimes it doesn't. It would be easier if I could just put 30 seconds or something and it would edit them automatically. I made one EA already with your tools and it had that feature but those were on positions already open, not on pending orders.

                Thank you in advance

                1 Reply Last reply Reply Quote 0
                • R
                  Radar last edited by

                  Hey Adrianbialkowski,

                  Move the block(s) to the "On Timer" section, then go to "Options -> Current Project Options -> Timer Event Period" to set the frequency.

                  Have fun!
                  Radar =8^)

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

                    __Worked like a charm, amazing. Thank you!

                    Is there a way to make it edit the pending orders every X seconds though? I noticed tthat 'on tick' isn't quite stable, sometimes it edits them and sometimes it doesn't. It would be easier if I could just put 30 seconds or something and it would edit them automatically. I made one EA already with your tools and it had that feature but those were on positions already open, not on pending orders.

                    Thank you in advance[/quote:2sv0zpgj]

                    There is "on Timer" as well and this runs on every X seconds, no matter if there are ticks or not. The problem is that this can't be backtested and you don't really need that accurate seconds, i guess.
                    Under "on Tick" you can try some of the blocks in "Time Filters". They are not that accurate because ticks are not accurate, but I think that "Once per seconds" can do the job

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

                    Online Users

                    G
                    K
                    P
                    M
                    M
                    E

                    17
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors