fxDreema

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

    How to make a Pending Order Trail ? (Note : Not Trailing Stop)

    Questions & Answers
    2
    5
    1176
    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.
    • N
      Nande Designs last edited by

      I am implementing a new break-out strategy. Where """"Multiple pending orders"""" launch exactly at the time of the news (e.g. Retail Sales News). The issue is that, because the trades are multiple, they don't all execute in once second (0.5 seconds for each trade) so only two would have launched in a second. So I am trying now to execute them before the news breakout time then have them trail until its news time, when they are already there.

      I have been trying to use the "Trailing Pending Order" block with the "Time Filter" block. I also tried replacing the Time Filter with the "Delay" block but they all don't work. Its either the Pending Orders don't trail (remain where they entered) and get triggered... Or when I use Delay, they don't execute until delay-time is over (only then start executing at 0.5 seconds each trade).

      How do I execute all Pending orders in advance and then have them """"trail""" (not get triggered) until a certain time period ?

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

        @nande-designs Where does the 0.5 seconds come from?
        I think you need a loop of some kind

        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
        • N
          Nande Designs last edited by

          0.5 is the Broker's execution time...

          I have spend quite some time of mixing and matching methods of doing trailing pending orders (the option is there in Fxdreema) but I can't figure out how to make it work.

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

            Hmm, interesting..

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

              Maybe the "slide order" function helps.. Here's an example
              https://fxdreema.com/shared/eldrdmecb

              Such precision trading will come with some problems:

              • Generally the spread widens just before news
              • Your broker might not allow moving the pending orders all the way to Ask price
              • There may not be new ticks before the news, so you want to use the OnTimer instead of OnTick
              • There's also the usual "kickback" to opposite direction before breakout, but that's purely a strategy question

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

              Online Users

              M
              A
              E
              K
              J
              J
              G

              32
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors