fxDreema

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

    I am trying to limit trades to only 4

    Questions & Answers
    4
    10
    1743
    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.
    • J
      jzfusion last edited by jzfusion

      I want to limit all trades to only 4
      I am using a trade counts block but it's not working.
      Here's my code:
      https://fxdreema.com/shared/WFeWNQAfd
      cheers

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @jzfusion last edited by

        @jzfusion Delete the No trade block.

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • l'andorrà
          l'andorrà last edited by

          I recommend you to disconnect thet trailing block on top. Use a 'Pass' block separated from the current structure and then connect the trailing block to it.

          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

          1 Reply Last reply Reply Quote 0
          • J
            jzfusion last edited by

            I did but it's still not working. The EA opens multiple trades regardless. Is there something I'm missing here?

            C 1 Reply Last reply Reply Quote 0
            • C
              CPxiom @jzfusion last edited by

              @jzfusion The bears/bulls in a row - signal type - is set to continuous. Set it to once per bar. Check trades count should be under the trigger conditions. Duplicate.
              Trailing stop can be attached to the yellow dot (else). This reads as - if no trade - then if bulls in a row - buy. Else (yellow dot)(if trade), trailing stop.
              Or you could put it separately with pass block as suggested.

              J 1 Reply Last reply Reply Quote 0
              • J
                jzfusion @CPxiom last edited by

                @cpxiom
                Check out the link: https://fxdreema.com/shared/N1g31mAXb
                I removed the "no trade" block

                C 1 Reply Last reply Reply Quote 0
                • C
                  CPxiom @jzfusion last edited by

                  @jzfusion Ok, try it that way, but important! Change signal type from continuous to once per bar. I used these blocks, and run into the same issue, and after changing, there was no problem.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jzfusion @CPxiom last edited by

                    @cpxiom
                    When I change to once per bar the EA doesn't open trades.

                    C T 2 Replies Last reply Reply Quote 0
                    • C
                      CPxiom @jzfusion last edited by

                      @jzfusion It might be that you are using bears/bulls in a row to count for only one bull/bear candle. If it is a row, maybe it should be a minimum of two. Try with two, three, or use another block like bear candle, bull candle, found in the same place.

                      1 Reply Last reply Reply Quote 0
                      • T
                        trader.philipps @jzfusion last edited by

                        @jzfusion I just tested the project you posted above. I think the EA behaves as you configured it. Look at your Check trades count block.

                        0_1575429582484_5543094e-a859-4c3f-8de8-bf6e5544445f-image.png

                        This becomes true (orange dot) If there are 0-4 trades open. Asuming you have 4 trades already open, it passes the true condition another time (as 4 trades are less than 5 trades) and opens the 5th trade as one of both conditions are always true and will open a trade.

                        Does that makes sense?

                        So change it to < 4 and you'll only have 4 trades maximum.

                        I like to share my knowledge, but expect the others to contribute as well.

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

                        Online Users

                        K
                        M
                        T
                        E
                        A
                        P
                        V
                        R
                        M
                        G

                        39
                        Online

                        146.6k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors