fxDreema

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

    Stop EA while not losing variable values

    Questions & Answers
    2
    3
    758
    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.
    • B
      BlueMoon last edited by

      My EA is based on "Once per bar" so it stops working exactly at 5:00pm EST Friday . Even though the EA is still running. As soon as it sees the new bar on 5:00pm EST on Sunday it will start making the trading decisions based on my blocks.

      I would like to stop the EA making any decisions at 5:00pm EST since the spreads are very high at this time. I cannot just stop the EA since it will lose the values of all my variables that it is using internally.

      My questions are:
      How do I make the EA not do anything until I want it to? I do not want to use time filter since I don't have a fixed time in mind when I want it to stop working. I just want to be able to manually do this while not losing the values of my variables.

      M 1 Reply Last reply Reply Quote 0
      • M
        mohammad2232 @BlueMoon last edited by

        @yalgaar
        Hello
        Why you don't use spread filter block ?

        1 Reply Last reply Reply Quote 0
        • B
          BlueMoon last edited by

          That is not an option!
          I still need a way for the variables to not lose its value

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

          Online Users

          L
          S
          A
          F

          9
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors