fxDreema

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

    How to take one of several buys orders?

    Questions & Answers
    3
    30
    4504
    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.
    • khalids222
      khalids222 last edited by

      In this example here are several buys orders that occurred.
      I only need one.
      How do I make an EA before opening a second buy order . i need to make sure of the last open order?
      If the same thing do not open anything. If it disagreed and there was a sell open it
      0_1578924373729_ONE1.jpg

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        You should use a 'No trade' block on top of your launching conditions. That way every time a buy is open, no more buys will until it's closed.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        khalids222 1 Reply Last reply Reply Quote 0
        • khalids222
          khalids222 @l'andorrà last edited by

          @l-andorrà said in How to take one of several buys orders?:

          You should use a 'No trade' block on top of your launching conditions. That way every time a buy is open, no more buys will until it's closed.

          But it also does not open a sell in the event of a loss, can I make it open a sell in the event of a buys loss? if i changed group number

          T 1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà last edited by

            That depends on the circumstances. Could you please share your project?

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

              @khalids222 If you want the sequence buy -sell - buy, you need to count the sell and buy orders and compare them. If you want sells and buys separate, you can use no trade block and limit one for buys and another one for sell types.

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

              khalids222 3 Replies Last reply Reply Quote 0
              • khalids222
                khalids222 @trader.philipps last edited by

                @trader-philipps said in How to take one of several buys orders?:

                If you want the sequence buy -sell - buy, you need to count the sell and buy orders and compare them. If you want sells and buys separate, you can use no trade block and limit one for buys and another one for sell types.

                No, I did not mean this.
                I mean if it was a previous buy, and there was another buy order on the second candle now. Do not buy
                Suffice it to the past only. .
                Meaning, if the buy is repeated, only the first.
                If the sell is repeated, only the first is sufficient.
                In order not to consume the balance,

                0_1579194190587_buy1.jpg

                1 Reply Last reply Reply Quote 0
                • khalids222
                  khalids222 @l'andorrà last edited by

                  @l-andorrà This EA makes very good profits, but volumes are a problem
                  https://fxdreema.com/shared/YqcZPNE1d

                  khalids222 1 Reply Last reply Reply Quote 0
                  • khalids222
                    khalids222 @khalids222 last edited by

                    @khalids222 I mean a volumes of buys and sells, in the same direction, and at the same time I cannot use no trade .

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

                      @trader-philipps

                      Before opening any deal, make sure of the previous order if the same order exceeded the condition, if different, open
                      This is the only addition
                      The same sizes of current EA .
                      0_1579195457502_sellbuy1.jpg

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

                        @khalids222 If you just want 1 buy at a time, use No trade block and linit it to Bues only. Do the same for Sells.

                        If you want to allow multiple trades in the same direction but not on the same "signal condition" switch off the eg Buy block (or better path) and switch it on somewhere else again if your entry condition is over.

                        Here an example of what I mean with sitch off / on:

                        0_1579195326705_4cc22d58-78c6-42d6-940d-322d6eaa015b-image.png

                        1. MACD crosses 0 line up. -> Open Buy -> Switch OFF Buy path
                        2. MACD crosses signal line down -> switch ON Buy path
                        3. MACD crosses signal line up -> open Buy -> switch OFF Buy path
                        4. MACD crosses signal line down -> switch ON Buy path
                        5. MACD crosses signal line up -> open Buy -> switch OFF Buy path
                        6. MACD crosses signal line down -> switch ON Buy path
                        7. MACD crosses 0 down - you may again switch ON/OFF Buy as it fits to your strategy.

                        Does that make sense?

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

                        khalids222 2 Replies Last reply Reply Quote 0
                        • khalids222
                          khalids222 @trader.philipps last edited by

                          @trader-philipps said in How to take one of several buys orders?:

                          If you just want 1 buy at a time, use No trade block and linit it to Bues only. Do the same for Sells.
                          If you want to allow multiple trades in the same direction but not on the same "signal condition" switch off the eg Buy block (or better path) and switch it on somewhere else again if your entry condition is over.
                          Here an example of what I mean with sitch off / on:

                          Is it possible to give an example of the two cases as well

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

                            @trader-philipps
                            Is it possible to apply it directly to the project, please
                            I am not an expert on that

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

                              @khalids222 Not sure if I met the conditions right as they were a bit messy on the shared projects. So check this for principle and adjust to your need. Btw. MACD 1,30,5 flips around the signal line a hell so there will be lots of trades in any way.

                              0_1579201313320_5f9424d8-d8a8-48a1-acfc-664989b346bd-image.png

                              0_1579201322637_1test.mq4

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

                              khalids222 2 Replies Last reply Reply Quote 0
                              • khalids222
                                khalids222 @trader.philipps last edited by

                                @trader-philipps said in How to take one of several buys orders?:

                                Not sure if I met the conditions right as they were a bit messy on the shared projects. So check this for principle and adjust to your need. Btw. MACD 1,30,5 flips around the signal line a hell so there will be lots of trades in any way.

                                thank you very much ,
                                We are always impressed with your creativity

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

                                  @trader-philipps
                                  0_1579259174810_CANDLE1.jpg

                                  Nothing has changed. Several purchase orders have occurred

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

                                    @khalids222 Could you reshare your version of the project please if you made any changes to mine?

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

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

                                      @trader-philipps said in How to take one of several buys orders?:

                                      Could you reshare your version of the project please if you made any changes to mine?

                                      SURE : https://fxdreema.com/shared/jtvRpfIrb

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

                                        @khalids222 Okay, you didn't set the Switch ON condition right!

                                        0_1579280096623_45c32884-3679-4a6d-9baf-71ef721e5842-image.png

                                        Left side is your switch ON condition and right side is your entry condition. Like this you no need the Switch ON/OFF blocks.

                                        The idea is that you switch on the corresponding block only if the entry condition is not met anymore.

                                        Simple example with Moving average (easier to demonstrate):

                                        1. Price x> MA --> Switch on Buy blocks
                                        2. Buy order gets triggerd -> Buy path gets switched OFF
                                        3. Price <x MA (below MA) -> Buy blocks switch ON

                                        Does that make sense?

                                        In your example I guessed that your Sell entry condition (or at least the most stricted one of them) is the trigger to switch ON the Buy blocks again.

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

                                        khalids222 2 Replies Last reply Reply Quote 0
                                        • khalids222
                                          khalids222 @trader.philipps last edited by

                                          @trader-philipps
                                          I'm sorry, but I didn't understand it explicitly.
                                          Is it possible to amend it on the project and I will try to understand it in practice?
                                          Thanks for your efforts

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

                                            @khalids222 I needed to change the block names BUY and SELL back to numbers as the Switch OFF didn't work. No idea why it works with switch ON but not switch FF - maybe a bug.
                                            Further I simply copied your Sell entry blocks to the Buy control and the Buy entry blocks to the Sell control side,

                                            Check this out 0_1579284526893_TEST3.mq4

                                            Now it takes 1 entry per direction, which may not be your intention, but maybe a point to start from.

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

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

                                            Online Users

                                            A
                                            H
                                            A
                                            S
                                            M
                                            A

                                            14
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors