Introduction
The Strategy Builder lets you create automated rule-bases strategies without code and deploy them on Synchronicity though a visual node flow. Instead of watching the market and placing orders manually, a strategy does this automatically based on conditions you define in advance. You define the conditions on when to enter, what to do, and when to exit, using a simple flow of connected nodes.
In the current version, strategies are one-shot: once the configured flow completes, the strategy stops. Repeating loop-based bots are not yet supported but planned for a future update.
Synchronous strategies allow you to be prepared. For example, a simple strategy might say: “When the 12-period EMA crosses above the 24-period EMA and RSI is below 30, buy 10 BTC at market price. Then close the position when RSI rises above 70.” That logic containing the conditions, the order, and the exit is exactly what you build be building in the Strategy Builder.
Node-based interface
Rather than writing code, you build strategies visually by connecting nodes on a canvas. Each node represents one step in your strategy’s logic.
Nodes are color-coded by what they do:
| Color | Type | Purpose |
|---|---|---|
| 🔵 Blue | Indicator | Watch market data and trigger when conditions are met |
| 🔵 Blue | Cancel If | Cancel order when conditions are met |
| 🔵 Blue | Close Pos. If | Close position when conditions are met |
| 🟢 Green | Buy Order | Place a trade |
| 🔴 Red | Sel Order Position | Exits a position |
| 🟢🔴 Green/Red | Close Position | Closes a position: color switches according to previous order |
Example Flow
- 🔵 Indicator: Check Price > SMA(20)
- 🟢 Order: Open a long position
- 🔵 Close Position If: Wait for exit condition RSI > 70
- 🔴 Close Position: Close the position
When you run a strategy, execution starts at the first node and moves forward through the chain. Each node completes its job before passing control to the next.
How it works
A strategy is a flow of nodes. Each node does one job. When a node completes, execution moves to the next node.
Strategies are built from two types of nodes: evaluation nodes, which check conditions and decide whether the flow should continue, and execution nodes, which perform actions like placing or closing orders.
The typical pattern is:
Evaluate → Execute → (Optional) Evaluate → Execute
1. 🔵 Indicator
The indicator nodes are the triggers for certain actions to occur within your node structure. The flow begins when market conditions inside the Indicator node are satisfied.
The Indicator node handles:
- Listening to live market data
- Applying indicators (EMA, RSI, etc.)
- Making comparisons between data points
- Evaluating conditions (>, <, AND/OR, crossovers, etc.)
Example: EMA(12) > EMA(24) AND RSI < 30
Every strategy starts here. If the condition is true, the flow continues to the next node.
Indicator nodes output a True / False. If true, the flow continues. If false, nothing happens.
2. 🟢🔴 Order
Order nodes facilitate the execution of orders once they are started by a Indicator node. Once triggered, the strategy performs an action. The color depends on the direction of the trade.
The Order node handles:
- Placing an order (market or limit)
- Defining size, side, and parameters
- Optional constraints (e.g. reduce-only)
- Apply trade parameters: size, leverage, reduce-only
Example: Market Buy 10 BTC with 10x leverage and 1% slippage
3. 🔵 Close Pos. If
This node combo combines an Indicator and a Close Position node. The Indicator evaluates a condition to close the position opened by the previous Order node. It is followed by a Close Position node that executes the close.
Example: IF RSI > 70 → activate Close Position node
4. 🟢🔴 Close Position
This node nodes executes the closing of the position if the Close Pos. If node has indicated as being true. Depending on the direction of the trade in your previous Order node the color changes reflecting the closing direction.
Example: IF Close Pos. If = true → market close position 10 BTC (100%)
5. 🔵 Cancel If
You can also use a Cancel If node to cancel a pending limit order under a specified condition, rather than closing a position.
Example: Cancel If Funding Rate BTC > 33% / hour
Advanced Patterns
Flows can be more flexible than a simple evaluate → execute sequence.
- Chained evaluations: You can place multiple evaluation nodes in sequence. Each one runs only if the previous one passes, with no execution required in between. Example:
Evaluate → Evaluate → Execute - Branching evaluations: An evaluation node can split into multiple paths, allowing different nodes to be triggered in parallel.