fxDreema

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

    order manager

    Questions & Answers
    2
    54
    17540
    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.
    • A
      amin last edited by

      dear admin

      could you please help me for creating an expert for take the engulfing patern in candles? I write an EA but it doesn`t work.

      https://fxdreema.com/shared/vZ4MsxuQb

      please help me

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

        For such things there are indicators, but you can use Condition anyway. Just remember to not use == when you compare prices. The chance to detect two prices that are exactly the same at the same time when ticks are jumping around and the broker have 5 digits is pretty low.

        Then just look at what you have - two conditions with the same left and right operands, but using different comparison sign. There is just no way to have both Condition block right at the same time, one of them is always false, they are the opposite of each other.

        1 Reply Last reply Reply Quote 0
        • A
          amin last edited by

          dear admin

          thank you for your helps.

          I am working on an EA that it works with macd-complete indicator, and I enter the order with cross over of buffer and signal line in this indicator, but the cross over occur and back again and again. and it enters the order even in discorrect position becuse the cross over didn't occur correctly( fake cross over ). how can recognize the real cross over?

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

            The crossover in "Condition" block does not produce one-time signals, the block will pass until there is a visible crossover for the candle, until the candle closes. So you should control trades with other blocks. For example, if you put "Once per bar" before that Condition, it will give you some result. If you put the same block after the Condition, the result will be different.

            1 Reply Last reply Reply Quote 0
            • A
              amin last edited by

              dear admin

              could you please tell me how can find the signals that for example 6ema cross the price for 6 pips or 6 ema cross the 20 ema for 6 pips>

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

                The normal crossover, but add something like +0.0006 in the "Adjust" field on one of both sides

                1 Reply Last reply Reply Quote 0
                • A
                  amin last edited by

                  thank you

                  I forgot to say

                  happy new year

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

                    It's Happy Christmas, we are still in the old year 😛

                    1 Reply Last reply Reply Quote 0
                    • A
                      amin last edited by

                      dear admin

                      i made an EA for managing the opened orders. but it does nt work. it should close or trail the stop for current orders. i don nt know where the problem is.
                      please help me.

                      https://fxdreema.com/shared/LFp6hZMTc

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

                        If this is for your manual orders, I will suggest to set "Magic Start" to 0, as they have magic number of 0. Or look at the group mode parameter in blocks 2, 9 and 14.

                        1 Reply Last reply Reply Quote 0
                        • A
                          amin last edited by

                          dear admin

                          the problem is solved. thank you so much.

                          1 Reply Last reply Reply Quote 0
                          • A
                            amin last edited by

                            hi

                            could you please tell me how can I adjust the trailing stop to close the half of position?

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

                              Trailing stop (each trade) can't do that and I will not include this into it, because it already has so much input parameters. But it should be possible with some custom loop. Here is a start: https://fxdreema.com/demo/mt4-loop-trailing-stop

                              1 Reply Last reply Reply Quote 0
                              • A
                                amin last edited by

                                dear admin
                                i want to use breakeven the order in 10 pips and close half of order when breakeven takeplace. could you please tell me how can i make it?

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

                                  With pink block somehow. Here is an example how to make trailing stop: https://fxdreema.com/demo/mt4-loop-trailing-stop I will be different in your case, but this is the idea.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    amin last edited by

                                    dear admin

                                    I design the my trailing stop. but this is not my problem. my problem is how can i close half of my trade when i breakeven in 10 pip ( for example ).

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

                                      What if you place a new pending order with half the lot size where SL for the trade is?

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        amin last edited by

                                        hi
                                        how can i set a pending order just right there? ( at tp point of previous order )

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

                                          When do you want to do that (in the EA)?

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

                                          Online Users

                                          V

                                          14
                                          Online

                                          146.7k
                                          Users

                                          22.4k
                                          Topics

                                          122.6k
                                          Posts

                                          Powered by NodeBB Forums | Contributors