Extracted algorithm research record
Gold Trend Sentinel
A slow, rule-based gold trend follower with a 3 x ATR stop that trails behind the best price.
Source & extraction context
Evidence label: backtest_shown (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
Claim warnings
- THIN SAMPLE: 85 trades - below the ~100 needed before a win rate or profit factor carries much information.
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
- XAUUSD
- Recorded timeframes
- H4
- Recorded sessions
- any
- Recorded regime
- trending
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| UT Bot | {"atr_period": 10, "key": 1.5, "period": 10} | close |
| Supertrend | {"atr_period": 10, "multiplier": 3} | close |
| Daily EMA | {"period": 200} | close |
Extracted strategy rules
Recorded long-entry rules
- close above UT Bot line on this and previous bar
- last completed daily close above EMA(200)
- Supertrend(10, 3) on (H+L)/2 is up
- close above UT Bot line on this bar
Recorded short-entry rules
- close below UT Bot line on this and previous bar
- last completed daily close below EMA(200)
- Supertrend(10, 3) on (H+L)/2 is down
- close below UT Bot line on this bar
Recorded exit rules
- opposite signal closes the trade and opens the other side at the same open
Recorded filters
- news filter
- max spread 7 pips
- Stop loss
- 3 x ATR(14) away, which then trails 3 x ATR behind the best price since entry, tightened once per H4 bar and never loosened
- Take profit
- no target
- Position sizing
- fixed 0.01 lot, or the broker's minimum when that is larger
Questions about this record
What entry rules are recorded for Gold Trend Sentinel?
Long: close above UT Bot line on this and previous bar last completed daily close above EMA(200) Supertrend(10, 3) on (H+L)/2 is up close above UT Bot line on this bar Short: close below UT Bot line on this and previous bar last completed daily close below EMA(200) Supertrend(10, 3) on (H+L)/2 is down close below UT Bot line on this bar These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD. Timeframes: H4. These are source-recorded labels, not verified execution behavior.