fxDreema

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

    Margin Level (in %) return infinite is bugged

    Bug Reports
    3
    5
    592
    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.
    • B
      Breeeeen last edited by Breeeeen

      Problem:
      The option to "return infinite" in Margin Level (in %) does not work.

      Summary:
      I have a condition block that I've titled "check free margin" and this block will only pass to the next set of blocks when the Margin Level (in %) Account is greater than a defined value ("10" in this example). If it is less, the blocks end there. When there are no trades and the value is set to "return infinite", this block does not pass even though it should.

      Simple workaround until bug is fixed:
      An easy workaround is to use the "No positions" block and ignore this check if there are no positions, but it would be good if the infinite number is fixed.

      Possible solution for admins:
      Maybe set the return value to 99999 as an alternative?
      (I tested assigning a constant with 99999 to "when no trades" and it works perfectly and the subsequent blocks are activated as expected.)

      0_1648413392336_aaad2575-31a5-44af-ac3e-e421609beaf9-image.png

      Breeeeen

      TipsyWisdom 1 Reply Last reply Reply Quote 0
      • R
        Rodrigo Ortuzar last edited by

        What is the goal you are looking for and what is the reason for using "Return infinite" ?

        Affectionate Rodrigo

        B 1 Reply Last reply Reply Quote 0
        • TipsyWisdom
          TipsyWisdom @Breeeeen last edited by

          @breeeeen said in Margin Level (in %) return infinite is bugged:

          Hi there,

          When the Margin Level (in %) Account condition is set to return infinite, nothing trades.

          An easy workaround is to use the "No positions" block and ignore this check if there are no positions, but it would be good if the infinite number is fixed. Maybe set it to 99999 as an alternative?

          (I tested assigning a constant with 99999 to "when no trades" and it works perfectly.)

          0_1648378725414_cb35d5d7-b82e-4d4f-b3c9-37e15f5473a4-image.png

          Thanks for that find.

          Lots of things like that can be worked around, but always good to let people know the workaround. Thanks again!

          1 Reply Last reply Reply Quote 1
          • B
            Breeeeen @Rodrigo Ortuzar last edited by

            @rodrigo-ortuzar I've updated the original post to make it clearer. I don't need help on solving this particular issue since I have a simple workaround, but if you're an admin, a fix would be good for future users please. Thanks.

            Breeeeen

            1 Reply Last reply Reply Quote 0
            • R
              Rodrigo Ortuzar last edited by

              I am not an administrator, I was asking you because if you look at the fact that there are no open operations there is no Margin and when there are open operations there is margin, just that.

              Affectionate Rodrigo

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

              Online Users

              A
              F

              17
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors