fxDreema

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

    How do I get the maximum float value

    Questions & Answers
    3
    9
    467
    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.
    • T
      TXZZ last edited by

      How do I get the maximum float value for a set of orders for the time period from opening to now and use the value as a variable for other modules?

      S 1 Reply Last reply Reply Quote 0
      • S
        seb 0 @TXZZ last edited by

        @TXZZ
        What do you mean by float value for a set of orders ?
        Do you mean the value of their opening price ?
        Do you want to check the maximum value for a set of orders opened during that given period ? By orders do you mean positions ?
        If so you would loop with "for each trade" block with a filtering condition : opening time > start period time; and a second condition that is : position value > maximum value. Save the position value in the "maximum value" variable with a block beneath the conditions.

        T 1 Reply Last reply Reply Quote 0
        • T
          TXZZ @seb 0 last edited by

          @seb-0 Floating loss value, the value of open positions

          S 1 Reply Last reply Reply Quote 0
          • S
            seb 0 @TXZZ last edited by

            @TXZZ
            I made it with the profit, if you want it with the loss just multiply it by -1.
            Not tested : https://fxdreema.com/shared/keq2mqJOb

            T 1 Reply Last reply Reply Quote 0
            • P
              Pheaktra Capo last edited by

              image.png
              Here is the simple way. No need calculation

              S 1 Reply Last reply Reply Quote 0
              • T
                TXZZ @seb 0 last edited by TXZZ

                @seb-0
                @Pheaktra-Capo
                Thank you very much

                P 1 Reply Last reply Reply Quote 0
                • S
                  seb 0 @Pheaktra Capo last edited by

                  @Pheaktra-Capo
                  Where does it filter only the positions opened in the current period ?

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    Pheaktra Capo @seb 0 last edited by

                    @seb-0 Just follow this and you will see. Dont forget use Comment block to see it brother

                    1 Reply Last reply Reply Quote 0
                    • P
                      Pheaktra Capo @TXZZ last edited by

                      @TXZZ You are well come brother

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

                      Online Users

                      M
                      M
                      R

                      16
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors