fxDreema

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

    🔹 How to calculate Efficiency Score per Order Type ?

    Questions & Answers
    2
    7
    189
    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.
    • K
      k4s4rus last edited by

      🔹 How to calculate Efficiency Score per Order Type ?

      Hello FXDreema community,

      I'm building a multi-unit Expert Advisor (EA) with several "roles" or components and I want to track the Efficiency Score for each unit over time.

      My Goal:

      I want to measure Efficiency = NetProfit / TotalTimeHeld (in days) separately for each type of trade.

      Example:

      • Orders with comment "Group 1"
      • Orders with comment "Group 2"
      • Orders with comment "Group 3"

      What I want to build in FXDreema:

      • Loop through all closed trades
      • Sum total profit and total time held for that unit
      • Once per bar, calculate and display Efficiency Score (profit/day) for each unit

      My Questions:

      1. What is the best way to loop and filter closed trades in FXDreema?
      2. Can you suggest the block structure to store and calculate efficiency for each group?
      3. Any best practices for optimizing such tracking inside FXDreema?

      Thank you in advance for your help!

      1 Reply Last reply Reply Quote 0
      • l'andorrĂ 
        l'andorrĂ  last edited by

        When you say 'total time held', do you mean the combined period of time each trade was open (ie total time held = open time - close time)?

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • K
          k4s4rus last edited by

          Yes, that’s exactly what I mean.

          For each trade, I want to measure how long it was held (Close Time - Open Time), and then sum that for each group (e.g., 1,2,3).
          Then, I want to calculate something like:
          Efficiency Score=Total Net Profit / Total Time Held in Days
          
          1 Reply Last reply Reply Quote 0
          • K
            k4s4rus last edited by

            I don’t need it to be perfect — just good enough to compare performance.

            l'andorrĂ  1 Reply Last reply Reply Quote 0
            • l'andorrĂ 
              l'andorrĂ  @k4s4rus last edited by

              @k4s4rus You can try this on the 'on trade' tab:

              01.png

              Ypu will need two variables and group will have to be specified on blocks 1 and 2. You will also need as many different variables as groups required to check.

              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

              K 1 Reply Last reply Reply Quote 0
              • K
                k4s4rus @l'andorrĂ  last edited by

                @l-andorrĂ  Thank you very much. I will try to do this.

                1 Reply Last reply Reply Quote 0
                • l'andorrĂ 
                  l'andorrĂ  last edited by

                  You're welcome.

                  (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                  (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                  (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                  Online Users

                  H
                  T
                  S
                  A
                  S
                  I
                  H

                  12
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors