fxDreema

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

    Simple money management rule

    Questions & Answers
    2
    5
    1539
    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.
    • V
      vikasone24 last edited by vikasone24

      Dear All, please excuse me if this type of question already there in forum because I didn't able to find it.

      Well I want to set following simple rules of MM in my EA. Can some one help me out. I generally trade with single order. (not basket orders)

      1. Close trade when loss (in dollars) is equal to 2% of account balance.

      2. Close trade when profit (in dollars) is equal to 4% of account balance.

      3. Calculate lot size based on percentage of account balance. e.g. 0.1 lot when balance is $100, or 0.2 for $200 and so on.

      Thanks a lot for making this wonderful software.

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

        @vikasone24

        Hi! Here's an example project with the functions you need 🙂
        https://fxdreema.com/shared/k8meOTbce

        And here's my arrogant opinion:
        You should use less leverage, even 0.01 lot per 100 usd is enough leverage to make you richer than Warren Buffet after your career

        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
        • V
          vikasone24 last edited by

          Well, thanks for the efforts. But, when set 'No SL' and 'No TP' in 'buy now' block, the EA didn't work as per the criteria no.1&2.

          Please Check.

          However to satisfy 3rd criteria, I discover 'Risk of % Balance' in MM to fulfill my requirement.

          Thanks

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

            Some expert pls reply.

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

              @vikasone24
              0_1579264113834_ef360a00-a512-421b-82b9-a421f0f236e9-image.png
              Here's my backtest:
              0_1579264146597_719eb87c-a6cf-4823-898d-a9d5a7dd1a9c-image.png
              -22/1000 = -2%

              0_1579264209541_fb2a19ef-0849-44be-b4f2-ecbd56749b56-image.png
              43/978 = +4%

              It works, but very roughly (because of spread, commission, swap, slippage and what not...)
              To get a money-based SL, check this topic:
              https://fxdreema.com/forum/topic/8169/how-can-a-sl-based-on-currency-be-set-up?page=1

              I'm probably missing some obvious solution here, I'm sorry if thats the case 😄

              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

              A
              S
              A
              E
              N
              E
              S

              12
              Online

              146.9k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors