Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
I am looking for an EA which can open and close trades based on signals of a populat indicator called Bermauli Deviation Percent . https://www.mql5.com/en/market/product/24174?source=Site+Profile
Functionality Requirements
1) The EA should open trades based on 2 x this indicator, one showing the Longer TF and one showing the short TF. (should be selectable based on TF and Pair)
2) So, actually the settings : BD candles, BD upper level and BD lower level should be added two times and should be possible change.
3) When both long and short trend have same direction (red or Green), an order should be opened.
4) Set an (additional) pending Buy / Sell limit with xx pips from current price
5) Te select : Only Buy, Only Sell or both.
6) Set SL with xx pips (on of off)
7) Set TP1 and TP2 (set on or off) with Partial Close and remaining will run with Trailing or when Opposite signal is given
8)Close if lower TF changes color (trend change) selectable On or Off
9) Move SL to BreakEven (adjustable) when xx pips in profit (on or off)
10) Set Trailing with xx pips when xx pips in profit (on or off)
11) If possible, to have simple display in chart to Switch the EA On or Off.
So, when buy is indicated, and for example 0.04 lot is used, 0,02 is closed at TP1, 0.01 is closed at TP2 and remaining at Opposite signal or in case I selected Trailing, it may be closed by trailing first.
Ofcourse, all items needs to be changeable and On/Off depending on pair and TF
See drawing with some actual samples attached.