fxDreema

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

    how to make my betting martingale/paroli settings change when my account grows? is it possible?

    Questions & Answers
    3
    3
    1544
    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.
    • W
      wessel last edited by

      hi guys,

      I was wondering if there is something that wil make my betting money managment change when my account gets bigger. example:

      0_1551623480875_411d7d45-91b4-4be3-96c2-b3f30a3a966b-image.png

      when i for instance dubble my money can the initial volume be doubled and also the multiply number. so when my account grows the inputs get higher

      thanss

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

        I did some work around for myself. it doesn't take lots into account but your account equity, leveraged.

        I made a constant named init_vol and a variable named init_vol2

        on my buy/sell blocks I clicked the variables button in the upper right corner and put this into the white circle which means it will be executed as soon as the block is, before the block does it's thing.

        DynamicLots(Symbol(), "block-equity", init_vol)

        DynamicLots() is a custom function created by fxDreema.

        Symbol() will use the current Symbol for price. "block-equity" is what calculation I want and init_vol is the number to use in that calculation

        then put init_vol2 as your initial volume.

        I have the same for add on win and add on loss.

        so if you put 30 in init_vol constant it will use 30% of your equity on the initial volume. and if you put 10 on adds it will add 10% of your equity on wins/losses.

        this will calculate it's value on every run of the block meaning it will increase/decrease with every trade.
        and the initial volume is only used after a reset.

        of course this is just an example and you can change it to fit your needs.

        look through the code of your .ex5 to see what you can use that's already made inside. fxdreema did an awesome job.

        you can message me if you need any more help.

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

          Simply:

          • Store your initial balance to a variable, initial_balance
            0_1551628675874_463188c0-2e3f-4214-9d33-0b3e6cd69205-image.png
          • Before buying, check how much the balance has grown (or fallen) from the start:
            0_1551628843844_0dfdea52-db10-4f2a-8b58-8d8427140b48-image.png
          • Then we can update our lot value by that ratio, (current equity / initial balance) times our standard lot amount (0.01). AccountEquity() is a standard mql4 formula that returns equity
          • Then we can just insert the variable lot to "buy now":
            0_1551628961569_4b65b44d-6a19-4647-8562-4fffbf1b58c0-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

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

          Online Users

          J
          M
          K
          B
          U

          18
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors