1 (edited by CeratiQuijano 2016-10-13 02:19:07)

Topic: Issue on TSL

First I want to say thanks, i think FSB is an excellent software.

I have been testing your software but I can't make Trailing Stop Limit works.

As can you see it in the attached image the SL never changes neither the operation is closed.

Is there something wrong. This test is in a real account in MT5.

Thanks

Post's attachments

ImageTSL.gif 118.11 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Issue on TSL

I see that there are set Stop Loss and Take Profit to your position. What happens when the market moves to your direction?

Please run the MetaTrader tester and when go to the Result tab. You will see that the expert modifies the Stop Loss.
This is my reproduction of the same strategy on EURUSD M5

http://s12.postimg.org/4zjsphk4d/screenshot_36.png

3 (edited by CeratiQuijano 2016-10-13 06:31:06)

Re: Issue on TSL

Hi thanks for your answer.

Yes, it works for mt4, as i said i was testing in mt5.

Left mt5, right mt4

Regards

Post's attachments

Captura.PNG 79.14 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Issue on TSL

Any suggestion to solve in MT5?

Re: Issue on TSL

I just exported the same strategy to MT5 and run the tester.

http://s12.postimg.org/dh76zv5lp/screenshot_39.png

See Operations tab the long position with SL = 1.2313 and TP = 1.2543
The stop trails to 1.12343 -> 1.12344 -> 1.12345

6 (edited by CeratiQuijano 2016-10-15 15:31:21)

Re: Issue on TSL

Popo I was testing with different accounts in different brokers. I think that the problem is with hedge type accounts in MT5. Because only in this account I have the issue.

As you can see in the next image, the problem is maybe that the ea can't detect the position to modify.

Re: Issue on TSL

It looks like that. MetaQutes introduced the hedging accounts in a way that broke the current expert advsiors. There is something really wrong with that company. The have no idea what "backward compatibility" means. 

I'll start working on that problem on Monday and hope to be able to find a solution for one-two weeks. The problem is that the documentation is very vague and there are no working examples how an expert opens, adds, modifies and closes positions. They do not answer to such questions in their forum.

Re: Issue on TSL

Thanks for your answer,

I hope you can solve quickly.

If you need help or I can contribute in some way not hesitate to mention it.

Greetings.