fxDreema

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

    Calculate the absolute value in the formula block

    Questions & Answers
    3
    5
    210
    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.
    • A
      abolfazlmmm last edited by

      I have a problem where I want to calculate the absolute value of an expression. Should the formula be written?
      Var-A is greater than Var-B and when it is subtracted from each other, it gives a negative expression.
      I want this difference to be positive and to be rewritten again on Var-B. How should I do this? please guide me.
      Capture.JPG

      1 Reply Last reply Reply Quote 0
      • S
        sktsec last edited by

        Has you try using a conditon above as a filter by comparing the two variables?

        1 Reply Last reply Reply Quote 0
        • A
          abolfazlmmm last edited by

          The value of Var-a in the main formula is the fixed volume of the transaction and Var-b is the variable volume that changes with each success or failure of the transaction. Var-B takes its value from Var-A and Var-A cannot be negative in case of failure! That's why I want to calculate its absolute value.

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

            Do you mean you need positive values only? Then you can type '*-1' on the 'Adjust the result (optional)' box.

            (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
            • A
              abolfazlmmm last edited by

              @l'andorrà I did that, but it didn't give the result I wanted. It changed the volume from 0.1 to 0.01 lot!

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

              Online Users

              O
              O
              L
              W
              X
              S
              X

              14
              Online

              146.9k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors