fxDreema

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

    how to make bot to stop taking trades after a certain condition has occured

    Questions & Answers
    2
    3
    584
    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.
    • T
      Tradingjunkie last edited by

      Hello guys i was wondering whether someone might help me find out how i can make my EA to stop taking trades once a certain condition has been met

      1 Reply Last reply Reply Quote 0
      • T
        Tradingjunkie last edited by

        I have solved this now i have a new problem how would i restart the bot if a condition has been met

        T 1 Reply Last reply Reply Quote 0
        • T
          trader.philipps @Tradingjunkie last edited by

          @tradingjunkie Usualy you would create a path of blood is for your entry conditions and the order open. You can then switch the first block on or off depending on the conditions to allow taking new trades again.
          There is no need to terminate the EA as if you do so, you have to enable it manually again.

          Typical usage would be a condition block where you allow trading days and trading hours. At the end you'd have a block disabling and one for enabling the trade entry path.

          I like to share my knowledge, but expect the others to contribute as well.

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

          Online Users

          G
          K
          P
          M
          M

          15
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors