Strategy Analysis - Backtests & Performance Metrics
Run strategy backtests for crypto, stocks, futures, and gold. Review equity curves, win rates, Sharpe, profit factor, and compare vs buy-and-hold.
Single Strategy Mode (or build multi-leg nested composite)
1. Signal Conditions — Open (`o`) & Close (`c`)
Adjust entry (`o`) and exit (`c`) rules independently. Changes automatically parse into and update the Strategy expression above.Open Condition (Entry Signal)
Rule list that triggers opening a position (e.g. [{<: [{rsi: 14}, {v: 30}]}]).
Close Condition (Exit Signal)
Rule list that closes an open trade. Leave empty to close after Hold Duration (n) bars.
Trailing close signal evaluated continuously after entry (optional).
2. Market & Data Source (`s`, `api`, `nbars`)
Select a single Ticker + Exchange or run across a Tickerlist batch, and set timeframe (`interval`), feed (`api`), and history window (`nbars`).Candle timeframe (15, 1h, 4h, 1D)
Data source (md / alp)
Clock mode (ext / rth / tv)
Lookback window (bars)
3. Execution, Hold Duration & Risk (`t`, `n`, `h`, `spread`, `sl`, `tp`)
Configure trade direction/leverage (`t`), max hold bars (`n`), max concurrent open trades (`h`), fee (`spread`), and Stop Loss / Take Profit (%).1 = Long, -1 = Short (leverage)
Auto-exit after n bars
1 = single, 0 = unlimited
Fee / slippage per trade (%)
Optional SL in %
Optional TP in %
Add a strategy expression to load data and populate the table.
Select one or more rows in the strategy table above to view trade markers and entry/exit conditions.
Systematic Trading Strategy Backtester & DSL
Build, backtest, and compare rule-based long and short trading strategies across Bitcoin, crypto, equities, ETFs, commodities, and forex. Combine 166 technical indicators (RSI, SMA, EMA, MACD, Bollinger Bands, ATR, ADX) with stop-loss, take-profit, and holding-period rules, and evaluate full ROI, CAGR, win rate, profit factor, Sharpe ratio, and maximum drawdown.