fxDreema

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

    Why does this script sometimes open positions with MAX lot size?

    Questions & Answers
    4
    8
    503
    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.
    • M
      Mitchp last edited by Mitchp

      https://fxdreema.com/shared/pmD96sI2d

      This script works fine most of the time. Sometimes however it ignores the risk settings and just opens a position with the max allowed lot size with the broker.

      I've already lost quite a bit of money through this bug, since it just opened 40 lots instead of around 0.2.

      Anyone know why this is happening?

      The script is suppose to open a trade with the correct risk %, SL and TP (based on ATR and RR).

      l'andorrà 1 Reply Last reply Reply Quote 0
      • VHV-Profit-Masters
        VHV-Profit-Masters last edited by

        Hola, estoy ejecutando pruebas con el script y realmente no encuentro fallas en su logica, en mis pruebas esta trabajando correctamente segun su configuracion
        image.png

        1 Reply Last reply Reply Quote 0
        • VHV-Profit-Masters
          VHV-Profit-Masters last edited by

          Tu estas colocando un valor de % de riesgo de acuerdo a un volumen, pero despues de cada SL estas aplicando un multiplicador que incrementa este valor de % en riesgo, es algo similar a aplicar un martingala, por lo tanto es logico que en algunas operaciones se vea incrementado el %

          image.png

          1 Reply Last reply Reply Quote 0
          • M
            Mitchp last edited by

            @DragonZueloTrends No no, it isn't martingale. Risk should be consistent (0.25% in this example)

            I'm not able to re-produce the issue either, it just happens sometimes.

            The risk is suppose to be consistently 0.25%, the stop-loss is calculated based on volatility using the average true range indicator. The multiplier is to calculate stop-loss position, not risk.

            1 Reply Last reply Reply Quote 0
            • B
              Byens last edited by

              try put RR only instead of RR*100

              https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

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

                @Mitchp What is the 'entry_price' variable used for? I see it is not used anywhere once calculated.

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

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

                  @l-andorrà That was for a previous version where I used limit order. I wanted limit order 0.25ATR under the open of the candle.

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

                    Ok. Did you try byens' suggestion.

                    (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

                    A
                    J
                    D
                    E

                    20
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors