Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Trading and crypto

Technical analysis software, sorted by the job it does

Charting platforms, indicator libraries, backtesting engines and data APIs: what each kind of technical analysis software does and where it runs best.

CloudSat teamNovember 18, 20266 min read
Abstract illustration of four stacked glass layers holding a price chart, a grid of formulas, a timeline and a stream of data points
On this pageThe four jobs

"Technical analysis tool" covers four different jobs: drawing charts, computing indicators, testing rules on history and supplying the data underneath. Lists that rank ten tools side by side mix those jobs, which is why they rarely help anyone decide. Sort by job first, then choose within the job by what you need: your markets, your language, where the software has to run. This guide describes the main options in each category without ranking them.

The four jobs

Job What it does Examples Where it runs
Charting Draws prices, indicators and drawings; raises alerts TradingView, MetaTrader 4 and 5, cTrader, NinjaTrader 8 Desktop app or browser
Indicator computation Turns price arrays into indicator values in code TA-Lib, pandas, your own functions Any machine with Python, C or similar
Backtesting and research Runs rules over history and models costs QuantConnect LEAN, Freqtrade, MT5 Strategy Tester, notebooks Desktop or server
Data Supplies prices and volumes Exchange APIs (often through CCXT), broker feeds, data vendors API clients, files, databases

A single product can cover several jobs. MetaTrader charts, computes and backtests, but only on data from your broker. A Python stack can do all four, but you assemble it yourself.

Charting platforms

TradingView runs in the browser and as a desktop app for Windows, macOS and Linux. Custom indicators and strategies are written in Pine Script, now at version 6, and run on TradingView's servers rather than on your computer. Alerts can call a webhook, which is how many people connect a chart to their own software.

MetaTrader 4 and 5 are the MetaQuotes terminals that brokers hand out. MetaQuotes counts 30 built-in indicators and 9 timeframes in MT4, and 38 indicators, 44 analytical objects and 21 timeframes in MT5. Custom code is MQL4 or MQL5, with free and paid indicators in MetaQuotes' Code Base and Market. The MT4 custom indicator guide covers how those programs are installed and checked.

cTrader has Windows and Mac desktop apps and a web version, with indicators and bots written in C# or Python. NinjaTrader 8 is a futures-focused desktop platform for Windows, scripted in NinjaScript, a C# framework; NinjaTrader describes charting, backtesting and simulation as free to use.

One detail matters more than any feature list: where the chart's data comes from. Forex has no central exchange, so two brokers' EUR/USD charts differ slightly, and so do the indicators drawn on them.

Indicator libraries

Computing indicators in code makes them reproducible: the same function produces the same numbers in research, in a backtest and in a live bot.

TA-Lib is an open-source library under a BSD license with more than 200 indicators, candlestick pattern recognition included. It computes either over a whole array or one bar at a time, has native versions in C/C++, Java, C#, Rust, TypeScript and Go, and wrappers for Python and R. Freqtrade lists it among its requirements.

pandas covers most indicators in a few lines, which is the best way to see what a formula actually does:

import pandas as pd

def add_indicators(df: pd.DataFrame, n: int = 14) -> pd.DataFrame:
    close = df["close"]
    df["sma20"] = close.rolling(20).mean()
    df["ema20"] = close.ewm(span=20, adjust=False).mean()      # alpha = 2 / (20 + 1)

    delta = close.diff()
    gain = delta.clip(lower=0).ewm(alpha=1 / n, adjust=False).mean()
    loss = (-delta.clip(upper=0)).ewm(alpha=1 / n, adjust=False).mean()
    df["rsi"] = 100 - 100 / (1 + gain / loss)                  # Wilder's smoothing

    prev = close.shift()
    true_range = pd.concat([df["high"] - df["low"],
                            (df["high"] - prev).abs(),
                            (df["low"] - prev).abs()], axis=1).max(axis=1)
    df["atr"] = true_range.ewm(alpha=1 / n, adjust=False).mean()
    return df

Expect small differences between libraries and platforms in the first bars of a series. Exponential averages need a starting value, and implementations seed it differently: some with a simple average of the first bars, some with the first price. The values converge after enough history, which is one reason to load more bars than the indicator period.

Backtesting engines

QuantConnect LEAN is an open-source, event-driven engine under Apache-2.0. Algorithms are written in Python or C#, and the LEAN CLI runs backtests locally in Docker (lean backtest) and starts live trading (lean live).

Freqtrade is a GPL-3.0 crypto bot with backtesting on downloaded history, parameter optimization and a dry-run mode on simulated funds. MT5's Strategy Tester tests Expert Advisors across several symbols and spreads optimization passes over local agents on your CPU cores. For questions that do not need an engine, a Jupyter notebook with pandas is often enough.

Whatever the engine, check what it models:

  • Costs: fees, spread and slippage. A test without them describes a market nobody trades in.
  • Fill rules: whether a limit order fills when price merely touches it, or only when price trades through.
  • Data resolution: one-minute bars cannot tell you what happened inside the minute.
  • Look-ahead: whether a rule can see a bar's close before the bar has closed.

A backtest shows how fixed rules behaved on one stretch of history. It does not show how they will behave next.

Data sources

For crypto, exchanges publish REST and WebSocket APIs, and CCXT, an MIT-licensed library, wraps more than 100 of them behind one interface in Python, JavaScript, TypeScript, PHP, C#, Go, Java and Rust. For forex, each broker's feed is its own; MetaTrader's volume for spot currency pairs counts price changes (tick volume), not traded amounts. For futures, data comes from the exchange through brokers and vendors, and long histories need continuous contracts stitched across expiries.

Small datasets live comfortably in CSV or Parquet files. When you collect ticks around the clock, a time-series database such as QuestDB or InfluxDB handles the write rate and time-range queries. Read the data license too: exchange and vendor data often forbids redistribution.

Spreadsheets and numeric tools

Spreadsheets are a fair way to learn: a moving average is an AVERAGE over a sliding range, and you can see every intermediate number. Excel stops at 1,048,576 rows per sheet, and two years of one-minute bars for a market that trades around the clock already exceed that (one year is 525,600 bars). Numeric environments such as R and GNU Octave sit between spreadsheets and full Python stacks.

A small research stack on a server

A server is useful when data must be collected continuously or a long test should not tie up your laptop. A typical stack is Jupyter for notebooks, pandas and TA-Lib for computation, a scheduled job that downloads data and a database to keep it. Keep Jupyter off the public internet and reach it through an SSH tunnel:

ssh -L 8888:localhost:8888 analyst@203.0.113.10
# then open http://localhost:8888 in your local browser

On CloudSat, Jupyter Notebook and QuestDB are one-click apps, so the stack starts with two deploys instead of an afternoon of installs.

FAQ

Do I need to code to use technical analysis software?

No. Charting platforms work without code, and their built-in indicators cover the common formulas. Code becomes necessary when you want rules tested on history or run automatically, or when you need numbers you can reproduce exactly.

Why do two platforms show different RSI values for the same market?

Usually because the inputs differ: another broker's feed, a different daily candle close, a different price source (close or typical price) or a different warm-up. Compare the same data, timeframe and settings before blaming the formula.

Can TradingView trade automatically?

Pine Script strategies backtest on TradingView, and alerts can send webhooks to software you run yourself, which then places orders through a broker or exchange API. Everything after the webhook is yours to build, secure and monitor.

Trading involves risk of loss. Nothing in this article is financial advice.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.