fxDreema

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

    Trade limit on Add to volume block

    Questions & Answers
    2
    3
    1149
    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.
    • M
      michren last edited by

      Hi,

      I added the Add to volume block so that if price moves -20 pip against open trade, another trade open. Is there a way to limit the number of trades to open, for instance Max trades = 3 at 20 pips distance each and after 3 trades , EA wont open anymore.

      Thanks

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

        Interesting question, it's a good idea to make it able to get the number of children trades (trades created with "add to volume"). But here is how I did it anyway (I used this example: https://fxdreema.com/demo/mt4-loop-add-to-volume-on-loss😞
        0_1549043994528_deb59555-5c43-4125-a3e6-94a0bcd8de74-image.png

        I added extra block who passes when the distance from the parent trade is more than 30 pips... which is when we don't want to add to the volume anymore, so I used its yellow output.

        M 1 Reply Last reply Reply Quote 0
        • M
          michren @fxDreema last edited by

          @fxdreema great, thank you!

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

          Online Users

          S
          M
          E
          G
          D
          A
          A

          19
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors