Extracted algorithm research record
Trend is your friend - cBot
A trend-following strategy that uses grid and pyramid trading with multiple entry modes and protection mechanisms.
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
- RECOVERY SIZING: position size increases after losses (martingale/grid/averaging). Equity curves look smooth until the run that does not recover - judge it on worst-case exposure, not win rate.
Recorded market & execution profile
- Recorded timeframes
- H4, M15
- Recorded sessions
- none specified
- Recorded regime
- trending
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| MA | {"period": 21} | highs and lows |
| MA | {"period": 50} | highs and lows |
| RSI | {"period": 14} | Not specified |
| MACD | {"fast_period": 12, "signal_period": 9, "slow_period": 26} | Not specified |
| Stochastic | {"d_period": 3, "k_period": 5, "smoothing_d": 3, "smoothing_k": 3} | Not specified |
| Pivot | {"pivot_type": "daily"} | Not specified |
| ATR | {"period": 14} | Not specified |
Extracted strategy rules
Recorded long-entry rules
- price pulls back to the edge of the fast band
- MA: price pulls back to the edge of the fast or slow band, within the distance you allow
- MA_CROSS: the fast band has just fully crossed the slow band
- PIVOT: price reaches the daily pivot level
- RSI: RSI has stayed beyond your level for two closed candles
- MACD: MACD crosses its signal line on a closed candle
- STOCHASTIC: %K crosses %D inside the oversold or overbought zone
- SAME_CANDLE_SERIE: N closed candles of the same colour in a row, while a trend is active
- TIME: one entry per day at a set hour and minute, in the direction of the trend
- MANUAL: you click, the robot does everything else
Recorded short-entry rules
- price pulls back to the edge of the fast band
- MA: price pulls back to the edge of the fast or slow band, within the distance you allow
- MA_CROSS: the fast band has just fully crossed the slow band
- PIVOT: price reaches the daily pivot level
- RSI: RSI has stayed beyond your level for two closed candles
- MACD: MACD crosses its signal line on a closed candle
- STOCHASTIC: %K crosses %D inside the oversold or overbought zone
- SAME_CANDLE_SERIE: N closed candles of the same colour in a row, while a trend is active
- TIME: one entry per day at a set hour and minute, in the direction of the trend
- MANUAL: you click, the robot does everything else
Recorded exit rules
- when the basket's total net profit hits your target
- when enough positions are in profit
- when price reaches a level you chose
Recorded filters
- ATR volatility
- MA distance
- multi-timeframe confirmation
- trading hours
- trend direction locks
- Stop loss
- Basket stop loss in account currency, per direction or global
- Take profit
- USD / PERCENT / USD_OR_PERCENT, per direction or global, profit target, % of positions in profit, when the % rule takes over, global TP price levels
- Position sizing
- first lot or balance-based sizing. Grid and pyramid each use SAME_AS_ORDER / STEP / MARTINGALE / FIX_LOT
Questions about this record
What entry rules are recorded for Trend is your friend - cBot?
Long: price pulls back to the edge of the fast band MA: price pulls back to the edge of the fast or slow band, within the distance you allow MA_CROSS: the fast band has just fully crossed the slow band PIVOT: price reaches the daily pivot level RSI: RSI has stayed beyond your level for two closed candles MACD: MACD crosses its signal line on a closed candle STOCHASTIC: %K crosses %D inside the oversold or overbought zone SAME_CANDLE_SERIE: N closed candles of the same colour in a row, while a trend is active TIME: one entry per day at a set hour and minute, in the direction of the trend MANUAL: you click, the robot does everything else Short: price pulls back to the edge of the fast band MA: price pulls back to the edge of the fast or slow band, within the distance you allow MA_CROSS: the fast band has just fully crossed the slow band PIVOT: price reaches the daily pivot level RSI: RSI has stayed beyond your level for two closed candles MACD: MACD crosses its signal line on a closed candle STOCHASTIC: %K crosses %D inside the oversold or overbought zone SAME_CANDLE_SERIE: N closed candles of the same colour in a row, while a trend is active TIME: one entry per day at a set hour and minute, in the direction of the trend MANUAL: you click, the robot does everything else These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: AUDCAD, XAUUSD. Timeframes: H4, M15. These are source-recorded labels, not verified execution behavior.