I'm new to programming. I've read most of the posts at least partialy. It seems to me that you may just need a simple change if(Bid <= BoolLow). The Close may not actualy have been less than the band even though the chart shows it. I do not know if = will fit your trading stradagy though.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Go short when bar close higher than the higher bollinger band and go long when the bar close lower than the lower bollinger band.
It sounds simple but I can't make an EA for this what works. Please help me!