Skip to content
All library documents

RSI and Moving Average Filters for a Risk-Sized Trading EA

Article MQL5 code base

Summary

This document describes a beginner-oriented Expert Advisor that combines a Simple Moving Average with the Relative Strength Index to generate trades, including for gold. It identifies risk-based position sizing, RSI overbought and oversold thresholds, a moving-average trend filter, and stop-loss and take-profit distances adjusted for symbol price precision as topics demonstrated by the EA. The listed inputs let users set indicator periods, RSI thresholds, account risk, exit distances, and permitted slippage.

The explanation is incomplete: it does not show the actual entry rules, parameter values, or backtest or live-trading evidence. It therefore provides an outline of the implementation concepts rather than enough detail to reproduce or evaluate the strategy. It notes that broker digit conventions affect pip and point calculations, and that calculated lot size depends on account balance and chosen risk. The EA is presented as a learning example, and the document does not establish that its signals are profitable or suitable for any particular market conditions.

Key ideas

  • The EA combines RSI signals with a Simple Moving Average filter.
  • Position sizing is described as a function of account balance and a chosen risk percentage.
  • Stop-loss and take-profit distances account for symbol price precision.
  • The document omits the specific entry rules and provides no performance evidence.

Tags

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