I want a MT5 EA working on Bollinger Bands with the following parameters:
1. The Ea must open a trade when the price crosses the Bollinger band from outside. Buy from below, sell from above. I want to be able to choose every time frame from 1 minute to 1 day.
2. I want to be able to choose how many candles should form outside the Bollinger bands before open the trade (from 0 to n) . Examples: if I select 0 the EA must not wairt outside candles before to aopen a trade. If I select 2 there must be at least 2 outside candles before to open the trade. 3 at least 3 outside candles before open the trade. The outside candles must be completely outside, they mast never touch the band.
3. I want to be able to choose every parameter of the Bollinger bands: Period, Shift, Deviation, Apply to Close.....
4. I want to be able to choose the width of Bollinger Bands in points. The function can be OFF or ON (if ON I choose the width).
5. Take Profit distance in points from an entry point to the level of fixing a profit. If I set a zero value, the level of fixing a profit will not be set.
6. Stop Loss distance in points from an entry point to the protection level. If I set a zero value, the protection level will not be set.
7. Trailing Stop step in points used for modification of the protection level in the profitable direction. The level is calculated using maximums (High) for Sell positions and minimums (Low) for Buy positions. If I set a zero value, modification of the protection level will not be performed.
8. Break Even Stop Loss - distance in points the price should go before Stop Loss is moved to breakeven. Zero value disables this function.
9. Lot position volume from 0,01 to 10.
10. Time of trading: It must be possible to select the time when the Ea will work: example from 00.00 to 24.00 or from nn.00 to nn.00