Quantblocks
EN DE
Start Free
How it works

How do I build a strategy?

A strategy is a chain of blocks that decides when to enter and exit a trade. You connect data, an indicator, a condition, and a signal. The example above shows the smallest version of a working strategy.

  1. Pick your market data

    Drop a Market Data block onto the canvas and choose a symbol (for example BTCUSDT) and a timeframe (for example 4h). This is the price feed that everything else reads from.

  2. Add an indicator

    Connect the data block to an indicator like SMA (Simple Moving Average). Indicators turn raw price into a number you can reason about — here, the average price over the last 20 bars.

  3. Define a condition

    A Threshold block compares the indicator to a value. In the example it fires whenever the SMA is greater than 0. You can also compare two indicators, look for crossovers, or chain conditions with AND / OR.

  4. Wire up a buy signal

    Connect the condition into a Buy Signal block. Whenever the condition becomes true, the strategy opens a long position. A separate Sell Signal block can close it on a different condition.

  5. Add risk management

    Optional, but strongly recommended: chain a Stop Loss and Take Profit into the signal so every trade has a defined exit. Even a simple 2 percent stop protects you from runaway losses.

  6. Save and backtest

    Click Save, then Test. The backtest engine replays your strategy against years of historical data and shows the equity curve, win rate, drawdown, and every trade.