fxDreema

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

    How to perform a loop in a specific month to account for closed operations?

    Questions & Answers
    2
    4
    170
    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.
    • OntradingX
      OntradingX last edited by

      Does anyone have any idea how I can perform a Loop to save the final result of the sum of operations that were completed?

      Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
      Site: https://www.ontradingx.com.br
      Youtube: https://www.youtube.com/@ontradingx
      Boa sorte a todos nós!

      English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
      Website: https://www.ontradingx.com.br
      Youtube: https://www.youtube.com/@ontradingx
      Good luck to all of us!

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

        Can you not just take current balance - starting balance?

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

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

          @jstapI did this, I always save the balance for each new 1-month candle and calculate the value of this variable - the value of the current balance, but I don't think it's the most effective way.
          What I thought of is creating variables for:
          January, February, March, April and so on each month in sequence until December.
          Once this is done, I maintain loops saving the results of the respective months and with this all unify my management that I already have created which analyzes each individual trade observing the results of the previous month to make a break even (daily) and (monthly).

          Therefore, I would set a target in monthly % for profit or a monthly limit in % for loss based on the previous month, if in a set of the last 3 months I have a gain greater than 10% for example I could set another lock to reduce the lots, or increase them, in short, my management is complex and requires me to separately obtain the profit result month by month.

          Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
          Site: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Boa sorte a todos nós!

          English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
          Website: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Good luck to all of us!

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

            @jstap

            Example:

            % Annual profit or loss: 21% ( this is a sum of profit and loss of all months). Update in real time.
            January: 3%
            February: -2%
            March: -3%
            April:3%
            May: 4%
            June: 5%
            July:-10%
            August: 5%
            September: 6%
            October: -5%
            November: 8%
            December: 7%

            Monthly Break Even Rule = If the sum of previous Months is positive at a certain specified value, then place a Break Even at 50%, always protecting Profit in the current month.
            Daily Break Even Rule = If the sum of previous days is positive by a certain specified value, then place a Break Even at 50%, always protecting the Profit on the current day.
            If the protection (Monthly Break Even) is triggered, resume operations the following month.
            If the protection (daily Break Even) is triggered, operate again the next day.

            Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
            Site: https://www.ontradingx.com.br
            Youtube: https://www.youtube.com/@ontradingx
            Boa sorte a todos nós!

            English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
            Website: https://www.ontradingx.com.br
            Youtube: https://www.youtube.com/@ontradingx
            Good luck to all of us!

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

            Online Users

            M
            E
            R
            S
            M
            N
            E
            T
            J

            17
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors