fxDreema

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

    Prevent new trade positions from opening after the close to a profitable position.

    Questions & Answers
    2
    3
    159
    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.
    • G
      generalbiyi last edited by

      I need help to implement a 30-minute delay between profitable trade closures and new trade position. I want to implement logic that checks the time of the last closed profitable trade and compares it to the current time. If the time difference is less than 30 minutes, the EA should prevent new trade positions from opening (either manual or automatic trade position) . If the time difference is 30 minutes or more, the EA can allow a new trade(manual or automatic) to be opened.

      Here's the link to the project http://fxdreema.com/shared/QmdJS4Htd

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

        https://fxdreema.com/shared/Ei2B83yne

        Something like this. Note that EA can never prevent manual trades.

        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

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

          @roar kudos to you for your swift response...

          Please, what's the method of operation of the blocks you connected

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

          Online Users

          N
          D
          B
          A
          T
          R

          19
          Online

          146.8k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors