fxDreema

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

    Looking for max account amount

    Questions & Answers
    3
    7
    1208
    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.
    • C
      coverman last edited by

      Is there a way I can set a trade to use not more than 5% of what is on my account?
      So it is looking for the Balance and then when it make trades they should be not higher than Balance * 0,05

      I know there is areas to set the max trade amount, but not sure where to make it check the balance and make the % part.
      Any ideas?

      Or is this enough for doing it:
      AccountBalance()*5/100

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

        This calculation will give you the value of 50, which is not a lot size and can't be used directly.

        Look at the money managements, there are some. I think you want to use "Freeze % of Balance", which calculates the lot size based on the broker settings... try it and look at how the value of free margin changes. Or you want to use this "Risk % of Balance", which calculates the lot size so for the given stop-loss to lose certain amount of money.

        1 Reply Last reply Reply Quote 0
        • U
          uchiha last edited by

          Or Test this to see if it works for you.

          https://fxdreema.com/shared/1idfoiJlb

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

            uchiha, you have mistake in block 5. "Global Variables in MT4" - these are not the same global variables for the expert advisor. Unfortunately they call these "global variables", hit F3 in MetaTrader and you will see where they are. On the left side of this block you should use Value -> Numeric.

            1 Reply Last reply Reply Quote 0
            • U
              uchiha last edited by

              Thanks for the tip. I'm still getting used to variables 🙂

              1 Reply Last reply Reply Quote 0
              • C
                coverman last edited by

                But, what if I want to use the martingale strategy?
                Then I can't use the freeze % balance as well?

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

                  No, this is another way to manage volume sizes where the volume is calculated using the value of free margin. Basically, the volume size does not depend on the last trade's volume (as in Martingale), it depends on the broker settings and the money you have. But as I know that you work in Binary Options environment, I'm not sure if you can use that anyway... but you can try, I don't know what the outcome will be.

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

                  Online Users

                  J
                  H
                  E

                  8
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors