Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Goal
Provide an EA where the entries combine different signals based on SuperTrend, TMA Bands and BB (all configurable) – Both for MT4 and MT5
Specifications
- The code should be simple, as most simple better.
- The SuperTrend, TMA and BB indicators should have its own parametrizable function in the code. I request for the indicators itself in a separate indicator file, plus a ‘plain and atomic’ function for each indicator inside the EA. Each function will have the necessary indicator arguments plus a ‘shift’ to get the result with a configurable delay.
- No special requirements about the values used as arguments for the indicators (use the classical values as default, please) Not necessary any specific result of the EA, just that work correctly. I will optimize by myself. Anyway, check the next point.
- The entries of the EA will check the ‘classical rules’ for each indicator. I mean:
- The code will add a ‘buy condition 1’ when the Supertrend indicates buy
- The code will add a ‘buy condition 2’ when the TMA indicates buy
- The code will add a ‘buy condition 3’ when the BB indicates buy
- The same with sell conditions
- The EA will receive as an ‘extern’ variables the activation/deactivation of the 6 resulting conditions for entries (‘enableSuperTrendBuy’, ‘enableSuperTrendSell’…..)
- Add an extra condition to trade in specific hours (between timeA and timeB).
- No timezone control required (will be welcomed, but it’s not required)
- No necessary a complex position handle or position sizing (just set an SL and a TP based on % of the entry price, and a size of 1)
- Any other configurable SL / TP module will be welcomed! But not required.
- Only one concurrent position, no position close/reopen on receiving the opposite signal.
- The EA should paint buy / sell signals (just a green / red arrow when all the conditions have been met and the trade is open)
Deliverables
- For MT4:
- SuperTrend indicator (source code)
- TMA Bands indicator (source code)
- BB indicator (source code)
- EA (source code, single file, with all the previous indicated requirements)
- For MT5:
- SuperTrend indicator (source code)
- TMA Bands indicator (source code)
- BB indicator (source code)
- EA (source code, single file, with all the previous indicated requirements)