Extracted algorithm research record
Golden Cross and Dead Cross
Enters long on Golden Cross and short on Dead Cross using moving averages.
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
- Not specified
- Recorded timeframes
- Not specified
- Recorded sessions
- Not specified
- Recorded regime
- trending|null
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| EMA | {"period": 50} | close |
Extracted strategy rules
Recorded long-entry rules
- The value of the previous moving average is higher than the shorter-term moving average.
- The value of the moving average two periods ago is lower than the shorter-term moving average.
- The value of the moving average two periods ago is lower than the value of the previous short-term moving average.
Recorded short-entry rules
- The value of the previous moving average is lower than the shorter-term moving average.
- The value of the moving average two periods ago is higher than the shorter-term moving average.
- The value of the moving average two periods ago is higher than the value of the previous short-term moving average.
Recorded exit rules
- Entry orders are managed only with stop loss orders and take profit limit orders.
Recorded filters
- Not specified in the extracted record.
- Stop loss
- Stoploss value from the mid-term MA
- Take profit
- same distance as stop orders but on the positive side
- Position sizing
- null
Questions about this record
What entry rules are recorded for Golden Cross and Dead Cross?
Long: The value of the previous moving average is higher than the shorter-term moving average. The value of the moving average two periods ago is lower than the shorter-term moving average. The value of the moving average two periods ago is lower than the value of the previous short-term moving average. Short: The value of the previous moving average is lower than the shorter-term moving average. The value of the moving average two periods ago is higher than the shorter-term moving average. The value of the moving average two periods ago is higher than the value of the previous short-term moving average. These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: Not specified. Timeframes: Not specified. These are source-recorded labels, not verified execution behavior.