fxDreema

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

    bucket trades

    Questions & Answers
    2
    5
    1975
    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.
    • G
      giecius last edited by

      Dear fxDreema

      I'm working with "bucket of trades" and "bucket of closed trades". When trades and closed trades sum reaches certain profit level it closes all trades. It works fine to this point.

      The issue I have is that it doesn't repeat it self, what I mean by that is after all closed trades "bucket of closed trades" keeps it in the record and calculations becomes wrong.

      Is there any option to go around it? After all trades closed it start/restarts from new point.

      I have achieved this by using equity and balance, but this doesn't work with individual pairs.

      https://fxdreema.com/builder

      Thank you

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

        I have a problem that "Bucket of Closed Trades" doesn't even pass if there are no closed trades. Isn't this the problem?
        Otherwise you can try "Check profit (period of time)"

        1 Reply Last reply Reply Quote 0
        • G
          giecius last edited by

          Hi again

          Thank you for quick respond.

          There are always TP/SL in the bucket of trades, so it is activated, it depends on the setting I use, I've updated the link. https://fxdreema.com/builder
          As I understand "Check profit (period of time)" doesn't including/count closed losses and it closes trades below opening price (see img below).

          With Check profit (period of time) time set to "00:00" the same if no time set.

          AS you notice with bucket of close trades it does the job first time, but after that it just opens and closes trades stright away and this is what I want to overcome, but so far without success.

          Using bucket close

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

            I think that the strategy is not correct. What you have now is this:

            • You put some trades
            • You get the total profit ever made by the EA, which is the total profit of all closed trades + the total profit of all running trades
            • If that total profit is >= 1.5 dollars you close all running trades

            What "Bucket of All Trades" does is to make a list of all (in your case) closed trades ever made by the EA. Then their total profit is calculated in the "Formula" block. But there is nothing to be reset or to be restarted. When I say all closed trades, I mean exactly that. You have empty value for "Not more that N history trades", which means that the block works with ALL closed (history) trades.

            What happens is that eventually the sum of profits of all closed trades is 1.5. Then, when you make a new trade, it's enough to make very very small profit with it and it's profit added to the profit of all closed trades (which is 1.5) equals to let's say 1.52, which is enough to call "Close trades". Then the total profit of the closed trades is 1.52, then it could become even larger and larger...

            http://prntscr.com/cnkipr

            1 Reply Last reply Reply Quote 0
            • G
              giecius last edited by

              Thank you!

              Your description of the strategy process is spot on and the bit I was looking for was "Not more that N history trades" I've change an input and it runs like a charm.

              Thank you again for your support.

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

              Online Users

              R
              S

              9
              Online

              146.9k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors