fxDreema

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

    trailig pending order

    Questions & Answers
    2
    18
    4969
    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.
    • M
      monexx last edited by

      Hi,
      try to create a project with a buy limit and sell limit trailing pending order.
      Somewhere I have an error because the trades do not open my MT5.
      Can you please help me? I attached a link with shared copy of project:
      http://fxdreema.com/shared/lX027G0Xd

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

        Error message(s) from Journal or Experts?

        1 Reply Last reply Reply Quote 0
        • M
          monexx last edited by

          __Error message(s) from Journal or Experts?[/quote:1loffz6b]
          None messages

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

            Demo or backtest?
            No positions, no orders, no errors... nothing at all?

            1 Reply Last reply Reply Quote 0
            • M
              monexx last edited by

              __Demo or backtest?
              No positions, no orders, no errors... nothing at all?[/quote:l0lbqkn8]

              I did backtest and I've tried various combinations of settings,
              but no error messages or positions or orders ...
              I sent the link to the project, I do not know that I got some logical error...

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

                I backtested this and there are orders. Unfortunately, some stupid error appears as well (order modify error), but the point is - the EA does something.
                Why don't you try to connect "Draw arrow" block somewhere, just to know that it works.

                1 Reply Last reply Reply Quote 0
                • M
                  monexx last edited by

                  __I backtested this and there are orders. Unfortunately, some stupid error appears as well (order modify error), but the point is - the EA does something.
                  Why don't you try to connect "Draw arrow" block somewhere, just to know that it works.[/quote:iiqevzn4]

                  I have now removed the buy and sell now
                  and instead I connected in there to draw arrow, but EA did not do anything again ...

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

                    Do you have "status Working" or "status Starting" or "status Stopped" at the top of the chart?

                    1 Reply Last reply Reply Quote 0
                    • M
                      monexx last edited by

                      __Do you have "status Working" or "status Starting" or "status Stopped" at the top of the chart?[/quote:2wez8p2h]

                      There I have status Working.

                      Now I have created the same EA for MT4 and there it worked very well ...

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

                        Maybe it is something with your time blocks (those on the top) and their input settings that makes one of them to not pass. "Hours filter" most probably. Use "Draw arrow" to detect if they pass. Then use it after "Condition", and so on...

                        1 Reply Last reply Reply Quote 0
                        • M
                          monexx last edited by

                          __Maybe it is something with your time blocks (those on the top) and their input settings that makes one of them to not pass. "Hours filter" most probably. Use "Draw arrow" to detect if they pass. Then use it after "Condition", and so on...[/quote:3glxgqw8]

                          The time slots was not bug.
                          Error was that when I did the fxDreema modify strategy so my MT5
                          do not overwrite old files to new. I have to manually delete old files from folder MT5
                          and then place the new file from the fxDreema into MT5.I donot understand it because with MT4 I have no problem.
                          You were right, that the strategy is working, but the error is with moving of pending orders.
                          In MT4 it works well but MT5 does not trailing pending orders ...
                          Attached link to the shared copy of strategy:
                          http://fxdreema.com/shared/mcNJJvkcc

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

                            In your example you have checked parameters for optimization and I cannot be sure what actual input values you are using in your MT5 locally. So I'm skipping it.
                            As a matter of fact, when I'm backtesting it, it creates buy limit or sell limit and yes, it trails them.

                            Look at the next example, it places 4 pending orders (buy stop, buy limit, sell limit, sell stop) at distance of 100 pips (above or below depends on the type of the order), and then it trails them. In "Trailing pending order" the value of "in pips..." is positive, but even if it is negative - there will be no difference because this value is always converted to positive. You will see how each one of the 4 orders is able to move when the price goes against it.
                            http://fxdreema.com/shared/2Gnz8BJOc

                            1 Reply Last reply Reply Quote 0
                            • M
                              monexx last edited by

                              __In your example you have checked parameters for optimization and I cannot be sure what actual input values you are using in your MT5 locally. So I'm skipping it.
                              As a matter of fact, when I'm backtesting it, it creates buy limit or sell limit and yes, it trails them.

                              Look at the next example, it places 4 pending orders (buy stop, buy limit, sell limit, sell stop) at distance of 100 pips (above or below depends on the type of the order), and then it trails them. In "Trailing pending order" the value of "in pips..." is positive, but even if it is negative - there will be no difference because this value is always converted to positive. You will see how each one of the 4 orders is able to move when the price goes against it.
                              http://fxdreema.com/shared/2Gnz8BJOc[/quote:i2t1shk7]

                              Thank you very much for your help,
                              now I understand, and my strategy works correctly. 🙂
                              Last problem I have with overwriting files in MT5.
                              When I edit a project in fxDreema so in MT5 will not overwrite the old file to the new.
                              I have to do it manually: manually delete old files from MT5 folder and then
                              I send a new overwrite from fxDreema to MT5 ...

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

                                Auto renaming files is, as I know, Windows behaviour.
                                To move around this I use two plugins for Firefox, but the little problem is that one of them is not working correctly with the newest 17 version of Firefox: http://fxdreema.com/documentation/downl ... ne%20click
                                Currently I'm trying to make a special plugin for browsers (Chrome, Firefox...) that will be able to automatically send files to their destination and overwrite them, similar to the local version of fxDreema.
                                And finally... the local version of fxDreema works without this problem 🙂

                                1 Reply Last reply Reply Quote 0
                                • M
                                  monexx last edited by

                                  __Auto renaming files is, as I know, Windows behaviour.
                                  To move around this I use two plugins for Firefox, but the little problem is that one of them is not working correctly with the newest 17 version of Firefox: http://fxdreema.com/documentation/downl ... ne%20click
                                  Currently I'm trying to make a special plugin for browsers (Chrome, Firefox...) that will be able to automatically send files to their destination and overwrite them, similar to the local version of fxDreema.
                                  And finally... the local version of fxDreema works without this problem :)[/quot

                                  I thought something else,
                                  with MT4 I have no problem.
                                  But when I send overwright file from the local version too into MT5, the new file will not overwrite the old.
                                  The same windows 7 for MT4 overwright old files to the new without problems, but in MT5 not.
                                  Normally, a window appears if you want to overwrite the old file to a new,
                                  click yes, and then I check the file. There is still old not overwright file...

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

                                    Is it able to write new file if there is no old one in MT5?

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      monexx last edited by

                                      __Is it able to write new file if there is no old one in MT5?[/quote:12brjno3]

                                      Then yes

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

                                        😕

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

                                        Online Users

                                        V
                                        C

                                        14
                                        Online

                                        146.7k
                                        Users

                                        22.4k
                                        Topics

                                        122.6k
                                        Posts

                                        Powered by NodeBB Forums | Contributors