Penerangan
One bot, five stock indices. It buys short, sharp pullbacks in long-term uptrends with equal risk per index. Daily timeframe, long only, a hard stop on every trade. No martingale, no grid, no averaging down.
What it does
IndexDip trades a well-known and widely published idea: in a long-term uptrend, a stock index that has just had a sharp short-term drop tends to bounce back within days.
- Trend filter: the index must close above its 200-day moving average.
- Entry: 2-period RSI closes below 10, which means a short, sharp pullback. The bot buys at the next daily open.
- Exit: the first daily close above the 6-day moving average. The usual holding time is a few days.
- Stop loss: every position is placed with a broker-side stop 3 ร ATR(14, daily) below entry.
- Position size: each index gets the same risk budget. Position size = target volatility รท the index's own volatility, so a calm index gets a larger position and a volatile one a smaller position. Total exposure is capped.
One bot, a whole portfolio of indices
Most bots trade one symbol. IndexDip runs a portfolio of 5 stock indices from one instance: US500, US30, GER40, UK100 and JP225, with NAS100 optional. That covers the USA, Europe, the UK and Japan.
- Each index is traded separately. Each index has its own signal, its own stop and its own position, at most one per index.
- Equal risk per index. Size is set from each index's own volatility, so a quiet UK100 position and a fast JP225 position carry about the same risk.
- Shared risk control. A total exposure cap applies to the whole portfolio.
- Simple setup. Attach the bot to any chart and any timeframe. It loads the daily bars of all indices itself and detects broker symbol names automatically.
Why this matters: pullbacks on different indices happen at different times, and they do not all work out. In the 2024โ2026 backtest, trades were spread almost evenly: 18โ23 per index. The monthly results of different indices were only weakly related: correlation from โ0.34 to 0.61. Single indices had 1 to 7 losing months each, and the portfolio had 6 of 24. UK100 finished slightly negative, but the other four more than covered it. With one index, that would have been the whole result.
Result by index, backtest 2024โ2026:
- US500: 22 trades, 95 % winning, +$998
- JP225: 18 trades, 72 % winning, +$565
- US30: 23 trades, 65 % winning, +$373
- GER40: 22 trades, 64 % winning, +$178
- UK100: 20 trades, 80 % winning, โ$76
- Portfolio: 105 trades, 75 % winning, +$2,038 (before swaps)
Why it is different from most bots in the Store
- Losing trades. A typical "high-return" bot hides them with martingale, grid or averaging down until one bad day wipes the account. IndexDip: every trade has a hard stop at the broker from the first second, and position size never increases after a loss.
- Backtest. Typical: months of data optimised to the best parameter set, "PF 50" or "50% a month". IndexDip: classic published rules with default parameters, checked on almost 11 years of broker data, losing years included.
- Timeframe. Typical: M1โM15, so results depend on spread, slippage, latency and VPS. IndexDip: daily, one decision per index per day, insensitive to a few seconds of latency or a few points of slippage.
- Instruments. Typical: one symbol; if it stops behaving, so does the bot. IndexDip: a portfolio of five indices (USA, Europe, UK, Japan) in one instance, equal risk per index.
- Risk control. Typical: fixed lot or % per trade, regardless of market conditions. IndexDip: volatility-based sizing plus a total exposure cap.
- Transparency. Typical: a black box. IndexDip: the log explains every decision: signal values, size, stop, and why an entry was skipped.
IndexDip is not designed to double your account. It is designed for steady, explainable returns with a known worst case, so it works well as a component of a portfolio. It buys when markets sell off, which tends to complement trend-following and breakout systems.
Backtest โ cTrader, FxPro data, default settings
Trading involves risk. Past performance does not guarantee future results.
- Period: 16 Nov 2024 โ 16 Nov 2026 (2 years, including the April 2025 tariff sell-off and the March 2026 correction)
- Account: $10,000, all 5 default indices
- Costs: spread and overnight swaps as charged by the broker in the cTrader backtester
- Net profit: +19.6 % ($10,000 โ $11,959)
- Annual return: 9.4 %
- Max equity drawdown: โ8.1 %
- Max balance drawdown: โ5.6 %
- Profit factor: 1.98
- Trades: 105 (79 winning, 75 %)
- Average holding time: 4.9 days
- Stop losses hit: 10 of 105
- Max consecutive losses: 4
- Losing months: 6 of 24
- Worst month: โ3.8 % (March 2026)
Monthly returns, %:
- 2024: Dec โ2.7 (from 16 Nov)
- 2025: Jan +2.3, Feb โ1.1, Mar +0.5, Apr โ1.9, May +0.4, Jun โ0.1, Jul 0.0, Aug +2.4, Sep +1.0, Oct +2.6, Nov +1.1, Dec +1.8
- 2026: Jan +2.6, Feb +2.4, Mar โ3.8, Apr +0.9, May +0.5, Jun +3.4, Jul +1.8, Aug +0.4, Sep +1.9, Oct โ0.9, Nov +2.3 (to 16 Nov)
Long-term check. The same settings were backtested from January 2016: +55.9 % over 10.9 years (4.2 % a year) with a maximum equity drawdown of โ16.7 %. The last two years were better than average for this strategy. Plan for the long-term figures, not the recent ones.
What to expect, honestly
- Losses come in clusters. When markets fall together, 2โ4 indices can hit their stops within one or two days. That happened in February 2018, August 2019, early 2020 and January 2022. These clusters account for most of the drawdown.
- Flat periods can be long. In the long-term test, equity did not make a new high from February 2018 until mid-2021.
- Past results do not guarantee future results. This is a long-only index strategy, so it cannot profit from a falling market. The trend filter keeps it mostly out of prolonged bear markets.
Settings
Instruments
- Indices (default US500;US30;GER40;UK100;JP225): index keys. NAS100 can be added.
- Exact symbol names (default empty): use only if your broker's names are not detected automatically, e.g. US500=SPX500.cash
Position size
- Target volatility per index (default 10 % a year): risk budget per index.
- Risk multiplier (default 0.6): scales all positions. 1.0 means more return and deeper drawdowns (backtest 2016โ2026: +76 %, โ22 %). 0.3 is a quieter setting.
- Max total notional (default 3x equity): upper limit for all open positions together.
- Use minimum lot when calculated size is smaller (default off): small-account mode. On means the minimum lot is used if its notional is below the limit.
Risk
- Stop loss (default 3 ร ATR(14) D1): broker-side stop; 0 turns it off (not recommended).
- Stress filter (default Off): optional; no new entries while US500 10-day volatility is above its 63-day volatility.
- Halve new positions when equity < its 100-day average (default off): optional drawdown brake.
Signal
- Trend SMA / RSI period / Entry RSI / Exit SMA (default 200 / 2 / 10 / 6): classic values; changing them is not required.
Requirements
- A cTrader broker with index CFDs: US500, US30, GER40, UK100, JP225. Symbol names are detected automatically for most brokers. If a symbol is not found, the log tells you which name to enter.
- At least ~310 daily bars of history per index. The bot loads more history automatically if available.
- Recommended deposit: $3,000+ (or the equivalent in another account currency). With less, the calculated size for some indices can be below the broker's minimum lot, and those entries are skipped and logged. Small-account mode can be used instead, at higher risk.
- The bot acts once a day, at the daily open. A VPS is convenient but not critical. If the bot is offline, the stops stay at the broker; exits and entries resume when it is running again.
- Access rights: none. The bot uses no internet access and no external data.
FAQ
Why not more? The default risk multiplier of 0.6 is chosen for a moderate drawdown: 9.4 % a year in 2024โ2026, 4.2 % a year over 2016โ2026. Return and drawdown scale together. Raising the multiplier to 1.0 gave +76 % with a โ22 % drawdown over 2016โ2026. The bot is meant to be a stable component, not a lottery ticket.
Can I optimise it? You can, but the defaults are the classic published values. Optimisation on a few years of data easily finds settings with a beautiful curve that do not hold up on other years. We tested this: the smooth optimiser results for 2017โ2023 were worse than the defaults on 2000โ2017 and 2023โ2026.
Does it trade short? No. Short dip-buying on indices does not have the same long-term tailwind.
Can I run it with other bots on the same account? Yes. It only manages positions with its own label (default "IndexDip").
Disclaimer: Trading involves risk. Past performance does not guarantee future results.
