The EnvMACD H1 Expert Advisor trades by signals of the Envelopes and MACD (Moving Average Convergence/Divergence) indicators.
Trading volume applied for opening positions depends on values of Risk_Money_SL or Risk_Percent_Balans_SL, SL_Points. To set a fixed lot for the first position adjust following parameters: Risk_Money_SL and SL_Points. At that you need to set Risk_Percent_Balans_SL=0.
The EA should be optimized, attached to a chart and allowed to perform automated trading. The EA trades any symbol on H1 only. Number of decimal places is determined automatically.
- Magic Uses 2 - magic number assigned to the first trade.
- Spred Max - maximum spread, the EA trades if the current spread is less than Spred Max;
- Risk Money SL - money you are ready to lose if stop loss triggers. The risk is calculated as a maximum value between Risk_money_SL and Risk_Percent_Balans_SL;
- Risk Percent Balans SL - risk percentage as the deposit balance. The risk is calculated as the maximum value between Risk_money_SL and Risk_Percent_Balans_SL, used to calculate an auto lot. If Risk_Percent_Balans_SL=0, the auto lot is disabled;
- Profit Percent Risk - percentage of desired profit when closing positions calculated from Risk_money_SL or Risk_Percent_Balans_SL;
- EMA Fast Period - Fast EMA period of MACD;
- EMA Slow Period - Slow EMA period of MACD;
- Period MACD SMA - period of smoothing moving average calculated from difference between Slow EMA and Fast EMA;
- Period Env - Envelopes period;
- Deviat Env - Envelopes deviation;
- BE Points - modifies stop loss to breakeven, points;
- TS Points - trailing stop, points;
- SL Points - stop loss in points, ifSL_Points=0, stop loss is set by parameters of Envelopes;
- Env Strategy Rebound - activates rebound trading strategy by Env;
- Env Strategy Breakdown - activates breakdown trading strategy by Env;
- MACD Strategy M trend - activates trend trading strategy by MACD on 5 bars;
- MACD Strategy M reverse - activates reverse trading strategy by MACD on 5 bars;
- Percent noise trend or reverse - noise percentage of trend and reversal signals;
- MACD Strategy M relative 0 - activates Main trading strategy towards "0" by MACD;
- MACD Strategy M relative S - activates Main trading strategy towards "Signal" by MACD;
- Independent Trade - enable and disable the mode of simultaneous independent trading for Buy and Sell. If set to true, simultaneous independent trading for Buy and Sell are performed;
- Close Position Reverse - closes positions regardless profit when a trend change signal appears;
- Trade Opening Prices - enable and disable trading by open prices. If set to false, the EA trades on every tick.
-EnvBB_Strategy_Breakdown = true;
-EnvBB_Strategy_Rebound = true.
2) Added trading sinal function "Trend OR Reverse " if:
-MACD_Strategy_M_trend = true;
-MACD_Strategy_M_reverse = true.
-Added new functions.
See comments to the product.