fxDreema

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

    hello how can i limit or return my order?

    Questions & Answers
    3
    7
    2249
    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.
    • I
      ibrahim 0 last edited by

      i put custoum indicator and i put check trades count before buy now but it still not working any help plz with example to under stand thanks 0_1546835668110_fx dreema.png

      1 Reply Last reply Reply Quote 0
      • J
        josecortesllobat last edited by

        If you can share your project or at least open the blocks and take a screenshot, it is better to try to help.

        What is not working? EA does not open any trade (sell or buy)?

        1 Reply Last reply Reply Quote 0
        • I
          ibrahim 0 last edited by

          no it open (sell and buy) but when i want to limit my order in long and short term with( check trades count) check trades not working i want to limit my order . example : (3 trades in short) (3 trades in long ) this project open just 1 trade when the( arrow shows) i want to open 3 trade but not in the same time .1 when arrow shows . 2 when the first order make sl or tp .3 when the order number 2 make sl or tp . thank u for replay josecortesllobat

          https://fxdreema.com/shared/rD7CeJ2Bb

          1 Reply Last reply Reply Quote 0
          • J
            josecortesllobat last edited by

            Then, if I do not understand it wrong, what you want is:

            1. Open a trade when the "Indicator appear" block is true (#1)
            2. When #1 is closed by SL or TP, open a new trade with the same direction (#2)
            3. When #2 is closed by SL or TP, open a new trade with the same direction (#3)

            0_1546902641600_818df1ce-05ac-413f-b7cc-64224fed297e-image.png

            To reach the "Buy Now" block you require:

            • No buy position exist (but if you opened a buy trade before, this block will never be true while that postion exists)
            • Indicator appears
            • Close any trade running
            • Number of trades greater than 3

            I would suggest you to start the project step by step.

            Open (#1)

            0_1546902964193_2b1120a9-8c1e-4741-8c10-bcd621f85629-image.png

            does it work as expected?

            1 Reply Last reply Reply Quote 0
            • bob 2
              bob 2 last edited by

              thank u very much for help yeh i want the example that u put it in the first (((((Open a trade when the "Indicator appear" block is true (#1)
              When #1 is closed by SL or TP, open a new trade with the same direction (#2)
              When #2 is closed by SL or TP, open a new trade with the same direction (#3)))))))) to repeat trades with number that i want in same direction when the trade close with sl or tp limit my order in the same direction ... and about open( #1) yes it work but if i dont put( close trades) it will make some problem in close trades bcz i dont love the (SL) i put (close trades) bcz i take 3 or 4 pips maximum that what i want but my problem in repeat trades in the same direction . if i put 3 trades repeat or 4 that will be good

              ..

              1 Reply Last reply Reply Quote 0
              • J
                josecortesllobat last edited by

                Then, if I am not wrong,

                • list item when the position (#1) exists and its profit is 3 or 4 pips, close (#1) and open a new trade (#2) with the same direction

                • list item when the position (#2) exists and its profit is 3 or 4 pips, close (#2) and open a new trade (#3) with the same direction

                Right?

                This could be an approach

                0_1546932217799_6648f186-3662-4002-a84d-b13d9e9ea3c9-image.png

                The example above should work as

                • No buy trade && indicator appears -> Open Buy
                • If buy trade (false yellow output pass) && its unrealized profit is >= 3 pips -> Close Buys ->> Open Buy

                If you want to limit the number of positions (#2, #3, ...) to open after the first one was opened, you will need to add anything (block, variable, etc.) that counts the number of times that the false yellow output of the "No postion" block passes.

                1 Reply Last reply Reply Quote 0
                • bob 2
                  bob 2 last edited by

                  thank uuuuuuu but the example that u make ........it dont close the trade when the errow shows that make the trade open to take tp :example if the EA open sell and we put the TP 3 pips if the tp dont close the trade it will stay open bcz the close trade dont work . the example that i put it in the first it work when the arrow change color it will close the trade . every thing ok to me just a number of trade it open 1 trade . we need to limit the trade . that is it . thank u very much mwahh

                  ..

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

                  Online Users

                  M
                  M

                  12
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors