Strategy BuilderIntermediate
10 min read

Build a Strategy in the DAG Editor

Use the visual DAG editor to wire a complete signal pipeline from data source to entry/exit rules, then run an inline backtest.

The Strategy Builder is a visual, code-free environment for composing custom trading strategies. You connect blocks — data sources, indicators, filters, logic operators, and entry/exit rules — to create a signal pipeline. This guide builds a minimal working strategy from scratch.

1

Open the Strategy Builder

Click Strategy Builder in the left sidebar. You'll see a blank canvas with a block library panel on the left.
2

Start from a template (recommended for first build)

Click Templates at the top of the block library. Browse templates by approach (trend, mean-reversion, momentum, volatility), bar type, and regime suitability. Open a template to see a fully wired DAG — study how it's constructed before building your own.
3

Add a Data Source node

Drag a Data Source block from the library onto the canvas. In the inspector panel (right side), select your symbol (e.g. BTC/USDT), bar type (Time), and timeframe (1h). This is the raw data your strategy will process.
4

Add an Indicator node

Drag an RSI block from the Indicators category. Connect the Data Source output to the RSI input by drawing a line between the connection points. In the inspector, set the RSI period to 14.
5

Add a Threshold Filter

Drag a Threshold Filter from the Filters category. Connect the RSI output to the filter input. Set: RSI < 30 = oversold signal. This filters for moments when RSI drops into oversold territory.
6

Add Logic operators if needed

For multi-condition strategies, drag AND / OR / NOT blocks from the Logic category. Connect multiple indicator outputs into a logic block before the entry rule.
7

Add an Entry node

Drag a Long Entry block from Entry/Exit. Connect your filter (or logic block) output to the entry input. In the inspector, set position size (e.g. 10% of balance per trade).
8

Add an Exit node

Drag a Fixed SL/TP block from Entry/Exit. Set Stop Loss: 3%, Take Profit: 9%. Connect it to your entry node.
9

Validate the DAG

Click the Validate button. Any unconnected nodes or invalid connections will be highlighted in red with explanations. Fix all errors before proceeding.
10

Run an inline backtest

Click Backtest in the top toolbar. Configure date range, balance, and leverage in the panel that slides in. Click Run. Results appear below the canvas without leaving the builder.
11

Save as Draft

Once satisfied, click Save as Draft (1 credit). The strategy is stored privately. You can continue editing, re-testing, and optimising before activating.
12

Activate

Click Activate to promote the draft to live status (10 credits). The strategy begins running in the BitPredict system, generating real-time signals.

Use templates as starting points rather than building from scratch. The block library has 200+ nodes — templates show you which combinations actually produce coherent strategies. Modify a template's parameters rather than wiring a completely new DAG for your first strategy.

Connecting a wrong output type to an input (e.g. plugging a price signal into a boolean logic input) will cause a validation error. The validator will tell you exactly which connection is invalid — don't ignore red highlights.

Build a Strategy in the DAG Editor · BitPredict