fxDreema

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

    Condition Check

    Questions & Answers
    4
    5
    2097
    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.
    • J
      jesse22 last edited by

      how to make this condition? ... after 2 loses consecutive in condition A .. use condition B until win then back to condition A any ideas?

      U 1 Reply Last reply Reply Quote 0
      • V
        varso last edited by

        Maybe you can use formula and write to variable. Like

        Trade lost - formula write to variable value 1
        Trade los again - formula writer variable value 2

        when variable equals 2 use condition B

        J 1 Reply Last reply Reply Quote 0
        • J
          jesse22 @varso last edited by

          @varso thanks for reply.... do you know any specific block for "trade lost"? thanks in advance..

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

            Because I don't like the idea of working with variables to store such trading information (because if you close the EA, that information would be lost), I always prefer to find a way to check the actual trading data before doing something. So I would ask myself - can I get information from the trades that can tell me whether the condition A or B was repeated twice?

            For example, you can set different Group numbers for the trades in conditions A and B. Those Group numbers are somehow linked to the magic numbers of the trades. But I don't know, maybe in this way you could make something that looks more complicated.

            1 Reply Last reply Reply Quote 0
            • U
              uchiha @jesse22 last edited by

              @jesse22 Use the [Check Consecutive Losses] block, then follow it with the [Turn OFF blocks] and [Turn ON blocks] to turn on and off the condition blocks you want.

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

              Online Users

              S
              A
              M
              R
              G
              T
              G
              Y
              C
              S
              S
              S
              A

              25
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors