fxDreema

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

    How to make Martingale with Take Profit?

    Questions & Answers
    6
    41
    9095
    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.
    • A
      ambrogio @biztet last edited by

      @biztet Probably this topic does not interest anyone 😞

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

        Yeah @ambrogio , i thought so. Maybe some couldn't think of the good use of martingale. Because most of the EAs out there that uses martingale is auto entry without any signal. That makes it more to like 1st entry's luck, not technical in strategy. Some open trade using open candle defined by the previous candle bull/bear.
        What i really need to know is how to get the TP line. I'm sure it's not the value from Take Profit in BuyNow/SellNow block because the distance isn't the same. Or maybe there's a formula inside.
        Yes, i agree martingale strategy can make money. Short/long term depends on the capital. For 100k still need to use 0.01 and high timeframe for longterm use. Some use it medium/high risk for few weeks just to withdraw the capital and then let the account grow slowly.

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

          @biztet Yes, that's right, I think so too. However the topic simply asked for a formula to have the same TP level, some genius on Fxdreema who chews algorithms should definitely know.

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

            @ambrogio @biztet Hi.. I only saw this thread now... Have you guys work this out? I also had this problem then @roar gave me a good code to do the averaging with a line to work out the TP and SL
            https://fxdreema.com/forum/topic/11771/mathsrand-problem

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

              @alphaomega thank you! I'll check this thread

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

                Hi @Hadees. Instead of using pipstep for martingale, how can i make trade on every close candle, but still maintain the lot sequence and open trade only after the last@farthest partial trade? Like pipstep sequence. Thanks.

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

                  @ambrogio @AlphaOmega do you understand my request here? Can you help me with this please?

                  AlphaOmega 1 Reply Last reply Reply Quote 0
                  • AlphaOmega
                    AlphaOmega @biztet last edited by AlphaOmega

                    @biztet So you want every candle to open trade? Also I do not understand what partial trade you talking about? There is no partial trades brother?

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

                      Yes @AlphaOmega, what i mean is child trade, the following trades open after the parent trade.

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

                        Please refer below image.

                        0_1624028219650_Untitled-1-01.png

                        AlphaOmega 1 Reply Last reply Reply Quote 0
                        • AlphaOmega
                          AlphaOmega @biztet last edited by AlphaOmega

                          @biztet I am not a coder ... so maybe try and play with this stuff till you have your setting as your picture. Also maybe make a variable to help you find the top and bottom of the candle start and end.. just an idea. I am sure more experience players will have a better idea.. now its the blind leading the blind
                          0_1624034409008_63d78da0-d749-4b33-9ac4-4fba5da53370-image.png

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

                            Thanks @AlphaOmega
                            But i really don't know how to play with the Adjust column.
                            But I've tried using the loop options in the For Each Trade block. Still didn't get the result like what i want.

                            0_1624036315569_Screenshot_20210619_011105.jpg

                            We aren't blind, only blurrrrrr.. Hahahaha.

                            AlphaOmega 1 Reply Last reply Reply Quote 0
                            • AlphaOmega
                              AlphaOmega @biztet last edited by

                              @biztet ok... what axactly is it you want.. you want to open order at start of candle 1 and the start of candle 2 then certain pips away open order at start of candle 3? Then you want another order at start of candle 4 and then start of candle 5? what does that picture actually mean?

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

                                @AlphaOmega it's just like martin lot with multiplier, by using pipstep, the distance between trades should be the same, right? What i'm trying to do is just instead of using pipstep, i use each candle, BUT every new trade that opens must be after the farthest.

                                For example, BUY trade.

                                0-Parent trade

                                If the next candle close lower than the 1st trade, open new BUY trade with higher lot size.
                                But if the candle close above the last trade open, do not open trade.

                                1st child trade 0.01
                                2nd child trade 0.02
                                3rd child trade 0.03
                                And so on.... And the lot size is increasing.

                                The distance between trades will not be same because it follows the closed candle price level, unlike pipstep.

                                AlphaOmega 1 Reply Last reply Reply Quote 1
                                • AlphaOmega
                                  AlphaOmega @biztet last edited by

                                  @biztet I understand your need... But with every candle order the martingale will not work because it will be too many trades in a short space. The whole idea of martingale with children orders is to give your original negative parent order enough space for the market to turn. Anyway, I made something and gave the negative orders a minimum space of 10 pips before your candle condition. You have to alter the conditions and add some volume to each candle otherwise the expert will take orders on all small candles also.
                                  https://fxdreema.com/shared/5iQBUgLRb

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

                                    Thank you for your effort @AlphaOmega , appreciate it.
                                    But you know, i'm a free user, hahaha.

                                    Anyway your pips away block and condition block after do give me an idea.

                                    Could you explain what does it mean when you put the value 1 in the image below.

                                    0_1624098170674_Untitled-1-01.png

                                    And also in modify stops block with the average variable, what does it do? I see there's a Custom MQL Code for it.

                                    AlphaOmega 1 Reply Last reply Reply Quote 0
                                    • AlphaOmega
                                      AlphaOmega @biztet last edited by AlphaOmega

                                      @biztet You have been a free member for over a year now.. Time to pay up mate..
                                      The average variable code works out the average modified tp of all lot sizes. The pink line. don't worry about that stuff. I started this code for you from a copy of another bigger expert I am busy with, so there is variables here that is not applicable to this expert
                                      In the picture, the 1 tick setting is for you if you want to move the order entry point on the current candle. For now the order is at the 1st tick of the new candle if the price action is going up . Like I said before .. I am no coder, so, the blind leading the blind again ..lol

                                      0_1624101769375_23f06bb4-13bd-498b-b76a-5be96c61ed4a-image.png

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

                                        Here is an quick example of your expert with a tick volume condition added.. So I am thinking if you have good conditions this can be a good expert
                                        0_1624104257300_2c43dc6a-361b-43f0-8b3e-65e68aaa48be-image.png
                                        0_1624104286305_97fe16b1-a51c-4ed0-9853-912ffd1bf8cd-image.png
                                        0_1624104320908_324a1ad9-a962-4f7e-ab09-863eb4108050-image.png

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

                                          Nice one @AlphaOmega. Some don't like martingale. But i prefer to use martingale with the parent trade open by signal, not like most martingale ea that open trade immediately after all trades closed. So i guess it won't be so heavy like most martingale ea.

                                          AlphaOmega 1 Reply Last reply Reply Quote 1
                                          • AlphaOmega
                                            AlphaOmega @biztet last edited by

                                            @biztet What conditions are you using

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

                                            Online Users

                                            M
                                            D
                                            A
                                            M

                                            22
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors