fxDreema

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

    Trade only once per condition met

    Questions & Answers
    5
    7
    1142
    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.
    • lanrayy
      lanrayy last edited by lanrayy

      Hello everyone,

      Please I need help on how to set this up. I want my EA to only pick trades once after a condition is met.

      Looking at this image as example, I want the EA to take trade ones when 100ma is below 200ma and the red ball(custom indicator) appears. Which means the ea will disregard all other red balls that may appear after the first trade has been taken. Even after tp or sl. So the ea will wait until that condition is met again and place only one trade when the first red ball shows up.

      I hope you understand me. Any assistance rendered will be well appreciated.
      @roar @l-andorrĂ  , @miro1360 please help me have a look

      0_1615805863415_Screenshot_111.png

      L 1 Reply Last reply Reply Quote 0
      • X
        Xfire last edited by

        hi
        if the red ball is in your condition so you can remove all balls after open position and repaint after other conditions are true

        IN GOD WE TRUST

        lanrayy 1 Reply Last reply Reply Quote 0
        • L
          LuciVuur last edited by

          You can use "flags"

          1 Reply Last reply Reply Quote 0
          • lanrayy
            lanrayy @Xfire last edited by

            @xfire said in Trade only once per condition met:

            hi
            if the red ball is in your condition so you can remove all balls after open position and repaint after other conditions are true

            @Xfire I understand your explanation but I dont know which blocks perform those functions you described. Have tried many options but not working. Please advice

            X 1 Reply Last reply Reply Quote 0
            • L
              Laudable222 @lanrayy last edited by

              @lanrayy are you creating an EA for step index?

              1 Reply Last reply Reply Quote 0
              • X
                Xfire @lanrayy last edited by

                @lanrayy
                please share your project by link. it is better to find a idea with your block

                IN GOD WE TRUST

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

                  Hi @lanrayy .
                  Just use the No Trade block on top of your trade structure.

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

                  Online Users

                  B
                  T
                  S
                  O
                  K

                  16
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors