Problematic — Ive made a picture about the problematic section.
Thank you very much! — Thanks a lot! I've backtested it manualy and it was interesting, because it's very profitable when the market is not trending (bollinger brands are horizontal or almost horizontal). In the EA maybe it should look like ...
The idea: Go short when bar close higher than the higher bollinger band and go long when the bar ...
Try this — It works for me.