fxDreema

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

    Create Martingale effect without closing trades

    Questions & Answers
    6
    21
    5079
    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.
    • S
      SpecialFX last edited by

      Hi,

      I want to create an EA which opens additional positions 1.2x larger than the previous ones each time price moves against me by a certain number of pips, however the martingale system in fXDreema requires the losing trade to be stopped out before it opens the next trade.

      Does anyone know a way of keeping the losing trades open whilst still applying the new trades? I would also want to trail the TP on all existing positions so that they all close at the same time should price move a certain number of pips in my favour.

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

        You're right about how the martingala is designed on fxDreema. The way to do what you want to do is craeting several variables in which all relevant information is stored. Ther is not one 'supereasy' way to do it if this is what you are asking for. But it's not difficult either :).

        Do you have any initial project to begin with?

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

        S 1 Reply Last reply Reply Quote 0
        • Y
          Yoander4503 last edited by

          Hola, visita la página ferrodbot.com para que conozcas un robot que trabaja cómo tu dices.

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

            @l-andorrà I thought as much, can it be done using a loop? This is what I have so far:

            https://fxdreema.com/shared/7ltaZeJtd

            l'andorrà 1 Reply Last reply Reply Quote 0
            • S
              SpecialFX @Yoander4503 last edited by

              @yoander4503 Sorry - I'm not looking to buy anything

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

                @specialfx Firstly I recommend you to specify candle ID 1 for both operands on blocks 3 and 5. Now they are set to pass on candle ID 0 so weird results can be obtained.

                Now let me understand a bit more of your strategy. Won't you use any SL? Will you just modify the TP?

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

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

                  @l-andorrà Good advice on the candle ID - and yes the plan is to just continually modify take profits and open extra trades to compensate for the drawdown. Do you suggest an alternarive method?

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Hadees @SpecialFX last edited by Hadees

                    @specialfx you could use sequence on loss http://icecream.me/49eee10f0db5239289181f16b76ff0af . I find it works well with no trade nearby.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SpecialFX @Hadees last edited by

                      @hadees How does this sequence work? What is the logic?

                      1 Reply Last reply Reply Quote 0
                      • A
                        ambrogio @SpecialFX last edited by

                        @specialfx said in Create Martingale effect without closing trades:

                        Hi,

                        I want to create an EA which opens additional positions 1.2x larger than the previous ones each time price moves against me by a certain number of pips, however the martingale system in fXDreema requires the losing trade to be stopped out before it opens the next trade.

                        Does anyone know a way of keeping the losing trades open whilst still applying the new trades? I would also want to trail the TP on all existing positions so that they all close at the same time should price move a certain number of pips in my favour.

                        Hi! Something like this? https://fxdreema.com/shared/PQwexnIge

                        0_1570966429594_Cattura.JPG

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          SpecialFX last edited by

                          Hi - some interesting work here, thank you. However I'm seeking to trail TP not SL - I don't want it to use any SL at all.

                          I'd also be looking to trigger sells once price crosses above the 21 EMA, and buys once price crosses below the 21 EMA - I presume I would do this by entering this condition block between 12 and 13 in your example?

                          1 Reply Last reply Reply Quote 0
                          • S
                            SpecialFX @ambrogio last edited by

                            @ambrogio
                            S
                            SpecialFX about a minute ago

                            Hi - some interesting work here, thank you. However I'm seeking to trail TP not SL - I don't want it to use any SL at all.

                            I'd also be looking to trigger sells once price crosses above the 21 EMA, and buys once price crosses below the 21 EMA - I presume I would do this by entering this condition block between 12 and 13 in your example?

                            1 Reply Last reply Reply Quote 0
                            • S
                              SpecialFX last edited by

                              I now have this:

                              https://fxdreema.com/shared/haAHOX4Jb

                              However when I try to test the EA I get this error:

                              0_1570972327579_cde0889e-0592-4c98-a1c2-d56e032012bb-image.png

                              I think I may have set up the variable wrong, can anyone advise on this?

                              0_1570972416232_632ecdd1-d839-43ce-bea3-38c2895272e2-image.png

                              roar 1 Reply Last reply Reply Quote 0
                              • roar
                                roar @SpecialFX last edited by

                                @specialfx
                                Single is not a valid data type.
                                Try Double for decimal numbers,
                                Int for integer numbers

                                Need small help? Tag me in your post
                                Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  SpecialFX @roar last edited by

                                  @roar Thx!

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SpecialFX last edited by

                                    Variable is now as follows:

                                    0_1570975559373_5701f8b3-94d8-4051-a5ad-2354d8e16293-image.png

                                    However EA still does not load in tester:

                                    https://fxdreema.com/shared/eXv3rLw4c

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      Hadees last edited by Hadees

                                      https://fxdreema.com/shared/K7mu5Qiyd- You ticked the boxes next to lots. You can test your project for errors in fxdreema by pressing the ex4 button and it will list the thing that it is causing the error.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        SpecialFX @Hadees last edited by

                                        @hadees Thank you! Learning every day on here lol.

                                        Now the EA loads, but seems it's not profitable. I'm pursuing this because a friend of mine produced something similar which appears to be consitantly profitable, but he won't share the code :S

                                        Do you think I'm chasing a dead end here and his EA will eventually crash?

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          Hadees @SpecialFX last edited by Hadees

                                          @specialfx martingale can work but you must optimise the sequence and range for each pair. I'm trying to find extreme overbought and oversold conditions and start betting then but its hard to find when price is at those points as it can stay overbought and oversold . i recently lost a chunk of money trading martingale manually so probably not best person to ask 😄 even though the entries were decent i overleverged my position and got spiked out of my trades.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            SpecialFX @Hadees last edited by

                                            @hadees The model I'm pursuing wouldn't close a negative trade unless it also closes a larger, positive trade, mitigating loss. However when I run backtests it doesn't seem like this is happening, so I think I've messed up somewhere in the build :S

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

                                            Online Users

                                            P
                                            C
                                            J
                                            V
                                            G
                                            E
                                            H
                                            C

                                            23
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors