Learning resources

TVSBot Blog

Auto trading, technical analysis, quant strategies, crypto — for traders who want to write their own.

Quant Stories3 posts

Technical Analysis15 posts

Technical Analysis·2026-10-05·6 min

Do Multi-Indicator Filters Raise Win Rate? (2026)

Stacking RSI + MACD + EMA looks great in backtest but goes silent live — most indicators aren't independent. Here's the math, plus a Pine Script control test.

Read more →
Technical Analysis·2026-09-30·8 min

Donchian vs Keltner vs Bollinger Bands (2026)

Donchian uses highs/lows, Keltner uses ATR, Bollinger uses standard deviation. Get mechanics, best conditions, common misuses, and Pine code to stack all three.

Read more →
Technical Analysis·2026-09-29·7 min

Stochastic vs RSI: Which Overbought/Oversold to Use

RSI uses 30/70, Stochastic uses 20/80. One reads momentum, the other reads where the close sits in the recent range. See which fits your market.

Read more →
Technical Analysis·2026-09-25·8 min

ADX/DMI: Regime Filter to Switch Strategies On/Off

ADX alone whipsaws entries. As a switch: off trend in ranges, mean-reversion in strong moves. Mechanics, thresholds, Pine Script skeleton, two wiring mistakes.

Read more →
Technical Analysis·2026-09-24·10 min

Supertrend Explained: Parameters & Webhook Signals

Why Supertrend beats RSI/MACD for automated trading: tuning its two parameters, avoiding intra-bar flicker, and four checks before wiring a webhook.

Read more →
Technical Analysis·2026-09-22·8 min

Volume Profile POC, VAH, VAL: Pine v6 Direct Access

POC marks a candle's largest-volume row; VAH/VAL bound the Value Area. Pine v6's request.footprint returns all three, plus a runnable script and three traps.

Read more →
Technical Analysis·2026-09-16·6 min

VWAP: Why Institutions Watch It, Retail Misreads It

VWAP is the institutional benchmark for execution quality, not a retail entry signal. Four common misuses, plus when anchored VWAP actually matters.

Read more →
Technical Analysis·2026-06-03·11 min

Bollinger Bands Complete Guide — Not Just 'Sell at Upper Band, Buy at Lower Band'

The indicator John Bollinger created in the 1980s. The principles (why ±2 standard deviations), Squeeze breakouts, the %B indicator, the Walking the Bands phenomenon, and Bollinger's own 19 rules.

Read more →
Technical Analysis·2026-06-03·13 min

Candlestick Patterns Complete Guide — 300-Year-Old Wisdom from a Japanese Rice Trader

Invented by Munehisa Homma in the 1700s and brought to the West by Steve Nison in 1990. Ten classic patterns (engulfing / doji / hammer / shooting star / morning star / evening star / three black crows) with real win rates, Pine auto-detection, and why the win rates in books can't be trusted.

Read more →
Technical Analysis·2026-06-03·10 min

Moving Averages Complete Guide — SMA, EMA, and the Real Meaning of the 200-Day

SMA vs EMA, what 5/20/50/200 each represent, the real win rate of golden/death crosses, multi-MA stacking strategies, and why institutions treat the SMA 200 as sacred.

Read more →
Technical Analysis·2026-06-03·13 min

Ichimoku Cloud Complete Guide — 30 Years of Research by a Japanese Journalist

The 'Ichimoku Kinko Hyo' published by Goichi Hosoda in 1969. Full formulas for the five lines, how to read the cloud, the 'sanrentei' perfect bullish signal, Pine examples, and how it differs from EMA / RSI / BB.

Read more →
Technical Analysis·2026-06-03·11 min

MACD Indicator Complete Guide — The Real Use of Golden/Death Crosses

What the three MACD lines actually do, why a pure cross has only a 50% win rate, zero-line filtering, histogram contraction, and a full divergence-detection implementation.

Read more →
Technical Analysis·2026-06-03·10 min

RSI Indicator Complete Guide — Beyond 30/70

How RSI is calculated, four advanced uses (divergence, the 50 centerline, dual timeframes), Pine code, and an analysis of common mistakes.

Read more →
Technical Analysis·2026-06-03·11 min

Support / Resistance / Supply & Demand Zones — Why Certain Price Levels Matter

The difference between S/R and supply/demand zones, strength tiers, Smart Money / ICT concepts (Order Block / Liquidity Pool / FVG), distinguishing real breakouts from false ones, and Pine auto-drawn lines.

Read more →
Technical Analysis·2026-06-03·12 min

Volume Profile / VWAP / TWAP — The Secret of Institutional Order Flow

Principles behind Volume Profile (volume-by-price distribution), VWAP (volume-weighted average price), and TWAP (time-weighted average price), plus institutional execution logic, crypto's 24/7 special cases, and a Pine VWAP example.

Read more →

Strategy Types4 posts

Strategy Comparison1 post

Risk Management3 posts

Security6 posts

Security·2026-08-20·12 min

Bybit API Key: Withdraw, IP Allowlist, Sub-Accounts

Secure a Bybit API key: disable Withdraw, bind IP allowlist, run the bot in a sub-account; Bybit V5 blocks sub-account withdrawal via API. Verified August 2026.

Read more →
Security·2026-08-10·10 min

TradingView MCP debug port: what it opens, close it

TradingView MCP tutorials say to open --remote-debugging-port=9222. What it exposes locally, the real alert-webhook risk, and when to close it (July 2026).

Read more →
Security·2026-08-07·11 min

Secure Bitget API Keys: Sub-account, IP, Passphrase

Secure a Bitget API key with three settings: never tick Withdraw, put it in a sub-account, bind the IP whitelist. Plus Bitget's Passphrase and no auto-expiry.

Read more →
Security·2026-08-06·10 min

BingX API Key: No Withdraw, IP Whitelist, 14d Idle

BingX API key setup: disable withdrawal, bind an IP, and note BingX's little-known 14-day idle-deletion rule Binance users miss. Verified July 2026.

Read more →
Security·2026-07-22·11 min

The Non-Custodial API Key Permissions Checklist for Crypto Trading Bots

Granting an exchange API key more permission than a trading bot actually needs is a common source of risk. This checklist covers what applies across exchanges: separating trading permissions from withdrawal permissions, IP whitelisting, and sub-account isolation, item by item.

Read more →
Security·2026-06-03·9 min

Binance API Key Security: Complete Guide

Disabling withdrawal, IP whitelisting, and 2FA — the three essential practices. How to pick a trustworthy SaaS, how to respond to a leak, and a multi-key sub-account strategy.

Read more →

AI Automation5 posts

AI Automation·2026-10-22·6 min

TradingView to Binance: 5-Checkpoint Debug Guide

Alert fired, webhook sent, account didn't move? 5 checkpoints: freq, payload, auth, Binance rejections, execution reports.

Read more →
AI Automation·2026-08-31·10 min

Running Trading Bots on Cron With Claude Agent SDK

Anthropic paused the $20 SDK-only credit on 6/15. Subscriptions share a 5-hour window; crashed runs still bill. Pricing, cron cadence, Claude→TVSBot split.

Read more →
AI Automation·2026-08-26·5 min

TradingView AI Chart Copilot: Why the Free Plan Cannot Write Pine

After the April 2026 public beta of TradingView AI Chart Copilot, weekly quotas moved to plan-based multipliers. Free cannot write Pine at all — this post reads the official pricing page cell by cell to lay out what each plan can and cannot do.

Read more →
AI Automation·2026-08-05·12 min

Claude Code + TradingView MCP: Almost Auto-Trading

TradingView MCP lets Claude Code read charts, write Pine, manage alerts — but never place trades. Not a missing feature; it is a design choice at the MCP layer.

Read more →
AI Automation·2026-07-22·11 min

You Generated a Pine Script Strategy With AI — Here's What It Takes to Actually Trade It

AI can turn your trading idea into Pine Script, but what comes out is often an indicator rather than a backtestable, tradable strategy — and it may carry outdated version syntax or repainting issues. This post covers the gap between AI-generated code and a live setup: alert configuration and the webhook-to-exchange wiring AI can't do for you.

Read more →

Tool Comparison3 posts

Pine Script3 posts

Automation Gotchas7 posts

Automation Gotchas·2026-10-16·7 min

Why Grid Trading Loses Money?

Grid trading losses explained: three common mistakes and five self-checks for PTT traders.

Read more →
Automation Gotchas·2026-09-21·10 min

TradingView Fibonacci Alerts: Two Webhook Traps

TradingView alerts now attach to Fibonacci retracement/extension drawings and move with them. Two things the docs skip, plus what webhook users should do.

Read more →
Automation Gotchas·2026-09-15·5 min

When Fees Eat Your Signals: A Daily Cap Formula

A bot firing 50 signals a day pays 50 pairs of maker/taker fees. Plug your fee rate and per-trade edge into one formula to find your real daily cap.

Read more →
Automation Gotchas·2026-09-14·11 min

request.security Lookahead: Backtest vs Live Trades

Pine Script's request.security lookahead can leak future data into backtests, breaking live trades. The mechanism, the docs' fix, and five AI questions.

Read more →
Automation Gotchas·2026-09-09·9 min

Pine Script Repainting: Signal Vanished, Order Sent

Alert fires mid-bar, order sent, bar closes, signal gone — that's repainting. Mechanism, the two Pine options, and why webhooks can't save you.

Read more →
Automation Gotchas·2026-09-02·12 min

How to Spot a Trading Bot Scam: 5 Signals to Verify

Five signals to spot a trading bot scam: fund custody, API withdraw permission, dry-run, mechanism transparency, sign-up channel. If the first two fail, walk.

Read more →
Automation Gotchas·2026-06-05·8 min

Why your TradingView webhook orders open at the wrong size — qty_type=usdt vs margin_usdt explained

Your TradingView alert sends qty=20 + leverage=3, you expect a $60 position, but only $20 opens — the perpetual qty_type semantic trap, five sizing modes compared, with a real Binance fill as proof.

Read more →

Quant Basics2 posts

Exchange Integration5 posts

Exchange Integration·2026-09-08·7 min

Gate CrossEx + TradingView Webhook: Missing Middle

Gate's CrossEx routes one Gate API key to 7 exchanges. TradingView webhooks can't hit it directly — here's the middle piece nobody warns you about.

Read more →
Exchange Integration·2026-09-07·7 min

Bitget Reality API Open 8/11: 1/sec/UID Webhook Cap

Bitget removed Reality Order's whitelist 8/11 — any UTA account can API-trade rToken U.S. stocks. Default cap 1/sec/UID; here's a webhook that avoids 429s.

Read more →
Exchange Integration·2026-08-24·10 min

Binance CM-UM Integration and dualSidePosition: The Complete -4531 Handling Guide

Binance's CM-UM integration for dualSidePosition went fully live on 2026-06-30. UM and CM now share a single setting. When you flip mode, any orphan orders or positions on the CM side get rejected as -4531. This is exactly when it fires and how to route around it.

Read more →
Exchange Integration·2026-08-17·10 min

Bitget UTA v3 API Migration: Why Your Webhook Starts Returning 401

When your Bitget account flips from Classic to UTA v3, webhooks still hitting Classic endpoints start returning 401. Why, when, and how to plan the switch.

Read more →
Exchange Integration·2026-07-08·12 min

Which Exchanges Accept TradingView Webhook Signals? The Honest 2026 List

A straight answer to a question most listicles dodge: which of the 15 major exchanges accept TradingView webhooks natively, which only offer manual chart-trading, and which actually need a third-party bridge to automate anything.

Read more →

Architecture Analysis3 posts

Troubleshooting5 posts

Troubleshooting·2026-08-13·9 min

TradingView Notification Schedules Silence Webhooks

TradingView's July 2026 notification schedules suppress every outbound channel — webhooks included — and sticky settings carry them into every new alert.

Read more →
Troubleshooting·2026-08-11·9 min

OKX 54094: Cool-off Rejects REST/WS Webhooks (2026)

Since 2026-07-07, OKX cool-off blocks open/increase on REST, WS, strategy, copy trading, bots (54094); reduce-only closes work; users grandfathered until reset.

Read more →
Troubleshooting·2026-07-22·10 min

Why Pine Script Alerts Don't Remember Anything (and Why That Breaks Naive Automation)

Pine Script re-executes bar by bar — historical bars run once each, but the current unclosed bar recalculates on every tick before it closes — and the script itself has no memory of what it already sent as an alert. This post explains how that property causes automation setups that look reasonable on paper to fire duplicate or missed signals in specific situations.

Read more →
Troubleshooting·2026-07-08·10 min

TradingView Webhook Delay: Official Specs, Common Causes, and What You Can Fix (2026)

We went through TradingView's official webhook specs (timeouts, resends, alert-frequency semantics) plus community-reported delay reports to sort out what's a config mistake you can fix yourself, and what's a structural limit on TradingView's side that you can't.

Read more →
Troubleshooting·2026-07-08·9 min

TradingView Webhook Not Working? A Complete Debugging Flowchart

One flowchart to work through every layer that can silently break a TradingView webhook, from a misconfigured alert to a rejected order on the exchange side, so you stop guessing and start ruling things out.

Read more →

Reliability1 post

Strategy Monetization1 post

Claude × Pine1 post

Crypto Strategy8 posts

Crypto Strategy·2026-06-03·11 min

Cross-Exchange Spread Arbitrage — Why Retail Rarely Captures It

Three walls: withdrawal latency, bot speed, and hidden costs. Why Mt.Gox's 1100% spread and FTX's 30% spread couldn't be arbitraged. Quasi-arbitrage approaches still viable for retail: funding rate spreads, triangular arb, and Hyperliquid CEX-DEX.

Read more →
Crypto Strategy·2026-06-03·12 min

Crypto Trading Tax Guide — Taiwan / Hong Kong / Singapore Compared

Taiwan's overseas income plus AMT (NT$7.5M threshold), Hong Kong's 16.5% profits tax, and Singapore's 0% capital gains. CRS reporting, the Koinly tool, and the risk of being deemed a 'professional trader'.

Read more →
Crypto Strategy·2026-06-03·14 min

Crypto Exchange Deep Comparison — Fees / API / Liquidity / Security

A full comparison of 8 major exchanges: Binance / OKX / Bybit / Bitget / BingX / Gate.io / Hyperliquid / Coinbase. Five recommended combos by trading style (spot holders / short-term perp / funding rate arb / altcoin hunters / privacy-first).

Read more →
Crypto Strategy·2026-06-03·13 min

Perpetual Funding Rate Arbitrage Guide — Earn Without Betting on Direction

Funding rate formula comparison across three major exchanges (Binance/OKX/Bybit), a full delta-neutral arbitrage implementation, breakdown of Ethena USDe's $14.8B model, and realistic annualized returns (1-8% in bear markets, 100%+ in bull markets).

Read more →
Crypto Strategy·2026-06-03·12 min

Grid Trading Complete Guide — Why LUNA Zeroed Out Every Grid

Arithmetic vs geometric grid formulas, which markets suit grids and which don't, a Pionex vs Binance Grid platform comparison, and lessons from LUNA's three-day collapse to zero in 2022.

Read more →
Crypto Strategy·2026-06-03·12 min

Hyperliquid DEX Perpetuals Complete Guide — How a Self-Built L1 Order-Book DEX Works

HyperBFT consensus, CLOB (not AMM), HYPE token design with 0% VC ownership, comparison with dYdX / GMX, API auth via wallet signature, agent wallet permission isolation, and TVSBot referral code.

Read more →
Crypto Strategy·2026-06-03·11 min

On-Chain Analysis for Beginners — Reading Glassnode / Dune / Nansen

Four key metrics: Exchange Inflow/Outflow, UTXO Age / HODL Waves, SOPR, and MVRV. The strengths of Glassnode (metrics) / Dune (SQL) / Nansen (address labels), and how to fold on-chain signals into a trading system.

Read more →
Crypto Strategy·2026-06-03·11 min

Perpetuals vs Spot — How to Choose a Strategy? Four-Dimension Comparison

Four-dimension comparison: cost, leverage, shorting ability, and tax/compounding. Which strategies fit perpetuals, which fit spot, plus a hybrid 'spot accumulation + perp hedge' implementation.

Read more →

Retail Playbook1 post

Complete Tutorial1 post

Want to plug your strategy into auto-trading?

TVSBot supports 7 exchanges + Pine Script + one-click multi-account sync.

Sign up free →