fxDreema

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

    the money sum of last closed lossing trade (use it as my new take profit)

    Questions & Answers
    4
    22
    1201
    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.
    • F
      ForexHero last edited by

      Re: Variable - the money sum of last closed lossing trade (use it as my new take profit)
      Welcome all
      iam trying to add an option to my ea,
      which is " the money sum of last closed losing trade " = New take profit,
      i tried @jstap way but it didn't work with me
      can you help me ,people ?

      A 1 Reply Last reply Reply Quote 0
      • A
        Alan.paredes2 @ForexHero last edited by

        @forexhero podrias probar en vez de money usar pips![0_1676255233797_28dba20b-87a0-4434-b887-19f40c1b4045-image.png )![0_1676255280103_5eea90fe-4d66-4204-b7b2-e91bfd971107-image.png alt text](image url)![0_1676255332113_dde94b78-2287-4b5d-9c67-76f325541bfa-image.png alt text](image url)

        jstap 1 Reply Last reply Reply Quote 0
        • jstap
          jstap @Alan.paredes2 last edited by

          @alan-paredes2 Add a shared link instead of pictures, start with this. check profit last closed if <0 use a pink for each closed trade->modify variable block with loop for profit saving into a variable, put this into a comment so you can see what has happened, create a simple tree buying with a SL & TP.

          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! 😊

          1 Reply Last reply Reply Quote 0
          • F
            ForexHero last edited by

            @jstap
            https://fxdreema.com/shared/YNpoZaPQ

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

              @forexhero Looks like it should work. does it? |Create another variable and in value add this code (-1st variable), this will turn the - into a + . The reason I said put this variable into a comment is so you could see the -, if you put both variables in a comment you will see the same numbers, one positive one negetive, use the positive in close 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! 😊

              F 1 Reply Last reply Reply Quote 0
              • F
                ForexHero last edited by ForexHero

                @jstap
                please can you share link
                and show that

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

                  @forexhero Why you already have 99% in your link, sttempt and show if not 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! 😊

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

                    @jstap
                    i dont understand well how to make the additional steps

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

                      @forexhero If you don't get it I will help, I think people need to do for them self, this way when amendments are needed people know what to do.

                      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! 😊

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

                        @jstap i mean when i did what you told me
                        the ea doesnt even run

                        1 Reply Last reply Reply Quote 0
                        • F
                          ForexHero last edited by

                          maybe the problem in writing (-1st variable),
                          capital or small letters, or ?

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

                            @forexhero That is the name of your variable, in this case (-LAST_LOSS_MONEY)

                            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! 😊

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

                              @jstap said in the money sum of last closed lossing trade (use it as my new take profit):

                              (-LAST_LOSS_MONEY)

                              ![alt text](image url)![alt text](0_1676371600772_dsdsdsghjk.PNG image url)

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

                                @forexhero Think you need 2 variables not just 1, put them in a comment so you can see what is happening

                                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! 😊

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

                                  @jstap for that second variable
                                  what would be its value
                                  and what changes i will make on it ?

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

                                    @forexhero The 1st variable would be as you had it, the 2nd would be what I put, use second in your close 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! 😊

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

                                      @jstap ![alt text](0_1676378762069_29.PNG image url)
                                      like that ?

                                      jstap 2 Replies Last reply Reply Quote 0
                                      • jstap
                                        jstap @ForexHero last edited by

                                        @forexhero Think that is backwards, shouldent the code be in 2? As I said put these two variables in a comment so you can see what's happening.

                                        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! 😊

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

                                          @forexhero You need to add this in custom code, doesn't update in variable valus. 0_1676384661452_87b37185-335b-442e-8d13-57622fca8b61-image.png

                                          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! 😊

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            ForexHero last edited by

                                            @jstap
                                            can you edit here
                                            https://fxdreema.com/shared/dytAQAK8c

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

                                            Online Users

                                            M
                                            A
                                            E

                                            14
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors