Documentation

User Guide & Docs

Everything you need to optimize TradingView strategies with the Browser Extension, run Cloud Backtests, build Pine Script with AI, and automate execution with Backpulse.

Quick Start

What is Backpulse?

Backpulse is the complete TradingView strategy optimization and automation platform. Key capabilities include: (1) Free Browser Extension for Chrome & Firefox to automatically scan Pine Script parameters and run high-speed backtests directly inside TradingView charts (Local & Cloud mode); (2) Cloud Backtest Engine running automated parameter sweeps on TradingView charts in the cloud; (3) AI Studio & Visual Strategy Builder to generate and design Pine Script v5/v6 strategies without coding; (4) Python Strategy Backtesting via the quantbt engine with 15+ quantitative performance metrics; (5) Fast Webhook Automation executing TradingView alerts on Binance, Bybit, OKX, Kraken and 30+ exchanges in under 300ms; and (6) Cloud-hosted Freqtrade bots (dry-run and live, no VPS required).

What do I need to get started?

It depends on what feature you want to use:

- To optimize TradingView strategies with the Browser Extension: Just install the free extension and open any TradingView chart — no account or API key required (Local Mode).

- To run Cloud Backtesting or use AI Studio: Sign up for a free Backpulse account.

- To automate live TradingView webhook orders or run Freqtrade bots: You will need an API key from your exchange (Binance, Bybit, OKX, etc.) with Trade permission only — never enable Withdraw permissions.

How long does setup take?

- With the Browser Extension: Under 1 minute — install the extension from the Chrome Web Store or Firefox AMO, open any TradingView chart with a Pine Script strategy, and click Run to start optimizing immediately.

- With Webhook Automation: Under 5–10 minutes — Sign up → go to Webhooks (or /hub) → create an exchange Provider → add a Route for your pair → copy the Webhook URL and paste into your TradingView Alert with the JSON payload.

Does Backpulse support Google login?

Yes. You can quickly sign up and log in using your Google account (OAuth) with secure session persistence.

Browser Extension

What is the Backpulse browser extension?

The Backpulse extension (free) is an add-on for Google Chrome, Mozilla Firefox, and Chromium-based browsers (Brave, Opera, Edge). It automatically detects all active Pine Script strategies (v4, v5, v6) on your TradingView charts, scans parameter inputs (indicator lengths, multipliers, thresholds, TP/SL, booleans), and runs automated parameter optimization across hundreds or thousands of combinations. Once the best configuration is found, click "Apply to Chart" to instantly update your Pine Script strategy inputs without typing anything manually.

Which browsers are supported?

The extension is officially available on Google Chrome (Chrome Web Store), Mozilla Firefox (Firefox AMO), and is fully compatible with Chromium-based browsers including Brave, Opera, and Microsoft Edge.

What is the difference between Local Mode and Cloud Mode in the extension?

The extension provides two flexible operating modes:

- Local Mode (Default & Free): Runs directly inside your active TradingView browser tab with zero data leaving your machine (100% client-side privacy). The extension controls the native Strategy Tester to evaluate each parameter combination locally without requiring a Backpulse account.

- Cloud Mode: When logged into your Backpulse account, you can dispatch optimization jobs to Backpulse's cloud worker cluster with headless Chromium. Jobs execute in the background even when your browser is closed, with cross-device history synchronization.

Do I need an account to use the extension?

An account is not required for Local Mode. The extension works out-of-the-box immediately after installation. Logging in enables Cloud Mode and persistent cloud history.

Backtesting & Optimization

How does TradingView backtesting work?

Backpulse offers two flexible parameter optimization methods:

1. Direct In-Browser Optimization (Local Mode via Extension): The browser extension scans parameters on your open TradingView chart and automates the native Strategy Tester to test each combination locally on your machine.

2. Cloud Platform Optimization (via /backtest or Cloud Mode in Extension): Dispatches jobs to cloud workers running headless Chromium. The system automatically discovers parameters (Discover Parameters), executes parallel sweeps across all parameter combinations, and extracts Net Profit, Max Drawdown, Win Rate, and Profit Factor metrics directly from the Strategy Tester.

How does Cloud Backtest work on Backpulse?

When you launch a Cloud Backtest job (at /backtest or via Cloud Mode in the Extension), our managed cloud worker cluster uses headless Playwright browsers to load your TradingView chart, systematically applies each parameter combination into your strategy, and collects real-time performance metrics directly from the Strategy Tester. The entire process runs in the cloud, allowing you to sweep through thousands of parameter combinations without slowing down your computer or needing to keep your browser tab open.

What is the difference between Public and Private strategies?

Public: Open community scripts published on TradingView — Backpulse automatically locates and adds them to the chart by name and author.

Private: Personal or invite-only scripts — must already be loaded onto your active TradingView chart layout with a valid session.

What is Python Backtesting (Freqtrade)?

Python Backtesting (at /backtest/freqtrade) lets you test Python trading strategies conforming to the Freqtrade IStrategy standard directly in the browser with no server or Docker required. Powered by historical Binance Futures OHLCV data, it calculates 15+ quantitative metrics (Sharpe ratio, CAGR, Max Drawdown, Win Rate, Profit Factor, Sortino ratio), renders interactive Equity Curves, and supports automated Hyperopt parameter optimization.

Where do I find optimization results?

Once an optimization job finishes, open the Job Detail page (at /backtest/jobs) to inspect the ranked results table, filterable by Net Profit, Drawdown, Profit Factor, or trade count. Click any row to view the full parameter set and apply it to your strategy.

Webhooks & Signals

How do I connect TradingView to Backpulse?

1. Go to Webhooks (or Quick Connect at /hub) → Create a Provider and enter your exchange API key.

2. Add a Route for your target trading pair (e.g. BTC/USDT:USDT).

3. Copy the Route's Webhook URL (format: https://hook.backpulse.io/tv/TOKEN).

4. In TradingView, create a strategy alert and paste the URL into the Webhook URL field.

5. Paste the standardized JSON payload into the Alert Message box.

What is the standard JSON payload format?

{
  "side": "{{strategy.order.action}}",
  "market_position": "{{strategy.market_position}}",
  "qty": "{{strategy.order.contracts}}",
  "symbol": "{{ticker}}",
  "price": "{{close}}",
  "entry_price": "{{strategy.position_avg_price}}",
  "ts": "{{timenow}}"
}

Key fields:

- side: "buy" or "sell" — required

- market_position: "long", "short", or "flat" — automatically detects position open vs close

- qty: number of contracts or base currency amount — required, > 0

- symbol, price, entry_price, ts: optional (falls back to Route configuration if omitted)

How does Backpulse handle order entry vs exit?

Based on the market_position field:

- "long" or "short" → Open position order (reduceOnly=false)

- "flat" → Close position order (automatically applies reduceOnly=true for futures)

We recommend always including market_position for precise order pairing and automated P&L tracking.

How secure are Webhooks?

Each Route is protected by a unique 48-character random token. Backpulse authenticates incoming requests before placing any order. Exchange API keys are encrypted at rest with AES-256-GCM and only decrypted in memory during order dispatch.

What is the execution latency?

Typical execution latency is under 300ms from webhook arrival to exchange order placement via direct CCXT integration.

Can I test webhooks without waiting for real signals?

Yes. In the Hub Detail view, each Route has a Test Signal action that dispatches simulated signals directly from the dashboard. Test orders are logged in Signal Logs for easy verification.

Exchange Connections

Which exchanges are supported?

30+ major cryptocurrency exchanges via CCXT: Binance (Spot & Futures), Bybit (Spot & Derivatives), OKX, Bitget, Kraken, MEXC, KuCoin, Gate.io, Coinbase, and more.

What API key permissions should I grant?

Enable Trade (Trading/Order Placement) permission only. NEVER enable Withdraw permissions. Backpulse adheres strictly to the principle of least privilege.

Are my API keys secure?

API Keys and Secrets are encrypted using military-grade AES-256-GCM before storage. Plaintext keys are never stored, and you can revoke credentials anytime from your account or exchange dashboard.

Is Testnet supported?

Yes. When creating a Provider, enable Testnet mode to simulate order execution in sandbox exchange environments before committing real funds.

How do I configure Passphrases for OKX, Bitget, or KuCoin?

When selecting exchanges that mandate a Passphrase, an extra input field appears automatically. Passphrases receive the same AES-256-GCM encryption as API secrets.

Strategies Studio & AI

What tools are included in Strategies Studio?

Strategies Studio (at /strategies) includes:

- Strategy Library: Verified pre-built Pine Script strategies (EMA Cross, RSI Reversal, MACD Momentum, Bollinger Squeeze, Supertrend...).

- My Strategies: Personal storage for your saved strategies.

- Visual Builder (/ai-studio/visual): A 6-step drag-and-drop pipeline for generating Pine Script v5/v6 without writing code.

- AI Studio (/ai-studio): Natural language strategy generator powered by advanced AI models.

How does AI Studio work?

At /ai-studio, simply describe your trading logic in plain English or Vietnamese (e.g. 'Go long when RSI crosses above 30 and EMA 20 is above EMA 50, take profit at 2%, stop loss at 1%'). AI parses the rules, constructs risk constraints, and outputs production-ready Pine Script v5/v6 code.

How does Visual Builder differ from AI Studio?

AI Studio is ideal for turning verbal ideas into code instantly. Visual Builder provides granular, block-by-block control over technical indicators, filter conditions, and risk rules in a structured visual workflow.

Leaderboard & Copy Trade

What is the Top Trader Leaderboard?

The Leaderboard (at /copy-trade) tracks real-time performance rankings and verified trade analytics from top traders across Binance, Bybit, OKX, and major exchanges. You can filter and rank by ROI, Win Rate, Max Drawdown (MDD), Sharpe Ratio, AUM, and Copiers count.

How does Copy Trading work?

Copy Trading allows you to automatically mirror positions and orders from leading Master Traders with flexible capital allocation and risk management safeguards.

What is Bot Hub?

Bot Hub (at /bot-hub or via the Webhooks navigation menu) is where you manage your automated Bot Providers connected via exchange API keys. Add symbol routes, obtain webhook tokens, and run automated bots without TradingView.

What is the Visual Dashboard?

Visual Dashboard (at /visual-dashboard) provides a centralized overview of your running bots, allocated margin, active positions, and real-time P&L across all connected exchanges.

Freqtrade Bot Hosting

What is Freqtrade Bot Hosting?

Freqtrade Bot (at /freqtrade-bot) lets you deploy and run Python Freqtrade IStrategy algorithms directly on Backpulse cloud infrastructure without managing VPS instances or Docker containers.

What is the difference between Dry-run and Live mode?

Dry-run (Paper Trading): Operates with virtual capital on real-time live market data to validate strategy behavior. The Free plan includes 1 Dry-run bot.

Live Trading: Connects exchange API credentials to place real orders. Available on Pro and Scale plans.

Can I access the native FreqUI?

Yes. The official FreqUI dashboard is embedded directly at /freqtrade-ui via an authenticated proxy, allowing full access to candlestick charts, open orders, and bot controls.

How do Telegram notifications work for bots?

Connect your Telegram account with @backpulse_bot to receive real-time notifications on order entries (LONG/SHORT) and exits with comprehensive P&L breakdowns.

Billing & Subscription Plans

What are the Backpulse subscription plans?

Free: Up to 100 Brute Force iterations, 1 parameter / 1 symbol / 1 job, 1 exchange connection, 1 Freqtrade Dry-run Bot (30 days), 30-day signal history retention, and free Chrome Extension.

Pro ($29/month or $23/month billed annually — save ~20%): Up to 500 Brute Force iterations, unlimited parameters, 3 symbols / 3 concurrent jobs, 5 exchange connections (all 30+ exchanges), automated P&L tracking, Telegram alerts, 1 Dry-run + 1 Live Freqtrade Bot.

Scale ($79/month or $59/month billed annually — save ~25%): Unlimited Brute Force iterations, 10 symbols / 10 concurrent jobs, unlimited exchange connections, 3 Dry-run + 3 Live Freqtrade Bots, priority AI Studio, 1-on-1 setup assistance, and 24/7 VIP Discord access.

Is there a free trial for the Pro plan?

Yes. Every new account can activate a 3-day free Pro trial (one-time) to experience all advanced features without automatic billing.

Which payment methods are accepted?

Backpulse processes payments securely through Lemon Squeezy, supporting international credit and debit cards (Visa, Mastercard, American Express, etc.).

Can I upgrade or cancel at any time?

Yes. Upgrades take effect immediately. If you cancel, your subscription remains fully active until the end of the current billing cycle.

Still have questions?

Contact support