fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. k4s4rus
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    k4s4rus

    @k4s4rus

    0
    Reputation
    5
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    k4s4rus Unfollow Follow

    Latest posts made by k4s4rus

    • RE: 🔹 How to calculate Efficiency Score per Order Type ?

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

      posted in Questions & Answers
      K
      k4s4rus
    • RE: 🔹 How to calculate Efficiency Score per Order Type ?

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

      posted in Questions & Answers
      K
      k4s4rus
    • RE: 🔹 How to calculate Efficiency Score per Order Type ?

      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
      
      posted in Questions & Answers
      K
      k4s4rus
    • 🔹 How to calculate Efficiency Score per Order Type ?

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

      posted in Questions & Answers
      K
      k4s4rus