Topic: Problem with Bollinger Bands Close

I have a problem with Bollinger Bands close position
The strategy provides for: Bar Closing - The bar close above the upper band.
In fact, the position in the event of gaps (first prices above the upper band - vice versa as well) already closed for the start of trading. see sample graph.
The execution of trades via pure Expert Advisor
What pray tell is wrong here. Can you please help me?

Thank you

Post's attachments

Unbenannt.gif 132.68 kb, file has never been downloaded. 

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

Re: Problem with Bollinger Bands Close

I checked the code and I don't see any obvious problems.

Can you run your expert on the MT tester on that period to see if the problem appears also there?

Can you check your strategy if the closing logic condition is correct?
Are the other long position closes are at Bar Open also?

3 (edited by tho.schu 2015-11-01 12:42:14)

Re: Problem with Bollinger Bands Close

I've found the problem in real terms as well as in test mode. I have the terms varies, but always come to the same result. I have again for clarification creates a test strategy that is based on the chart above. See yourself.

http://s27.postimg.org/irusvto6n/Unbenannt2.jpg
http://s17.postimg.org/42ixf56rv/Unbenannt1.jpg

Post's attachments

test.xml 10.01 kb, 1 downloads since 2015-11-01 

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

Re: Problem with Bollinger Bands Close

supplement

Post's attachments

the target is here.gif 280.57 kb, file has never been downloaded. 

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