Extracted algorithm research record
Expert_RSI_Stochastic_MA
A strategy that uses RSI, Stochastic, and MA for entry and exit based on overbought/oversold levels and trailing stop.
Source & extraction context
Evidence label: source_code (source claim, not independent verification). Recorded completeness: 50.0/100. Neither is a performance result.
Names identify source records. Inclusion is not an endorsement or a claim of authorship, ownership or reuse permission. Check the source license before reusing any implementation.
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 market & execution profile
- Recorded markets
- any
- Recorded timeframes
- any
- Recorded sessions
- any
- Recorded regime
- any
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| MA | {"period": 150} | close |
| RSI | {"period": 3} | close |
| Stochastic | {"d_period": 3, "k_period": 6, "smoothing_k": 3} | close |
Extracted strategy rules
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 in the extracted record.
- 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
Questions about this record
What entry rules are recorded for Expert_RSI_Stochastic_MA?
Long: Bid > MA RSI < 20 and Stochastic < 30 Short: Ask < MA RSI > 80 and Stochastic > 70 These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: any. Timeframes: any. These are source-recorded labels, not verified execution behavior.