fxDreema

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

    Invalid Sl or TP (130)

    Questions & Answers
    2
    28
    4247
    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.
    • J
      jl35 last edited by

      2014.09.26 01:31:42.428 2005.08.08 08:00 Empty (48) EURUSD,H1: New order error: Invalid Sl or TP (130). Waiting for a new tick to retry..

      How can i fix this error, i tried many things and cant get it fix?

      Project Empty..

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

        So what stops are you using? I can see that you have checked these parameters as input parameters, so they are probably not as default 🙂

        1 Reply Last reply Reply Quote 0
        • J
          jl35 last edited by

          im using fix stops 50 or 100 pips stop loss

          1 Reply Last reply Reply Quote 0
          • J
            jl35 last edited by

            and fi tp as well 10 to 50 pips

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

              So I can see you are using custom indicator for the open price. Are you sure it's giving you correct values?

              1 Reply Last reply Reply Quote 0
              • J
                jl35 last edited by

                yes i checked that out too..buy on low blue line which is dn buffer and sell high red line that is buffer0 i think it is..

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

                  There is a block named "Indicator tester" which I use and recommend to be used to check what a custom indicator gives to the EA as values. If you got normal price values (like 1.2345) then everything should be ok. If the value is 0 or looks weird, then try with Candle ID bigger than 0 - often indicators are made to work on the previous candle, or even at older candles.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jl35 last edited by

                    yep already tried that too, i checked the values with indicator tester and yes it gives me price values of the currency pair and set up values of the candles id above 0 but still have same error..

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

                      I'm playing with MAs because I don't have your indicator and everything is fine: https://fxdreema.com/shared/Vb0pXyjxc
                      Will this work for you?

                      1 Reply Last reply Reply Quote 0
                      • J
                        jl35 last edited by

                        i attached the indicator here and just place a buy or sell pending orders with fix take a profit and fix stop losses

                        Thank you

                        ......
                        NRTR_ATR_STOP.mq4

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

                          Using this: https://fxdreema.com/shared/PIORYUWEc on the backtester I got this: http://prntscr.com/4r6shr
                          It's Sunday here, so I can't test it live, but on the backtester everything looks as expected, without errors.
                          What I can suggest is to forget about the optimization checkboxes. Use these for quick optimization, but not for official input parameters. Better use "Constants" for official input parameters. And by the way, Weekly and Monthly timeframes seems to not work in backtester.

                          Invalid SL or TP normally appears when SL or TP is on the other side of the Open Price, which is rare... especially when you use "Fixed pips" option. So I don't know, something is wrong, but I'm not sure it's the EA itself.

                          1 Reply Last reply Reply Quote 0
                          • J
                            jl35 last edited by

                            i dont get how you done get the error..im not using any variables or constants either..here's an screen shot as you can see the last trade that s trying to place, it has the right take a profit and stop loss

                            ......
                            order error.jpg

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

                              Interesting, mine is working well: http://prntscr.com/4rht4f

                              Can you try this one: https://fxdreema.com/shared/wcpJyP4ad I want to see indicator values in the moment of failure.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jl35 last edited by

                                heres the screenshot i got with the setting you posted on the website

                                ......
                                errorntr.jpg

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

                                  Weird, the values for Open price, SL and TP should be the same. And I don't get this error on my backtester, even on the same date and spread. If it's not a problem for you, can I look at the problem with TeamViewer? 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jl35 last edited by

                                    sure i have no problem

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

                                      So we have to match our times now 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jl35 last edited by

                                        my time CST 4.12 Pm as is right now ..i'll be available around 8.15 Pm CST tonight

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jl35 last edited by

                                          im ready if you are right now

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

                                          Online Users

                                          A
                                          E
                                          Y
                                          E
                                          J
                                          U
                                          E
                                          A
                                          S
                                          M
                                          T
                                          E
                                          O
                                          A
                                          R

                                          20
                                          Online

                                          146.8k
                                          Users

                                          22.4k
                                          Topics

                                          122.6k
                                          Posts

                                          Powered by NodeBB Forums | Contributors