Divergent
The Divergent (version for metaTrader 5) Expert Advisor analyzes the divergence if peaks of the MACD indicator and peaks of the chart to find market entries. The EA enters the market on the reversal of the main movement. It opens market orders at the open of a candlestick after a pattern has been formed.
Features
- Can operate on any instruments and timeframes
- Calculation of risk per trade for any account currencies and instruments.
- 8 position management modes
- Flexible adjustment of the operation hours
Parameters
Operation hours
- Single hour mode - the EA only works during one fixed hour. Created for the EA optimization and analysis of separate results of each hour. For optimization, set it from 0 to 23 with a step of 1
- Hour range mode - operation during a specified time range. The start hour is always less than the end hour
- Custom hours mode - operation during specified hours from a list. For each hour, you can individually set the key parameter Min Distance. The format of the parameter string: 5/7;6/8;11/10;12/9, where work hour/Min Distance;work hour/Min Distance
The Trade Logic
- Fast ЕМА - the period of the fast Moving Average of the MACD indicator
- Slow EMA - the period of the slow Moving Average of the MACD indicator
- Type price MACD
- Min time between macd peaks - the minimal distance between peaks of the MACD histogram in a pattern (see screenshots)
- Max time between macd peaks - the maximum time for the entire pattern to be formed
- Min distance between chart peaks - the minimal distance between peaks on the chart (see screenshots)
- Slippage - allowed slippage when opening a trade
- Spread filter - Maximum allowed spread value when opening a trade. If the spread is greater, the trade is not opened
Money Management and Position Management
- Risk per trade - risk calculated depending on the specified StopLoss. If 0, the fixed lot value Volume is used
- Volume - total position volume. To be ignored if the value of Risk per trade is specified
- TakeProfit1 - Take Profit of the first part of the position. The position is split into 2 equal parts. Rounding is in favor of the first part
- TakeProfit2 - Take Profit of the second part of the position
- StopLoss - the common Stop Loss of a position
- Trailing Stop - Trailing Stop value. The trailing stop is implemented the same way as in the terminal
- Breakeven level - the distance in points, reaching which the stop level is to be moved to breakeven
Position management modes
- 0 - 1 part with TP1, Trailing - No, Breakeven - No
- 1 - 1 part with TP1, Trailing - Yes
- 2 - 1 part with TP1, Breakeven - Yes
- 3 - 1 part with TP1, Trailing - Yes, Breakeven - Yes
- 4 - 2 parts, BreakEven - No, Trailing - No
- 5 - 2 parts, Breakeven - Yes for 2 parts
- 6 - 2 parts, Trailing - Yes for 2 parts
- 7 - 2 parts, Trailing for second part after first TP
Other parameters
- Joint use - Joint use. If true, trades are opened by the EA regardless of whether there are more open positions. If false, trades are opened by the EA only when there are no other open positions
- Trace trades - Trace trades on the chart
- Magic for orders - unique IDs of the orders opened by the Expert Advisor
联系方式
公司:顺水的鱼外汇EA
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com

