fxDreema

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

    Closing out profits based on relative lot size

    Questions & Answers
    2
    6
    683
    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.
    • J
      jzfusion last edited by

      I want to be able to closed out trades based on a profit(money) however my lot sizes vary during the day. If I close based of say $50 that'll be ridicoulous if I'm trading on 0.01 lots as it could not happen however $5 would be reasonable. In the same manner if I'm trading 0.10 lots then it makes sense to aim for $50.
      So the question is how do I get the EA to intelligently close out trades based on profits relative to the current lot size.

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

        @jzfusion Set up a constant profit target for 0.01 lots, and then just multiply the number according to the size. You don't have to use simple numbers in the fxdreema input fields, you can write all kinds of math formulas there as well.

        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
        • J
          jzfusion last edited by

          @roar
          Thanks but where do we go to find all these wonderful math formulas? Can you show a simple example I can follow?

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

            @jzfusion said in Closing out profits based on relative lot size:

            @roar
            Thanks but where do we go to find all these wonderful math formulas?

            School.

            Lol just kidding, let me make an example

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

              https://docs.mql4.com/trading/orderlots
              0_1583436628798_97df3b6f-6f97-46fd-abd2-890f6425adcb-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
              • J
                jzfusion last edited by

                @roar
                excellent... thanks

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

                Online Users

                S
                A
                R
                B
                N
                M
                A
                T
                V
                M
                A
                A
                R

                25
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors