Strategy Builder Guide

    A Beginner’s Guide to
    Building Trading Strategies with Algo Studio

    This guide explains how strategies are built using a simple, modular block-based approach. Understanding these blocks — and how they connect — is the key to creating reliable, testable, and automated trading strategies.

    Building Strategies - Part 1

    Building Strategies - Part 2

    The Block-Building Philosophy

    Strategies are built visually using connected blocks, rather than writing code. Each block represents a single responsibility within a strategy, and strategies are created by linking these blocks together in a logical flow.

    This approach mirrors how professional traders think:

    • Analyze the market
    • Decide if conditions are met
    • Take action.

    By separating these steps into different block types, this ensures strategies are:

    • Transparent – You can see exactly why a trade occurs
    • Easy to debug – Issues are isolated to specific blocks
    • Safe to automate – No hidden or accidental trade execution

    The Core Block Types

    Every strategy is built using four distinct categories of blocks. Each category has a clear role, and blocks must be connected in this order.

    Data Blocks
    Provide raw market values
    Indicator Blocks
    Analyze market behavior
    Logic Blocks
    Evaluate conditions
    Action Blocks
    Execute decisions

    1. Data Blocks

    0 Total

    Raw Market Inputs. Data blocks provide direct price data from the market. They are the most basic building blocks and often serve as the starting point for strategies.

    Unlike indicator blocks, data blocks do not perform calculations. They simply expose real-time or historical price values that can be used directly in logic blocks or as inputs to indicators.

    What Data Blocks Do:
    • The current traded price
    • Candle-based price values
    • High-level price comparisons
    Commonly Used For:
    • Simple price-based strategies
    • Breakout and reversal logic
    • Comparing price to indicators

    Tip: Data blocks can connect directly to logic blocks or feed into indicator blocks for further analysis.

    Loading...

    2. Indicator Blocks

    0 Total

    For Market Analysis. Indicator blocks are responsible for reading and interpreting market data. They do not make decisions or place trades — they simply calculate values that describe what the market is doing.

    These values (Price movement, Volume, Volatility, Trend direction) are then passed downstream to logic blocks for evaluation.

    Typical Use Cases:
    • Identifying trends (e.g. moving averages)
    • Measuring momentum (e.g. RSI, MACD)
    • Detecting volatility changes
    • Tracking volume behavior

    Note: Indicator blocks never execute trades directly. They must always connect to logic blocks to be meaningful.

    Loading...

    3. Logic Blocks

    0 Total

    Decision-Making and Rules. Logic blocks define when something is true or false. They act as the decision layer of your strategy, evaluating indicator values and determining whether conditions are met.

    Think of logic blocks as questions your strategy asks the market. They take inputs, compare values, and output a true/false result.

    Typical Use Cases:
    • “Price crosses above a moving average”
    • “RSI is higher than 70”
    • “Volume increases by a specific amount”

    Note: Logic blocks act as gatekeepers. If logic conditions are not met, actions will never trigger.

    Loading...

    4. Action Blocks

    0 Total

    Executing Trades and Managing Positions. Action blocks define what the strategy actually does once all logic conditions are satisfied. This is where decisions turn into real market activity.

    Action blocks can open/close positions, adjust risk settings, and manage orders. Smart actions are designed to handle more advanced execution logic automatically.

    Warning

    Action blocks are executed in real time during live trading. Always test strategies thoroughly before deploying them live.

    Loading...

    Pattern Blocks

    Recognising Repeating Market Behaviour.

    Pattern blocks allow strategies to identify well-known price patterns that repeat across markets and timeframes. These patterns represent common trader behavior and market psychology, such as reversals, continuations, and exhaustion moves.

    Important: Pattern blocks never place trades directly. They are signals, not decisions. They must connect to logic blocks before triggering any action.

    Candlestick Patterns

    0 Total

    Short-Term Price Action Signals. Candlestick pattern blocks identify specific candle formations that often indicate short-term reversals or continuation moves. These patterns are especially useful for timing entries and exits.

    Typical Use Cases: Entry confirmation at key levels, Reversal detection, Filtering false breakouts.
    Loading...

    Using Pattern Blocks Effectively

    Pattern blocks are most powerful when used with confirmation, such as:

    • Trend indicators (moving averages)
    • Momentum indicators (RSI, MACD)
    • Volume analysis
    • Key support and resistance levels
    Pattern Detected → Logic Confirms → Action Executes

    This layered approach helps reduce false signals and improves strategy reliability.

    Why Pattern Blocks Matter

    Pattern blocks allow traders to:

    • Encode proven trading concepts visually
    • Remove subjective pattern interpretation
    • Automate pattern recognition consistently
    • Combine price action with indicators and logic

    By integrating pattern blocks into the block framework, traders can turn classic technical analysis into clear, rule-based, automated strategies.

    How Blocks Work Together

    A complete strategy always follows this flow. This structure ensures that analysis is separated from decisions, and decisions are separated from execution.

    Indicators
    Logic
    Actions

    Example: An indicator calculates a moving average → A logic block checks if price crosses above it → An action block opens a long position.

    Why This Matters for New Traders

    Visual Logic

    Learn strategy logic visually

    Safety

    Avoid accidental trade execution

    Confidence

    Build confidence before automating

    Scalability

    Scale from simple ideas to complex systems

    By mastering how each block type works — and how they connect — traders gain full control over how and why their strategies behave.