# Charles 2.1.5

A complex MetaTrader 4 expert advisor that uses stop orders on breakouts, hedges losing orders, and manages multiple symbols and orders.

Canonical: https://prismaticalgos.com/compendium/algo/3161-charles-2-1-5
Record ID: 3161
Catalog rank: 508 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/code/10823
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

Signal warnings: VAGUE ENTRY: every entry rule is a placeholder phrase rather than a testable condition (no comparison, threshold or number anywhere). The rules were not actually recovered from the source.
Opacity warnings: UNDEFINED ENTRY TERM: the entry conditions are prose naming a concept with no numeric definition, so two readers would implement them differently. Advisory only -- this does not affect the score.
Build warnings: MT4_ONLY: the captured source is MQL4 / written for MetaTrader 4. It needs porting (order functions, indicator handles) before it runs on MT5.

## Recorded profile

- symbols: EURUSD,EURGBP,EURJPY,CHFJPY,GBPUSD,GBPJPY,GBPCHF,GBPAUD,USDCAD,USDCHF,USDJPY,AUDNZD,AUDUSD,NZDUSD
- timeframes: H1, H4, Daily
- sessions: 24/7
- market_regime: trending|volatile

## Indicators

- RSI: {"period": 18}; applied to: close
- MMA: {"period": 60}; applied to: close

## Recorded long-entry rules

- break-out condition

## Recorded short-entry rules

- break-out condition

## Recorded exit rules

- profit check period of 3 bars
- trailing stop on positive profit
- pivots for take profit adjustment

## Recorded filters

- volatility conditions
- trend conditions
- ECN support
- margin preservation

## Risk controls

- Stop loss: 0 pips
- Take profit: 20 pips offset from pivots
- Position sizing: risk per trade of 10% or fixed lot size of 0.01
