fxDreema

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

    Calculate commission on an account that does not show a commission charged because it is a demo account.

    Questions & Answers
    0
    3
    148
    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

      Hello I'm trying to simulate that I'm paying commission of 0.07 cents for each trade.
      What I tried to do in this project is first get the amount of trades that happened on the day of (today).
      Then I try to multiply the amount of trades by the amount of commission per trade and get the result.
      Next I'm trying to get the total profit value of all these trades that happened on the day of (today).
      And finally, calculate the profit or loss + the result of the total commission.

      I noticed it's getting everything wrong:
      In the picture it shows 165 trades, but I actually have 159.
      The total profit is 15.12$ and in the picture it shows 6.51

      Can you help me understand if there is something wrong with my logic or calculation?

      0_1676632631787_411f7408-bcb1-405d-b44f-f1d10b94b6a2-image.png

      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!

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

        @ontradingx
        PROJECT HERE --> https://fxdreema.com/shared/NQzEZDrNd

        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
        • fxDreema
          fxDreema last edited by fxDreema

          In fact you are loading orders from yesterday.

          In the "Bucket..." block you are using Time A and Time B as time boundaries. Time A is the time of candle 1, and Time B is the time of the current candle. Today is 17 Feb, but guess what is the time of candle 0? Just go with the mouse over that candle, it shows 2023.02.17 00:00. And the time of candle 1 is 2023.02.16 00:00.

          In other words, for today (2023.02.17) your times are as follows:

          • Time A = 2023.02.16 00:00:00
          • Time B = 2023.02.17 00:00:00

          You can add "+86400" in the Adjust fields of boths times, this will move them one day ahead (86400 is the number of seconds in 1 day).
          I tried to set candles 0 and -1, but -1 doesn't work, as there is no candle in the future.
          Or, you can set candle 0 for Time A, and for Time B set Value->Time->Now for Time B (or just disable Time B filter).

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

          Online Users

          A
          G

          6
          Online

          146.8k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors