Forex EnvMACD H1 Robot

The Forex EnvMACD H1 Robot 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_SLSL_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.

Test results:

Forex EnvMACD H1 Robot

  • Parameters:

    • 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 pointsifSL_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.

Free Download

Forex EnvMACD H1 Robot for MetaTrader 4


Copy and paste the file into the MQL4 Experts folder of the Metatrader 4 trading platform.

You can access this folder from the top menu as follows:

File > Open Data Folder > MQL4 > Experts (paste here)

Other forex indicators and strategies

Leave a Comment