fxDreema

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

    Calculation to close all trades not triggered

    Questions & Answers
    2
    3
    1222
    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.
    • drayzen
      drayzen last edited by

      I have the below Condition to close all trades that didn't work.

      0_1529372733428_fxDreema Close All Condition.png

      TPPct = 0.1
      I have it running on a demo account and there's currently 22 trades open.
      So it should have closed all trades when Equity reached Balance + 2.2%.
      Equity is currently in profit by 4.9% and the 22 trades are still open.

      I have the same calculation being output in the Comment so I know it's being calculated correctly.
      Any ideas why it didn't close the trades once the condition was met?

      ..the alien does not concern itself with the opinions of humans..

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

        Do you have trades on multiple pairs? Check that closing block, it has default setting to only close the trades on the pair it is attached to.

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

          Yep, that's got it sorted, thanks. đŸ˜‰
          Always check the obvious...

          ..the alien does not concern itself with the opinions of humans..

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

          Online Users

          S
          Z
          E
          H
          J
          S
          S
          C

          15
          Online

          146.8k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors