Learning resources

TVSBot Blog

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

Quant Stories3 posts

Technical Analysis8 posts

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 Security: Complete Guide — Disable Withdraw, IP Allowlist, Sub-Accounts

How to secure a Bybit API key: skip Withdraw, bind IP allowlist, isolate the bot in a sub-account — Bybit V5 blocks sub-account withdrawal at the API layer. Verified August 2026.

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

TradingView MCP debug port: what it opens, when to close

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

Bitget API Key Security: The Complete Guide — sub-account, IP Whitelist, Passphrase

How to actually secure a Bitget API key — the three settings that decide how much risk your key carries: never tick Withdraw, put the bot key in a sub-account (Bitget lets sub-accounts manage their own keys), and bind the IP whitelist. Plus the Bitget-specific bits: Passphrase and no documented auto-expiry.

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

BingX API Key Security: The Complete Guide — Disable Withdraw, IP Whitelist, 14-Day Idle Expiry

How do you set up a BingX API key safely? The three things that actually move your risk: disable withdrawal, bind an IP, and BingX's little-known 14-day idle-deletion rule that Binance users routinely 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 →

Automation Gotchas3 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

AI Automation4 posts

Tool Comparison2 posts

Troubleshooting5 posts

Troubleshooting·2026-08-13·9 min

TradingView Notification Schedules Silence Webhooks Too: A New Cause of Silent Auto-Trade Failures

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 Error 54094 — Cool-off Period Now Rejects REST/WebSocket Webhooks (2026)

As of 2026-07-07, OKX cool-off applies to REST, WebSocket, strategy orders, copy trading and bots — open/increase orders get server-side rejected with 54094. Reduce-only closes still go through, and existing users are grandfathered until they reset the cool-off.

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 →

Pine Script1 post

Retail Playbook1 post

Complete Tutorial1 post

Quant Basics1 post

Want to plug your strategy into auto-trading?

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

Sign up free →