Runs in your browser

Lab

Pick a strategy, tune it, and compare it with HODL and monthly DCA over the same period, with the same costs. The backtest runs in your browser.

Invested when the short moving average is above the long one, in cash otherwise. Strategy page

Parameters
Filters

An extra condition, taken from another strategy. A filter can prevent buying, never selling.

Period and capital
Costs per order

Also applied to HODL and DCA.

Loading the lab… If this message stays, reload the page or open it at http://localhost:3000/en/labo/.

What will be tested on the next run
  • If the 20-day moving average is above the 100-day moving average, target 100% of the portfolio in BTC.
  • Otherwise, hold everything in cash.
Loading the lab…
Show the rules as JSON
{
  "id": "ma-cross",
  "name": "Croisement de moyennes mobiles",
  "description": "Investi quand la moyenne mobile courte est au-dessus de la longue, en cash sinon.",
  "kind": "exposure",
  "params": {
    "short": 20,
    "long": 100
  },
  "rules": [
    {
      "when": {
        "gt": [
          {
            "sma": "short"
          },
          {
            "sma": "long"
          }
        ]
      },
      "then": {
        "exposure": 1
      }
    },
    {
      "otherwise": {
        "exposure": 0
      }
    }
  ]
}

Past performance is no guarantee of future results. Ratiqen is an analysis tool and does not provide investment advice.

Data: BTC/USD, Bitstamp, daily UTC candles up to November 21, 2026. Data version 2026-11-21.58be4ea3, engine 0.2.0.