Studies

Strategies

Each study states a published rule and shows that rule in code. The pages are for reading and for checking an implementation. They are not signals, and they do not rank a rule.

The sample is the ECB daily US dollar/euro reference rate from 2 January 2020 to 31 December 2024. Source: ECB statistics. It is one rate a day, not a broker price. Where a script runs, it states that series, the costs it assumes, and that past performance does not predict future results. It does not print a return.

Clear

MQL5 on these pages is illustrative. It was not compiled. Python and C# are run on the ECB file, and their signal digests are required to match.

4 studies

Moving-average crossover

A study of the dual simple-moving-average cross, filled on the next observation. Educational only, not a signal or a forecast.

  • Trend
  • Introductory
  • Python
  • C#
  • MQL5 illustrative
Time frame
Daily
Reviewed
10 November 2026

Donchian channel breakout

A study of a close breaking the highest or lowest rate of a prior window. The sample has no traded high or low. Educational only.

  • Breakout
  • Introductory
  • Python
  • C#
  • MQL5 illustrative
Time frame
Daily
Reviewed
10 November 2026

RSI mean reversion

A study of Welles Wilder's RSI, with his smoothing and a compact 30, 50 and 70 state machine. Educational only, not a signal.

  • Mean reversion
  • Intermediate
  • Python
  • C#
  • MQL5 illustrative
Time frame
Daily
Reviewed
10 November 2026

Bollinger Band mean reversion

A study that arms on a close outside a Bollinger Band and orders only on a later close back inside. Educational only. A tag is not treated as an order.

  • Mean reversion
  • Intermediate
  • Python
  • C#
  • MQL5 illustrative
Time frame
Daily
Reviewed
10 November 2026