# Expert_RSI_Stochastic_MA

A strategy that uses RSI, Stochastic, and MA for entry and exit based on overbought/oversold levels and trailing stop.

Canonical: https://prismaticalgos.com/compendium/algo/3188-expert-rsi-stochastic-ma
Record ID: 3188
Catalog rank: 1153 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/code/13960
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

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: any
- timeframes: any
- sessions: any
- market_regime: any

## Indicators

- MA: {"period": 150}; applied to: close
- RSI: {"period": 3}; applied to: close
- Stochastic: {"d_period": 3, "k_period": 6, "smoothing_k": 3}; applied to: close

## Recorded long-entry rules

- Bid > MA
- RSI < 20 and Stochastic < 30

## Recorded short-entry rules

- Ask < MA
- RSI > 80 and Stochastic > 70

## Recorded exit rules

- Stochastic > 70 and OpenPrice <= Bid (if trailing stop = 0)
- Stochastic < 30 and OpenPrice >= Ask (if trailing stop = 0)
- Stochastic > 30 and OpenPrice - Bid >= allow Loss (if trailing stop > 0)
- Stochastic < 70 and Ask - OpenPrice >= allow Loss (if trailing stop > 0)

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: Trailing Stop = 0: close the position once the Stochastic reaches the opposite level, if the deal is in green in points. Trailing Stop > 0: trail the Stop Loss every time a new candlestick is opened on a specified distance from the price.
- Take profit: Exit in the green in points.
- Position sizing: Not specified
