Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Developer should work on the project and should be versant with English language.
Need a simple EA which works on Bollinger Bands.
Time Frame = The chart the EA is loaded on
Period and Deviation of the Bollinger band should be configurable.
Number of Bollinger bands used are 2.
For reference calling them as BB1 & BB2. BB1 and BB2 and different Period and different Deviation.
Rule1 are:
Buy when price touches or is greater than lower outer band of BB2. TP when price touches higher outer band of BB1. if order is in profit.
Sell when price touches or is lower than higher outer band of BB2. TP when price touches lower outer band of BB1. if order is in profit.
Note:
1) if Period and Deviation for both the bands are kept same then the EA should still work.
2) Maximum of One buy and one Sell can be opened. One of the order need to be closed before the next buy and sell is opened.
4) TP can only trigger if price touches the band or is above the band and is in profit.
5) BB default setting but configurable, Period = 20, Deviation = 2.
Order type: Market based. (and not Limit or stop based (Means its not a pending order).
If Buy order: EA touches outer band of BB1 and order still not in profit, Sell is still opened (if criteria is met). Note Buy and sell are independent. Now, if Sell gets into profit and there is another sell opportunity, i.e. EA touches higher outer band of BB2, the Sell orders continue.
If Sell order: EA touches outer band of BB1 and order still not in profit, Buy is still opened (if criteria is met). Note Buy and sell are independent. Now, if Buy gets into profit and there is another buy opportunity, i.e. EA touches higher outer band, the Buy orders continues.
If Both Buy and Sell orders are not in profit (Reverse Hedge is formed). and price will be below Buy and above sell.
If Both Buy and Sell orders are open and one is manually close, EA continues the logic i.e. continues to take relevant trades as per logic.
If both orders are Closed manually, the EA starts all over again. i.e. continues the logic from the beginning.