Forexperiments wrote:Hi, I'd like to have a stealth trailing stop that starts at 8 pips and then follows the price pip by pip at a distance of 4 pips. (on a pair where the stop level is 14 pips)
And I don't want to change the original TP and SL
This is my set file:
http://pastie.org/4749710
Unfortunately, it seems I set it wrongly: I got a lot of error 130
07:38:42 Multi purpose trade manager GBPJPY,H1: GBPJPY order modify failed with error(130) : invalid stops
07:38:43 Multi purpose trade manager GBPJPY,H1: GBPJPY order modify failed with error(130) : invalid stops
07:38:45 Multi purpose trade manager GBPJPY,H1: GBPJPY order modify failed with error(130) : invalid stops
...
What I've done wrong?
Okay,
forexperiments,
i checked your set file, the only thing i can see is your BE setting is at false.
I also dont know if leaving the 'always on' (first option) option to false will help. I always have that to true myself.
You need this BE enabled for the TS, JS etc to work. There is a comment in the code of MPTM explaining this.
whether this will help i doubt it unless these can be changed to STEALTH in the EA. i am unable to do this and dont know if any able programmer/coder can help out here.
I often have a 130 error too on my EA's, but after checking the values changed, they are correct.!

have'nt put my finger on this one quite yet.
Otherwise i understand what you are trying to do and i think its a very good idea, i just dont know if there is a way around the stealth/criminal rule issue.
Nice one, sorry i cant help further and will look out if there is a solution in the future. Would definately try to use a similar setup myself.
regards
cuzgeorge