Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | FullDump

Idea by: Yuri.

MQL5 code by: Vladimir Karputov.

Operation algorithm

Searching for a signal within the interval from bar "0" to Depth of search.

Buying:

  1. RSI must be below 30;
  2. The price must reach the lowest Bollinger Band;
  3. Then wait until the candlestick moves to above the middle Bollinger Band;
  4. Stop Loss is placed below the last local Low. Take Profit is placed above the upper Bollinger Band;
  5. As soon as the upper line is reached, the stop must be moved to the breakeven point.

Sell:

  1. RSI must be above 70;
  2. The price must reach the upper Bollinger Band;
  3. Then wait until the candlestick moves to below the middle Bollinger Band;
  4. Stop Loss is placed above the last local High. Take Profit is placed below the lower Bollinger Band;
  5. As soon as the lower line is reached, the stop must be moved to the breakeven point.

Inputs

  • Lots - position volume.
  • Bands - Bands: Averaging period;
  • RSI - RSI: Averaging period;
  • Indent from High and Low - indent from High and Low when placing Stop Loss and Take Profit;
  • Depth of search - number of bars, among which the signal is searched for;
  • magic number - unique identifier for the EA.

Upon optimization (attention: Non-optimized parameters are in the code; you have to search for the necessary values independently) on EURUSD,H1:

MetaTrader Experts, Indicators, Scripts and Libraries

21032

Best MetaTrader Indicators + Profitable Expert Advisors