Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Elaboration of MQL5 EA using keltner channel breakthrough of upper and lower bands. Code must be provided.
- The buy or sell order must be sent when there is confirmation of the channel breaking through the closing of the candle.
If the "anticipation" parameter is used, if the candle is closing and there are xx seconds to open the next candle, the operation must be started.
- martingale orders must be plotted when entering position
- After TP or SL, pending orders must be removed (For safety, you can every candle opening, check if there is a pending order and there is no open position. All pending order must be closed)
- Only open one position per trade.
- If there is an opposite sign, do not execute and do not leave the current position.
### Execution ###
Lot Size
TP in points // must be recalculated at each martingale execute. must always be the distance from the average price
SL in points
Loss max daily // 0 for not use
Gain max daily // 0 for not use
Operating costs // $$$$ deduct by each lot in balance
#### Delay time ####
Anticipation in seconds // 0 for not use
#### Trailing Stop #####
start tailing in points // 0 for not use // number of points for execution
Steps in points
#### BreakEven #####
Points // 0 for not use // number of points for execution
entry points // must always be the distance from the average price
#### Keltner Channel ###
MA Period
Range Period
Range Multiplier
#### Martingale ###
# Position one
Trade Size lots // 0 for not use
points
# Position two
Trade Size lots // 0 for not use
points
# Position three
Trade Size lots // 0 for not use
points