← Back to the blogLeer en español
Getting started

Your first Deepwick backtest: from chart to trades

Sign up free, load the Donchian Breakout example and inspect individual trades. Learn why the data window matters.

Updated: 13 October 2026

BTCUSDT · Binance · 1 hour. Captured on 10 October 2026 with real market data. The backtest is a simulation, not live trades.
BTCUSDT · Binance · 1 hour. Captured on 10 October 2026 with real market data. The backtest is a simulation, not live trades.

Your first backtest should help you understand what a strategy does. This guide opens a Donchian example, locates its trades and checks what changes on another timeframe. You need a free Deepwick account; sign up with your email, Google or Apple.

1. Open the example and check its context

After you sign in (and a short onboarding the first time) you land on a chart. Search for BTCUSDT and choose 1h. Click </> Scripts in the chart toolbar, then load Donchian Breakout from the Open… menu. The chart starts with 1,000 candles and loads more as you scroll back. Check the symbol and timeframe in the chart toolbar before reading the report.

The live-data window moves with the market. Runs on different days can produce different results without a code change. Record the date, market, timeframe and report period when comparing experiments.

2. Read the rule before running it

The script panel shows the loaded code. The example looks for a breakout above a Donchian channel and uses exit rules plus an ATR-based stop. Inputs control channel lengths and the stop multiplier. Read the actual conditions in the script: those govern this run.

The strategy() declaration also shows starting capital, position sizing and commission. An example commission does not replace your broker's conditions. Do not assume a backtest report includes every cost of a real transaction.

Press Run if results have not appeared, or after editing the code. Resolve compilation errors before continuing: a visible chart does not mean the strategy has executed successfully.

3. Inspect one complete trade

Open Strategy Tester and check that it reports trades. Read net profit and drawdown, then inspect the trade table. Each row records an entry and an exit.

Click a trade to locate it on the chart. Compare the entry with the strategy signal. In Deepwick's engine, a market order generated at a candle's close normally fills at the next candle's open. A signal and its fill need not have the same price.

Then inspect the exit. A channel condition and a stop are different triggers. If a trade differs from your expectation, return to the code before changing inputs to improve the reported performance.

4. Change one thing

Switch the chart to 4h and run the same script again. Save or copy any edits first so both runs use identical code.

One thousand hourly candles and one thousand four-hour candles span different lengths of history. This comparison therefore changes both the timeframe and the observed period. Record that limitation beside the result.

5. Continue with a specific question

Save the script to your account so you can come back to it, then keep one question per experiment: a different market, a cost assumption or an input range. Next, read how to interpret a backtest. It helps you ask a more useful question than «how much did it make?».

DeepwickBacktesting