Extracted algorithm research record
Semi-HFT Grid Bot
A two-sided martingale grid system with seed, bump, and martingale phases, and basket take profit.
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
Claim warnings
- UNBOUNDED LOSS RISK: position sizing recovers losses by adding or multiplying size, and no stop loss is specified. The losing tail of such a system is limited only by account equity.
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, NAS100, US100, USTEC-style index CFDs
- Recorded timeframes
- Any (tick-driven)
- Recorded sessions
- Not specified
- Recorded regime
- any
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| No indicator stack was recorded. This does not establish a price-action-only strategy. | ||
Extracted strategy rules
Recorded long-entry rules
- Not specified in the extracted record.
Recorded short-entry rules
- Not specified in the extracted record.
Recorded exit rules
- Basket management: If total floating profit + swap + commission reaches BasketTP_USD, close all positions and cancel pending orders. If BasketSL_USD is set, close all positions on the loss side as an emergency stop.
Recorded filters
- BasketSL_USD emergency stop
- Stop loss
- null
- Take profit
- null
- Position sizing
- Lot sizes double as the grid extends against an open side. Default lot = RecoveryBumpLot × MartingaleMultiplier^(level−2).
Questions about this record
What entry rules are recorded for Semi-HFT Grid Bot?
Long: Not specified. Short: Not specified. These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD, NAS100, US100, USTEC-style index CFDs. Timeframes: Any (tick-driven). These are source-recorded labels, not verified execution behavior.