fxDreema

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

    Gain including commission and swap does not seem to work well.

    Questions & Answers
    2
    6
    867
    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.
    • F
      fabiobioware last edited by

      Hello friends I want to create a rule for my EA to check if the sum of the value of all orders including commission and Swap rates are positive above 2 $ it immediately closes all orders that are open and give me a profit of 2 $
      Can you please check if this is right the way I did it.
      I put it on the ontick tab because I realized that the ontrade tab doesn't work.
      But even in the ontick tab the way I did it, I realized that in some moments of backtesting he doesn't always close the orders in the positive, it's as if he hadn't been calculating correctly at some point.
      I was wondering if anyone has any example of how I could do this using other blocks to have proof that it really is working or not, I wanted to save the sum of all commission, swap and profit values in separate variables and add them up to find out if it really is a problem in this block calculation.

      https://fxdreema.com/shared/Or6r7GWAb

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

        @fabiobioware It always works for me. Are you sure other parts of teh EA aren't hindering this one?

        (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.

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

          @l-andorrà https://fxdreema.com/shared/OyxArLenb
          Hello friend, see the project as an example that I created, it is very simple and this rule does not work.
          I configured to open a purchase if the RSI is below 30 and a sale if the RSI is above 70.

          Then I did not define TP and SL and configured other blocks to check if the sum of profit + swap + commission is greater than 2 $ that all trades are closed immediately.
          So the EA should only close all trades when this profit is achieved, it works until a certain moment, but suddenly it just stops working and starts closing trades in the negative with losses, which was not supposed to happen because the rule is close "only if the sum of all orders + swap + commission was positive at 2 $.

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

            @fabiobioware The logic is correct. This means the problem is with your EA or, more likely, with fxDreema code for MT5. I strongly recommend you to contact the admin letting him know. Please open a new thread in the 'bugs' forum with this issue. I know he reads 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.

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

              @l-andorrà I put a post on bugs to report, thanks my friend for the help.

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

                @fabiobioware You're welcome.

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

                Online Users

                M
                5
                M
                M
                T
                C

                18
                Online

                146.8k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors