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.
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.