1 (edited by GizmoTN 2016-08-18 22:01:53)

Topic: Strategy ambiguous bars?

In fsb, the attached strategy looks awesome (both against my broker's data and to a lesser extent the fsb demo data.)  It did great in multi pair testing, monte carlo etc.

https://gyazo.com/ddd52251e404f3484f31dfc0613d45c0

When I tossed on demo, it's performance wasn't nearly as pretty.  In the strategy tester in MT4 it dug a hole to China.  So... is the issue that it's got a bunch of ambiguous bars or is there something else I should be considering?

Post's attachments

GENERIC 4H T1.xml 11.8 kb, 6 downloads since 2016-08-18 

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

2 (edited by GizmoTN 2016-08-18 22:03:10)

Re: Strategy ambiguous bars?

And the mql..

Post's attachments

GENERIC 4H T1.mq4 211.03 kb, file has never been downloaded. 

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

Re: Strategy ambiguous bars?

It is clear that the backtest result is highly overestimated. I'll try to find what is the problem.

http://s4.postimg.org/g4oy4pxix/fsbvseas.jpg

Re: Strategy ambiguous bars?

The problem is in the ambiguous bars. Try the Comparator.

http://s4.postimg.org/tkbyu660p/fsbvseas.jpg

Re: Strategy ambiguous bars?

Thanks for the quick reply!  Knew there was something wrong but had never seen the ambiguous bars impact a strategy so dramatically before.

6 (edited by Irmantas 2016-08-19 09:34:01)

Re: Strategy ambiguous bars?

HI,
I think the problem is with "enter once", it should have bug somewhere. Sometime ago I played with it and found similar unrealistic results, however not reported it here and disregarded this indicator. However not so sure if the problem is with it, but it my guess smile

Re: Strategy ambiguous bars?

"Enter Once" has no trading logic. It is responsible to set a max count of trades per period (ex. bar, as in this case).
FSB can open at maximum two positions per bar - one long and one short. When you use Enter Once, the program opens only the first signal.

..

The problem with the backtest of the above strategy comes from the particular combination of Price Move entry, the SL, and the TP. This causes the "Pessimistic" algorithm to take wrong decision for the entry point and the protection. The algorithm announces an ambiguous bar in such case. 

When the bar starts, the program sees that there are two entry points with corresponding SL and TP for each of them. These are 6 potential trading points. The FSB Pro algorithm tries to compose a "pessimistic" route between the points without looking in the future. This works in 99.9% of the cases, but some times it doesn't. Fortunately, FSB Pro comes with a Comparator and a Monte Carlo tools and reveals such problems easily.

If you think, such complex algorithms are drawback, imagine how MT tester works. It simply draws and follows a jagged zigzag line between the OHLC points and calls that "Tick mode". No ambiguous bars - no problems for the traders.

Re: Strategy ambiguous bars?

Thank you for detailed answer! Now things a lot clearer smile