fxDreema

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

    Lot Size = Percentage of Balance in Martingale

    Questions & Answers
    4
    7
    1646
    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
      Bogdaiki last edited by

      Hi all,

      Is there a way to use the "% of Balance => Lots" as a the "Initial Volume" if the "Money Management" option is "Betting: Martingale / Paroli"?

      (Maybe by defining a Constant, but I can't figure how...)

      Thank you!

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @Bogdaiki last edited by

        @bogdaiki Hi,

        you can insert you balance anywhere by using the mql4 function balance().

        This uses 1 lot for every 10000 in balance, adjust the factor to your liking.
        0_1579515036316_19248e9b-33f1-4e2f-b282-da68533564d2-image.png

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        B 1 Reply Last reply Reply Quote 0
        • B
          Bogdaiki @roar last edited by

          @roar Thank you for the answer. It looks like I'm missing something - when saving the .ex4 I get this error: 'Balance' - function not defined. Do I have to first define 'Balance' somewhere?

          Thank a lot!

          0_1580078195959_New Project.jpg

          T roar 2 Replies Last reply Reply Quote 0
          • T
            trader.philipps @Bogdaiki last edited by

            @bogdaiki Try AccountBalance() instead of Balance!

            I like to share my knowledge, but expect the others to contribute as well.

            1 Reply Last reply Reply Quote 1
            • roar
              roar @Bogdaiki last edited by

              @bogdaiki ^^ that's right, my bad!

              Need small help? Tag me in your post
              Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

              1 Reply Last reply Reply Quote 1
              • B
                Bogdaiki last edited by

                Fantastic, works like a dream, thank you all for your help!

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

                  work with mql5?

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

                  Online Users

                  N
                  A
                  A
                  C
                  M
                  M
                  M
                  E
                  J
                  K

                  21
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors