Skip to main content

Strategies

A Strategy defines the trading logic for your bots — when to enter a trade, when to exit, which indicators to use, and how to manage positions. Strategies are versioned, can be forked, and run identically across backtest, paper trading, and live execution.

Strategies list page in VolatiCloud showing the Demo Strategy row in the data grid, with "My Strategies" and "Public" view toggles and a green "Create Strategy" button

Strategy Modes

VolatiCloud supports two strategy creation modes — pick the one that matches your team's skillset.

UI Builder Mode

The UI Builder is a visual, no-code strategy builder. You drag and drop conditions, select indicators from a library, and define entry/exit logic through a tree interface — no Python knowledge required. Strategies built this way are compiled to Freqtrade-compatible Python under the hood, so they execute on the same engine as code-mode strategies.

Best for:

  • Traders new to algorithmic trading
  • Quickly prototyping strategy ideas
  • Non-developers who want to automate their manual trading rules

Code Mode

Code Mode lets you write full Python strategies using the Freqtrade strategy API. This gives you complete control over every aspect of the strategy — custom indicators, advanced callbacks, hyperopt parameters, and any logic that fits inside the Freqtrade contract.

Best for:

  • Experienced developers
  • Complex multi-indicator strategies
  • Strategies requiring custom logic not available in the UI Builder
info

Code Mode is available on Pro and Team plans. The Starter plan supports UI Builder only.

Ejecting from UI Builder to Code

You can convert a UI Builder strategy to code at any time by clicking Eject to Code. This generates the Python for your current strategy configuration and opens it in Code Mode.

warning

Ejection is one-way — once you eject to code, you cannot go back to the UI Builder for that strategy version. Create a fork first if you want to preserve the UI Builder version.

Strategy Detail View

Opening a strategy reveals the detail view — a live Binance price chart, the version history, and embedded panels for launching Backtests, running Hyperopt, and viewing linked Bots. From here you can edit the latest version, run backtests, or manage visibility.

Demo Strategy detail page showing the BTC/USDT Binance candlestick chart, a Versions list with the Latest badge, and tabs for Backtests, Hyperopt, and Bots

Strategy Versioning

Every time you save a strategy, VolatiCloud creates a new immutable version:

  • Old versions are preserved forever
  • Backtests are linked to specific versions
  • Bots always run the version they were configured with
  • You can compare performance across versions

See the versioning guide for the full lifecycle and the forking guide for creating independent copies of an existing strategy.

Strategy Components

Indicators

VolatiCloud supports 25+ built-in indicators across five categories.

CategoryIndicators
TrendSMA, EMA, WMA, DEMA, TEMA, KAMA
MomentumRSI, MACD, MOM, ROC, Stochastic, Stochastic RSI
VolatilityBollinger Bands, ATR, Keltner Channel
VolumeOBV, MFI, CMF, AD
OtherADX, CCI, Williams %R, VWAP, Ichimoku, SAR, Supertrend, Pivot Points

Operands

In entry/exit conditions, operands can be:

TypeDescription
CONSTANTA fixed number (e.g., 30)
INDICATORAn indicator value (e.g., RSI(14))
PRICEMarket price (open, high, low, close, volume)
TRADE_CONTEXTCurrent trade data (e.g., open profit %)
TIMETime-based values

Condition Types

TypeDescription
ANDAll sub-conditions must be true
ORAt least one sub-condition must be true
NOTInverts a condition
COMPARECompares two operands (e.g., RSI < 30)
CROSSOVERDetects upward cross between two values
CROSSUNDERDetects downward cross
IN_RANGEChecks if value is between two bounds
IF_THEN_ELSEConditional branching

Trading Modes

ModeDescription
SpotBuy/sell the underlying asset
MarginLeveraged trading of the underlying asset
FuturesPerpetual or quarterly futures contracts

Position Direction

ModeDescription
Long OnlyOnly open long (buy) positions
Short OnlyOnly open short (sell) positions
Long and ShortOpen positions in both directions

Next Steps

Learn more