• Overview
  • Reviews (3)
  • Comments (17)
  • What's new

Investment WPR

This Expert Advisor consists of a strategy running on 4 timeframes M15, M30, H1, H4. The EA opens separate buy and sell orders on these timeframes. Separate settings are available for each timeframe, as well as for buy and sell orders. The EA uses standard MT4 indicators Bolinger Band, CCI, WRP. During backtesting the EA passed through all market conditions over the past 13 years. It can be configured to trade any currency pairs.

The EA contains the News Stop Trading system, which suspends trading during the news releases.

To enable News Stop Trading, tick “Allow WebRequest” option and add "http://www.dailyfx.com" to the list of URLs for WebRequest. To do this, open Tools > Options > Expert Advisors. Check the option "Allow WebRequests for listed URL:", add "http://www.dailyfx.com" and click OK.

Real operation monitoring as well as my other products can be found here: https://www.mql5.com/en/users/keasotik/seller


Custom Settings

  • Configured pairs: EURUSD, GBPUSD, USDJPY, USDCAD, AUDUSD;
  • Run on the M15 TF (it will automatically determine a higher timeframe).

Description

  • maxspread - maximum allowed spread;
  • UseFIFOClose - trade in compliance with FIFO;
  • panel show - display the panel of total balance for today, yesterday, the day before yesterday;
  • hour trade friday - disable trading on Friday at the specified time;
  • end hour trade friday - time to stop opening orders on Friday;
  • close order friday - close open orders on Friday after the specified time;
  • hour close order friday - time to close open orders on Friday;
  • Lots - fixed lot; if 0, activates Percent;
  • Percent - percentage of free margin;
  • InpNewsFilterEnabled - enable the News Stop Trading system;
  • InpNewsLevel - importance of the news to stop trading;
  • InpNewsMinutesBefore - the number of minutes before the news release to stop trading;
  • InpNewsMinutesAfter - the number of minutes after the news release to resume trading;
  • InpNewsTimezoneShiftTest - time zone offset for the testing mode;
  • InpNewsTimezoneShiftLive - time zone offset for the live trading mode;
  • InpNewsDoClose - close orders before the news release;
  • InpNewsDoCloseAllMinutesBefore - the number of minutes before the news release to close orders;
  • InpNewsMainColor - color of the chart messages;
  • InpNewsUpdateEachMins - news update time in minutes;
  • InpNewsShowInfo - display messages on the chart;
  • InpNewsManualUpdateMonths - the number of months to perform a manual news update (chart button);
  • OpenOrdersLimit - choose the number of opened orders at the same time;
  • Trailing - enable the trailing stop mode;
  • TrailingStop - profit in points to activate the trailing stop;
  • TrailingGap - step for moving the trailing stop;
  • breakeven - enable/disable breakeven;
  • breakeven distance - the number of points to activate the breakeven;
  • breakeven pips - the number of points to place the breakeven;
  • sl_m15 - stop loss for strategies running on M15;
  • tp_m15 - take profit for strategies running on M15;
  • sl_m30 - stop loss for strategies running on M30;
  • tp_m30 - take profit for strategies running on M30;
  • sl_H1 - stop loss for strategies running on H1;
  • tp_H1 - take profit for strategies running on H1;
  • sl_H4 - stop loss for strategies running on H4;
  • tp_H4 - take profit for strategies running on H4;
  • magicm15 - magic number for orders on M15, magicm15+1 - M30, magicm15+2 - Н1, magicm15+3 - Н4;
  • comment - comment to open orders;
  • lot - fixed lot;
  • m15sell - enable/disable sell orders on the M15 timeframe, true/false;
  • bbm15sell - Bollinger Band period on М15 for sell orders;
  • bbdm15sell - Deviations of Bollinger Band on М15 for sell orders;
  • maccim15sell - CCI Period on М15 for sell orders;
  • ccim15sell - value of CCI on М15 for sell orders;
  • mawprm15sell - WPR period on М15 for sell orders;
  • wprm15sell - value of WPR on М15 for sell orders;
  • m15buy - enable/disable buy orders on the M15 timeframe, true/false;
  • bbm15buy - Bollinger Band period on М15 for buy orders;
  • bbdm15buy - Deviations of Bollinger Band on М15 for buy orders;
  • maccim15buy - CCI Period on М15 for buy orders;
  • ccim15buy - value of CCI on М15 for buy orders;
  • fastemam15buy - Fast Ema Period of OsMA on М15 for buy orders;
  • mawprm15buy - WPR period on М15 for buy orders;
  • wprm15buy - WPR value on М15 for buy orders;
  • NumberOfTry - the number of attempts to close, open and modify orders;
  • check - set SL and TP together with the order, or after it had been opened (for ECN accounts);
  • ECN - set SL and TP together with the order, or after it had been opened (for ECN accounts);
  • slippage - slippage size.

Other settings are similar to the above ones and apply to M30, H1, H4, for buy and sell orders. For optimization disable appropriate values of timeframes and buy and sell orders.

Default settings are for the EURUSD pair, other set files are available in comments.

Backtest and Analysis:

  • Backtest with 99% quality over 13 years;
  • Reliable trading on EURUSD, GBPUSD, USDJPY, USDCAD, AUDUSD.
Ytalo Felipe Dos Santos Nascimento
228
2017.05.19 02:45 
 

Awesome EA! The developer also is helpful! Thank you so much

Vyacheslav Korolev
13139
2017.05.05 14:24 
 

User didn't leave any comment to the rating

bazan
70
2017.03.29 21:16 
 

User didn't leave any comment to the rating

Version 1.3 - 2017.03.28
Added:
closing orders by FIFO rule
The EA contains the News Stop Trading system, which suspends trading during the news releases.
Trailing: enable the trailing stop mode
TrailingStop: profit in points to activate the trailing stop
TrailingGap: step for moving the trailing stop
breakeven: enable/disable breakeven
breakeven distance: the number of points to activate the breakeven
breakeven pips: the number of points to place the breakeven
Version 1.2 - 2017.01.19
Version 1.2 - 2017.15.01
Added:
information panel that displays Balance, profit today, profit yesterday, profit the day before yesterday
disable opening orders on Friday after the specified time
close open orders on Friday after the specified time
select fixed lot or percentage of free margin
Version 1.1 - 2016.12.26
Version 1.1 - 2016.22.12
Added:
NumberOfTry - the number of attempts to close, open and modify orders.
check - set SL and TP together with the order, or after it had been opened (for ECN accounts).
slippage - slippage size.

Small optimization of the code, error handling by the EA, check for correctness of the sl and tp values and other changes.