Skip to content
All library documents

Trend Reversal Entries Using RSI and Recent Price Extremes

Article MQL5 code base

Summary

The document outlines an expert-advisor strategy that looks for a new low during a downtrend alongside an oversold RSI reading to buy, and a new high with corresponding overbought conditions to sell. Users can set the lookback period for trend conditions, a minimum pip range, and a trend-quality threshold. Stops are specified in pips, while targets are set as a multiple of the stop distance. Position size and RSI settings are adjustable; the listed RSI defaults are a 14-period calculation with 40 and 60 thresholds.

The source provides parameter descriptions rather than backtest results or examples. It explicitly cautions that its presets may not be profitable and that optimization inputs are available. No evidence demonstrates profitability, robustness across markets, or the effect of parameter tuning. The strategy’s results would depend on how trend quality and new highs or lows are defined, as well as instrument, timeframe, execution costs, and risk controls.

Key ideas

  • The strategy buys at a new low in a downtrend when RSI is oversold and sells at a new high under corresponding overbought conditions.
  • Lookback length, minimum price range, and trend-quality threshold are configurable.
  • Stops use a pip distance, while profit targets are expressed as a multiple of that distance.
  • Position size and RSI period and thresholds can be adjusted.
  • The document offers no performance evidence and warns that preset parameters may not be profitable.

Tags

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