Skip to content
All library documents

A Forex Expert Advisor That Trades Relative Currency Strength

Article MQL5 code base

Summary

This document describes a Forex expert advisor that compares the strength of eight major currencies, identifies stronger and weaker currencies, and trades major currency pairs using moving averages. It outlines three ways the strength measure can be calculated: using the prior candle, looking back across several candles in a rate-of-change-like manner, or using RSI. The system can operate across time frames and includes stop-loss, take-profit, trailing, break-even, equity-risk, and maximum-trade settings.

The listed parameters allow fixed or money-based exits and include an option to increase position size after losses, as well as controls for trade count and drawdown. These settings describe available behavior rather than demonstrate effectiveness. The document provides no test results, entry or strength-ranking formulas, or evidence about execution costs and robustness. It advises trying the system on a demo account, and its loss-based size increase can magnify exposure during losing sequences.

Key ideas

  • The advisor ranks eight major currencies by strength and trades major Forex pairs with moving averages.
  • Its three strength variants use one prior candle, multiple candles, or RSI.
  • Risk controls include stop losses, take profits, trailing exits, equity limits, and a maximum trade count.
  • An option increases position size after losses, which can compound exposure during drawdowns.
  • The document reports no performance evidence or full specification of the ranking method.

Tags

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