Export

Code Export

Every strategy you build visually can be compiled to source code in four targets. The same compiled logic that drives your backtest is what gets exported, with no divergence between what you test and what you ship.

Export targets

Your node graph is generated into the target you choose, with each output written idiomatically for its platform.

TargetTypical use
Pine Script v5TradingView indicators & strategies
Pythonpandas / research & custom runners
JavaScript / TypeScriptNode / web runners
JSONa portable, machine-readable strategy format

What's in the export

Indicator & signal logic

The full calculation graph (every indicator, condition, and entry/exit rule) translated faithfully to the target language so signals match your backtest.

Faithful to the backtest

Deterministic by design

Because export and backtest share the same compiled logic, the same input produces the same signals in either place. No hidden randomness.

Reproducible output
Scope. Export currently generates the strategy logic (indicators, conditions, signals). A full turnkey trading bot also needs data fetching, connectivity, order management and risk controls. Inside Algovex you can paper-trade your strategy. Live trading is planned (on the roadmap, without a date). Drop the generated logic into your platform of choice (e.g. TradingView) or your own runner.

Example output

One strategy, idiomatic in each target. A simple EMA-crossover entry, shown as it would generate for Python and Pine Script (illustrative):

Exported: Python (excerpt)
import pandas as pd

def signals(df: pd.DataFrame) -> pd.DataFrame:
    df["ema_fast"] = df["close"].ewm(span=12, adjust=False).mean()
    df["ema_slow"] = df["close"].ewm(span=26, adjust=False).mean()
    cross_up = (df["ema_fast"] > df["ema_slow"]) & (
        df["ema_fast"].shift(1) <= df["ema_slow"].shift(1)
    )
    df["entry_long"] = cross_up
    return df
Exported: Pine Script v5 (excerpt)
//@version=5
strategy("EMA Crossover", overlay=true)
emaFast = ta.ema(close, 12)
emaSlow = ta.ema(close, 26)
if ta.crossover(emaFast, emaSlow)
    strategy.entry("Long", strategy.long)

How to export

  1. Open your strategy in the visual editor.
  2. Choose a target language in the export dialog.
  3. Generate, and the graph is compiled and rendered to source code in your chosen language.
  4. Copy or download the file and run it on your platform.

Parity & accuracy

Engine ↔ Python parity

Our engine (used by the backtester and chart extraction) and the exported Python stay in lockstep, with parity tests so exported Python behaves like what you tested.

Tested in CI

Review before you run

Exported code is yours to read and adapt. Always validate on your platform with your own data and risk settings before any real money.

Not investment advice
4 export targets
Backtest-faithful logic
© 2026 tacticx Development GmbH. All rights reserved.