Invalid Sl or TP (130)
-
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..
-
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

-
im using fix stops 50 or 100 pips stop loss
-
and fi tp as well 10 to 50 pips
-
So I can see you are using custom indicator for the open price. Are you sure it's giving you correct values?
-
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..
-
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.
-
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..
-
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? -
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 -
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.
-
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 -
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.
-
heres the screenshot i got with the setting you posted on the website
......
errorntr.jpg -
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?

-
sure i have no problem
-
So we have to match our times now

-
my time CST 4.12 Pm as is right now ..i'll be available around 8.15 Pm CST tonight
-
im ready if you are right now