fxDreema

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

    no SL

    Bug Reports
    2
    17
    3832
    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.
    • H
      hilavoku last edited by

      Hiho,

      at the moment my EA has USDJPY as a BUY trade opened. It set TP and SL as hidden. Now the current price is below the SL but the trade is still running... Is this a new problem. I haven't changed the EA but its the first trade after the last update...

      USDJPY_bug.PNG

      Any hints ❓

      PS: I also have a question. Sometimes there are spikes which reach my SL but then advance further into direction of the TP. What do you think of a block which sets a SL that will only be triggered when the price is under the SL for a specified time. So spikes won't have a chance...

      ......
      USDJPY_bug.PNG

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

        It checks if the trade is beyoud SL or TP line, and if it is - it should close it. This situation happens on every tick. At least on backtest it works. Now I'm trying it on demo...

        Do you have some error messages? Is the line name like this "#ticketnumber sl"?

        About the spikes question - this can be done for the hidden stops only, I think.

        1 Reply Last reply Reply Quote 0
        • H
          hilavoku last edited by

          Yes. The name is #ticketnumber sl and the ticketnumber is the same as the current trade...

          And also yes. The spike preventing SL can only be done hidden within the EA. Would you mind to add such a option?

          1 Reply Last reply Reply Quote 0
          • H
            hilavoku last edited by

            Yes. The name is #ticketnumber sl and the ticketnumber is the same as the current trade...

            And also yes. The spike preventing SL can only be done hidden within the EA. Would you mind to add such a option?

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

              I'm testing here virtual stops, it looks fine. Now I don't know why your stop is not triggered. So, there are no errors, nothing?

              What is the normal timeout in your opinion to wait before triggering stops - Seconds, milliseconds? And where it should comes from - server time or local time.

              1 Reply Last reply Reply Quote 0
              • H
                hilavoku last edited by

                I write this from my mobile phone, so i can't look at the logs at the moment.

                The timeout depends on on the time frame you are trading. So it is the the user's choice. What time server to use is not important. It just has to be the same server for the beginning and the end of the needed 'time window'.

                As an example: For trading within the 15min chart, i can think of a 'time-threshold' as 15 min. So start the timer when price action is below the SRSL and when the timer exceeds the threshold then take the loss. When price moves above before the threshold triggers then the timer will be reset.( Example for a buy trade)

                Do you think you will add such a block into FXdreema? It isn't that complex. As i would like to integrate it into my current poject and i think others would also take advantage of this type of SL it would be nice to see you working on it...

                PS: there are no errors but i think we can forget about the not taken SL. Could be a local problem. So lets face the 'time-threshold' based SLs 🙂

                1 Reply Last reply Reply Quote 0
                • H
                  hilavoku last edited by

                  Hiho,

                  so i couldn't wait and programmed SRSLs into my current EA. Will backtest this weekend and see how it performs on monday...

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

                    You must be serious 🙂

                    Sorry that I'm not fast. I am doing many things, and also before I create some new feature I like to think of it for a while. All this is because of the eventual problems that can appear... which unfortunately still appear more frequently than I want 😕

                    These days (and weeks) I am more focused to do some optimizations, recode and touch the details. I think I skipped help materials and examples for too long, so I must do some updates there. Also, I plan to move the website on a different server soon, if everything is ok.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hilavoku last edited by

                      No prob for me!! I won't accuse you of not being fast enough. You can't program any weird idea some customer has. It's okay for me! Better to build a fully understandable product with more help material then programming my idea of the SRSL...

                      Have a nice weekend
                      Guido

                      PS: by the way. Cause of the nice FXdreema gui it took me just twenty minutes to program SRSL . 😆

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

                        The idea is actually good, it makes virtual stops even more functional. I can add it to the project options. Well, when I think more about it, someone in the future may ask me why it exista as a global project setting instead of being in each block like independent option... so yes, maybe there are weird ideas sometimes.

                        1 Reply Last reply Reply Quote 0
                        • H
                          hilavoku last edited by

                          Yepp. You must consider each customer with his needs and wishes. I don't know how it would be better to realize SRSLs...

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

                            Ok, this is ready to test. I added a new option in "Options -> Current project options", you will see it. At first test it worked to me, but I used backtester because markets are not working at the moment. The time used for calculations is the local time, but in backtest it is the candle's time (aka server time). So you can try with 3600 seconds (1 hour) for example and see how many candles are skipped. Better try it first with a simple project, not the one you have now.

                            Now "Current project options" is a total mess, so I must take care of this as well 😆

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

                              __Yepp. You must consider each customer with his needs and wishes. I don't know how it would be better to realize SRSLs...[/quote:1prbv5dn]
                              What means "SRSL"? I know that S&R means Support and Resistance, and SL is Stop Loss, but I've never seen SRSL before 😕

                              1 Reply Last reply Reply Quote 0
                              • H
                                hilavoku last edited by

                                Wow. That fast and thanks for your afford!!

                                SRSL is my short of __S__pike __R__esistant __S__top __L__oss. I had to choose a name for it when programming it into my EA.

                                So, i will see how to test the new option.

                                have a great weekend
                                Guido

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hilavoku last edited by

                                  Oh. I see you also programmed the new option for take profits. I think for a take profit it doesn't make any sense. Why should someone wait any further to take the profit when its already hit? A SRSL only makes sense when it comes to SLs.

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

                                    Right 😆

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hilavoku last edited by

                                      Hi.

                                      tested the new option and it seems to do like it should. Nice work. Will see if it improves my EA.

                                      Till then and nice weekend.

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

                                      Online Users

                                      17
                                      Online

                                      146.8k
                                      Users

                                      22.4k
                                      Topics

                                      122.6k
                                      Posts

                                      Powered by NodeBB Forums | Contributors