Skip to content
All library documents

RSI and Moving Average Signals with Profit-Only Exits

Article MQL5 code base

Summary

This expert advisor combines a moving-average price filter with RSI readings in overbought or oversold territory. It opens trades when the RSI reaches one of those zones and price is on the corresponding side of the moving average. The description says the system has no fixed profit target and instead closes trades when a profit becomes available, aiming to exit as soon as possible.

The author reports tests across unspecified currency pairs and timeframes from 2000 through mid-2018 using tick data, but provides no performance figures or detailed test results. The first version may leave positions open for long periods, especially on higher timeframes. A second version adjusts volume and can use substantial margin, so the author cautions that it may require high leverage to limit drawdown. Low spreads, commissions, and reliable historical data are recommended; the claimed goal of always winning is not substantiated.

Key ideas

  • The strategy combines RSI overbought or oversold signals with price relative to a moving average.
  • It has no fixed target and attempts to close positions when they show a profit.
  • The description reports historical testing but gives no measurable performance results.
  • Trades may remain open for extended periods, particularly on higher timeframes.
  • The volume managing version can consume substantial margin, and results depend on trading costs and data quality.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.