fxDreema

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

    Trailing stop and Take profit

    Questions & Answers
    2
    10
    1660
    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.
    • D
      didymario7 last edited by didymario7

      Hello guys I need your help.

      My stop loss is 80 pips but i want a scenerio where once my trade moves 5 pips into profit, my stop loss moves withing 5 pips of the profit and continues to maintain that 5 pips distance as profit increases.

      https://fxdreema.com/shared/iPVg6xzBd

      Thanks

      XYON126 1 Reply Last reply Reply Quote 0
      • XYON126
        XYON126 @didymario7 last edited by

        @didymario7 Hello @didymario7, I am attaching a link from the EA, take a good look at it, I have found several contradictions and a different lot in two sites that as you have not indicated "why" I have unified it but the idea already works for you. I tell you about mistakes:

        1st The Trailing Stop always goes as I have put it, it never hangs from the SELL or BUY block as well as the Breakeven, etc.
        2nd The filter of time everything at 00:00 is to consume blocks that do nothing.

        3º When you want to modify values ​​continuously, the solution is always with variables.

        Well I hope I have helped you and serve you, I have done a baktesting to H1 and you get a Profit facto higher than 3.5 (very good) I suppose that is your strategy!

        https://fxdreema.com/shared/sLM3anxDd

        To obtain the EA with variables and modifiable, what you must do is open the link and when you have it open you save it as mq4, once saved you can open it by importing it from where you have saved it and you will have it 100% accessible. 😉

        D 1 Reply Last reply Reply Quote 0
        • D
          didymario7 last edited by

          thanks. I will try it out. Note that I am only 70% into the full project.

          XYON126 1 Reply Last reply Reply Quote 0
          • XYON126
            XYON126 @didymario7 last edited by

            @didymario7 Share it if you think it is convenient for me or someone else with more knowledge to help you. The information to help you is essential.

            1 Reply Last reply Reply Quote 0
            • D
              didymario7 @XYON126 last edited by didymario7

              @xyon126 I just saw your work. Thanks alot but I think there is an area you missed out something. I will send you a message shortly

              1 Reply Last reply Reply Quote 0
              • D
                didymario7 last edited by

                Lets begin with the trailing stop example you posted. I dont want it to apply to the reversal trade in the 'on-trade' tab. It should only apply to trades in group 1 and group 2. That was why i connected them that way

                XYON126 1 Reply Last reply Reply Quote 0
                • XYON126
                  XYON126 @didymario7 last edited by

                  @didymario7 What you can not do is hang the Trailing Stop from the SELL or BUY block, the trailing Stop that you had created and hung both were the same with what they do exactly the same if you create a Trailing Stop Group 1 and another equal Group 2 would be the same as a Trailing Stop Group #.
                  The trailing that I have put for you does exactly what you say you want, the blocks are simply as they should be and without unnecessary blocks.

                  If you look at the fxDreema tutorial in the section on what you should not do, it comes out exactly that, the Trailing Stop block hanging from the SELL or BUY block, as it can give you unexpected results or not execute anything or what is the same as an empty EA .

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    didymario7 @XYON126 last edited by

                    @xyon126 Well done. I have been able to get the trailing stop to work. Thanks alot.

                    For the second part which is a how to open the reversal trade such that it checks the last lost trade and opens a new position 6x that of the trade.
                    I know you provided a solution please how can you break it down to a non-programmer so i can understand how to input the correct values.

                    Thanks once more

                    XYON126 1 Reply Last reply Reply Quote 0
                    • XYON126
                      XYON126 @didymario7 last edited by

                      @didymario7 said in Trailing stop and Take profit:

                      I know you provided a solution please how can you break it down to a non-programmer so i can understand how to input the correct values.

                      Thanks once more

                      I don't understand this question; what do you mean non-programmer?.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        didymario7 @XYON126 last edited by

                        @xyon126 I mean someone with no experience of programming. Never mind, the question has been answered in another thread.

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

                        Online Users

                        N
                        S
                        T
                        A

                        14
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors