fxDreema

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

    How can i create max daily profit and trailing stop loss

    Questions & Answers
    3
    16
    2593
    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.
    • T
      TalalKhan last edited by

      Hey
      Hope you all fine,
      I want some help regarding Max daily profit and loss, and trailing stop loss of max daily profit.
      Examples:
      EA close all trades and stop trading if profit is 5k$ for that day, same with loss
      Example for trailing stop loss of max daily profit:
      If account is in profit of 2k$ on that day trailing stop loss activate and close all trades and stop trading if account will come at breakeven
      @jstap reply if possible

      jstap 1 Reply Last reply Reply Quote 0
      • jstap
        jstap @TalalKhan last edited by

        @talalkhan There is a block called check profit (period of time) or take your balance daily and save in variable, add day win and save in variable, subtract day loss and save in variable, use condition block to check if equity = either variable, close all and stop trading by something like a flag.

        As for start trail use a condition block with the number used to start trail, in the on tick tab use a purple trade closed block and stop trading when conditions match.

        Reset all in the next day.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        T 1 Reply Last reply Reply Quote 0
        • T
          TalalKhan @jstap last edited by TalalKhan

          @jstap Like This ? But how can i change - into plus for loss value?
          https://fxdreema.com/shared/HwF2YevQd
          Trying to solve problem number one first

          And for problem number 2 (Trailing equity stoploss) i am still clueless what should i do

          jstap 1 Reply Last reply Reply Quote 0
          • jstap
            jstap @TalalKhan last edited by

            @talalkhan This looks like it should work, put stop trade into a comment so you can visually see if it;s working, if not you can see what process isn't working.

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            T 1 Reply Last reply Reply Quote 0
            • T
              TalalKhan @jstap last edited by

              @jstap thank alot
              What should 1 do for equity trail stop loss?

              jstap 1 Reply Last reply Reply Quote 0
              • jstap
                jstap @TalalKhan last edited by

                @talalkhan You need to decide the equity level that and use this to start the trail, tou could record the balance as trade activates then check equity to start trail, use a bool condition and put the settings in the trail block that suites.

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                T 1 Reply Last reply Reply Quote 0
                • T
                  TalalKhan @jstap last edited by

                  @jstap I want to trail as percentage like if 200k account is in maximal profit of 2k trail activate and stop loss should be 1% of total equity,
                  Can you give me live example on my project: https://fxdreema.com/shared/9O74KvfMc

                  jstap 1 Reply Last reply Reply Quote 0
                  • jstap
                    jstap @TalalKhan last edited by

                    @talalkhan Starting trail is easy, when equity = your amount start tail, as for using % of equity I do not know, I have only use set pips to trail.

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      TalalKhan @jstap last edited by

                      @jstap sir which block will start trail for equity?

                      jstap 1 Reply Last reply Reply Quote 0
                      • jstap
                        jstap @TalalKhan last edited by

                        @talalkhan A standard condition block if equity => set amount start trail block.

                        Learn fxDreema Without the Wait!

                        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                        Don’t miss out

                        Click here➡️ https://mybook.to/fxDreema to get your copy today!

                        Enjoy! 😊

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          TalalKhan @jstap last edited by

                          @jstap
                          which block used for trail ?
                          0_1639229089937_Screenshot_253.jpg

                          jstap 1 Reply Last reply Reply Quote 0
                          • jstap
                            jstap @TalalKhan last edited by

                            @talalkhan On mt4 I would use trailing stop (each trade).

                            Learn fxDreema Without the Wait!

                            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                            Don’t miss out

                            Click here➡️ https://mybook.to/fxDreema to get your copy today!

                            Enjoy! 😊

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              TalalKhan @jstap last edited by TalalKhan

                              @jstap sorry but trailing equity stop loss is not working
                              i want for equity not for trades, this block is showing pips not equity

                              1 Reply Last reply Reply Quote 0
                              • T
                                TalalKhan last edited by

                                @roar , @timmyhanke
                                Can you guys help me regarding this?

                                1 Reply Last reply Reply Quote 0
                                • T
                                  TalalKhan last edited by TalalKhan

                                  Someone please hep me? 😞
                                  i want a setup like this
                                  0_1639257845603_Screenshot_255.jpg

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

                                    There are few Trailing stop blocks for different purposes. The one that is mostly used is the "(each trade)" one that works on each trade separatedly. I think you don't need this one.

                                    Try the others. But if you don't like them as well, then it can only be something with multiple pink blocks. Here are few examples with them, but they require some understanding of how they work: https://fxdreema.com/examples#Loop-(For%20each...)

                                    Or, if you want to get some values from multiple trades (for example the total profit), take a look at the "Bucket" blocks: https://fxdreema.com/examples#Bucket-of...

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

                                    Online Users

                                    H
                                    R
                                    A

                                    17
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors