fxDreema

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

    calculations on variable and constants

    Questions & Answers
    2
    6
    270
    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.
    • O
      Obis last edited by

      Hey team, can we perform math calculation on variables and constant directly in the value, without using formula block?

      1 Reply Last reply Reply Quote 0
      • jstap
        jstap last edited by

        Not sure what you mean, a constant is fixed and changed in inputs, and a variable can be changed, including using a constant in many different ways. To see exactly add a shared link and say what you are trying to achieve.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        O 1 Reply Last reply Reply Quote 1
        • O
          Obis @jstap last edited by

          @jstap what I wanna achieve is to set stoploss by percentage of equity. E.g When a position is opened, the EA should set stop loss to 2% of the equity

          1 Reply Last reply Reply Quote 0
          • jstap
            jstap last edited by jstap

            I take it 5 of price is no good, If you are talking about value at risk set this in the money management box.
            image.png

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            O 1 Reply Last reply Reply Quote 1
            • O
              Obis @jstap last edited by

              @jstap so basically, % of price sets stop loss at the percentage of the equity?

              1 Reply Last reply Reply Quote 0
              • jstap
                jstap last edited by

                No that sets it at a % from the open price, money management will set the lot to a relevant size to the money risked

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

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

                Online Users

                E
                M
                F
                A

                22
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors