fxDreema

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

    double lot size, only if profitable

    Questions & Answers
    2
    4
    953
    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
      vulkanai last edited by

      Hello, this is what im trying to do:

      1: If initial trade won by X pips, double lot size on next trade.

      2: If next trade win/loss revert to initial lot of first trade.

      This is what I have, but no success

      https://fxdreema.com/shared/qWEswGMFb

      Problem is, it doubles even on a positive break even trade.

      Any help will be greatly appreciated

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

        Hi friend, attached a possible solution: 0_1522868980868_Test_Help.mq4

        And the view:

        https://fxdreema.com/builder/shared/ijTRYao2c

        When creating an EA with customized money management i would always recommend the use of your own variables and switches instead of the built-in processes (at least it is easier to understand for me).

        Also beware of the "cross" function of the builder, i would rather use a double condition: if past < and present > ... This works better for crosses in most cases. Hope this works 🙂

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

          Also be careful with the execution order for the blocks (note that in my example the "if trade" condition has a lower number than the "no trade" condition, it was made this way so they execute in that order).

          Also, try to not use convoluted conections for multiple columns (may glitch), always try to use "dead ends" or "two column-one end" as maximum 🙂

          1 Reply Last reply Reply Quote 0
          • V
            vulkanai last edited by

            Thank you.

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

            Online Users

            H
            R
            A

            11
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors