fxDreema

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

    Less than "n" trades are running block

    Questions & Answers
    3
    12
    2446
    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.
    • T
      Trader3487 last edited by

      Does this mean all trades globally (for all charts) or only for the chart the expert advisor is running on?

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

        Depends on the settings inside, there are some filters. You MUST know what is Magic number: http://fxdreema.com/documentation/getti ... c%20number

        1 Reply Last reply Reply Quote 0
        • T
          Trader3487 last edited by

          assuming this one is the only expert adviser running but there are several charts open for different symbols. If I set "less than "n" trades running" to 2 on the ea applied to EURUSD chart but I already have an order open on a EURGBP chart, will that EURGBP order be included in the running trades count? I guess I will try to experiment with it... Thanks 🙂

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

            Again, there are options inside this block to filter trades, so it depends. Trades can be filtered by Group number (this is basically the magic number), market (aka symbol) and type (buy, sell). The "Market mode" option is set to "Any market" by default, and that means the market does not matter, but still, the Group # (magic number) matters.

            I will recommend to use "Check trades count" block, because it looks more intuitive.

            1 Reply Last reply Reply Quote 0
            • T
              Trader3487 last edited by

              great, thank you

              1 Reply Last reply Reply Quote 0
              • P
                palani last edited by

                Please can some one help me! Happy Trading

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

                  Help you with what?

                  1 Reply Last reply Reply Quote 0
                  • T
                    Trader3487 last edited by

                    I used the "check trades count" and set it to "if lower than or equal to 2" orders. In addition, I assigned group # to buy now order and entered it into check trades count block. However, it opened 3 orders. Any suggestions?

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

                      If trades are 0, 1 or 2, then continue and open another one. After that trades will be 1, 2 or 3 respectively.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Trader3487 last edited by

                        If trades are 0, 1 or 2, then continue and open another one.
                        if number of open trades are 0, 1 or 2 (less than or equal to two)?

                        then continue and open another one.
                        until trade count (number of open trades) reaches 2?

                        After that trades will be 1, 2 or 3 respectively.
                        won't the ea stop opening trades once the number of open trades reaches 2? If not, how do I set it to allow only 2 open trades at one time (sell trades with group #5)?

                        Thanks

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

                          The block is named "Check trades count" and if trades count is 2 (so that <= 2 is true) then the block passes and goes to Buy now to create trade #3.

                          Try with < instead of <=. If trades are less than 2 (they are 0 or 1), then go to create another one (#1 or #2).

                          1 Reply Last reply Reply Quote 0
                          • T
                            Trader3487 last edited by

                            that's how I thought the logic worked but it seemed to open 3 orders even though no orders were open. Anyway, I'll try again and let you know if it doesn't work. Thanks 🙂

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

                            Online Users

                            L
                            S
                            A
                            F

                            15
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors