Extracted algorithm research record
Pirate
Automated trading EA using RSI and Moving Average for trade signals with risk management and time-based trading.
Source & extraction context
Evidence label: source_code (source claim, not independent verification). Recorded completeness: 80.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 timeframes
- Not specified
- Recorded sessions
- Not specified
- Recorded regime
- any
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| RSI | {"period": 14} | close |
| RSI | {"period": 1} | close |
| Moving Average | {"period": 8} | median |
Extracted strategy rules
Recorded long-entry rules
- RSI (14-period) < 30 and RSI (1-period) < 36.
- Price above Moving Average (8-period, Median Price)
Recorded short-entry rules
- RSI (14-period) > 70 and RSI (1-period) > 64.
- Price below Moving Average (8-period, Median Price)
Recorded exit rules
- Take Profit: Closes at TakeProfit pips.
- Stop Loss: Triggers at StopLoss pips.
- Time-Based Close: Closes trades that exceed predefined idle times.
Recorded filters
- Spread Protection: Avoids trades if spread exceeds MaxSpreadOpen pips
- Stop loss
- Stop Loss in pips.
- Take profit
- Take Profit in pips.
- Position sizing
- Adjusts lot size based on account balance and risk percentage.
Questions about this record
What entry rules are recorded for Pirate?
Long: RSI (14-period) < 30 and RSI (1-period) < 36. Price above Moving Average (8-period, Median Price) Short: RSI (14-period) > 70 and RSI (1-period) > 64. Price below Moving Average (8-period, Median Price) These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: CHFJPY, EURCHF, EURAUD, USDCHF, USDCAD. Timeframes: Not specified. These are source-recorded labels, not verified execution behavior.