fxDreema

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

    Slide the furthest pending orders

    Questions & Answers
    2
    3
    841
    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
      ambrogio last edited by

      Hi @roar , in the case of a grid, how to slide or cancel and replace pending orders when the price go away? For example move the four furthest P.O. at the top of the grid?

      0_1533712905247_Cattura.JPG

      Thanks!

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

        Hi!
        I think sliding orders might be too complicated for this purpose. How do you put up the orders in the first place?

        It may be more practical to keep open orders to a maximum amount, e.g max 10 open orders:
        0_1533730068747_923dc644-b5bd-4a4c-8ebb-f8be4d2e21a5-image.png

        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

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

          @roar I place both buy and sell stop and limit orders (7 buy stop + 7 sell limit and 7 sell stop + 7 buy limit), verify the gain and close the positive with the most negative, then replace the closed orders with new pending orders .
          So I need to remove the most distant and place them in the direction of the price. I thought that when the price touches the horizontal trend line I close the most distant orders and put the new ones higher up (and vice versa)
          We must always have the grid
          What do you think about?

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

          Online Users

          S
          E
          E
          H

          10
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors