Extracted algorithm research record
Linear Regression Candles Trading EA
Trades based on Linear Regression candle color changes with a configurable trigger distance filter.
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 markets
- all currency pairs and metals
- Recorded timeframes
- M1, M2, M3, M5, M15, M30, H1, H4
- Recorded sessions
- Not specified
- Recorded regime
- trending|volatile
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| Linear Regression | {"period": 20} | close |
Extracted strategy rules
Recorded long-entry rules
- Linear Regression candle turns GREEN + price moves above reference by trigger distance
Recorded short-entry rules
- Linear Regression candle turns RED + price moves below reference by trigger distance
Recorded exit rules
- Automatic Position Reversal on opposite signals
Recorded filters
- Spread Filter Protection
- Max Spread 50.0 pips
- Stop loss
- 600 pips
- Take profit
- 0 pips (disabled by default)
- Position sizing
- Fixed LotSize of 0.01
Questions about this record
What entry rules are recorded for Linear Regression Candles Trading EA?
Long: Linear Regression candle turns GREEN + price moves above reference by trigger distance Short: Linear Regression candle turns RED + price moves below reference by trigger distance These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: all currency pairs and metals. Timeframes: M1, M2, M3, M5, M15, M30, H1, H4. These are source-recorded labels, not verified execution behavior.