fxDreema

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

    bug on buy/sell pending order

    Bug Reports
    2
    5
    1193
    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
      alexdepa last edited by

      Hi,
      I think I've found a bug on buy/sell pending order blocks with martingale/paroli betting system. If I set an expiration time for the order and the order expire, the next order doubles the size like if the previous one has gone to SL. I made a simple project: https://fxdreema.com/shared/SUDTApUkc
      It shouldn't double its size if the previous order has expired but simply keep the same size.

      Thanks,
      Alessandro

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

        And what is the lot size and profit of the previously closed trade? Martingale should only get information from trades, not pending orders. Expired pending order is basically nothing.

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

          If you try the simple example I posted you can see that it doubles the pending order size in the wrong way. For example:
          Pending order 1 at 0.01 -> Trade 1 at 0.01 to SL
          Pending order 2 at 0.02 -> Expired
          Pending order 3 at 0.04 -> Expired
          Pending order 4 at 0.08

          This is not correct for me. If the second pending order expire the third should be at 0.02 not 0.04.

          Alessandro

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

            I think I fixed that

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

              Yes...now it works!

              Many thanks,
              Alessandro

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

              Online Users

              S
              G
              L
              K
              H

              21
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors