TVSBot Blog
Auto trading, technical analysis, quant strategies, crypto — for traders who want to write their own.
Quant Stories3 posts
Bridgewater, CTA, Renaissance, and other institutional storiesKevin Zhou + Galois — Saw Through UST Five Months Early but Only Made $15M
Who was the earliest public warning voice in crypto before Luna collapsed in May 2022? Born in Shanghai, moved to the US at age three, Berkeley MFE. He made $15M, not the rumored 'hundreds of millions' — the lesson is the discipline of being 'right on direction, deliberately small on size'.
Michael Burry — What He's Actually Been Doing in the 17 Years Since The Big Short
The Big Short turned him into a legend. But in the 17 years since 2008 he's fought with the same framework — exiting GameStop early, missing on Tesla, flipping on China tech, the 2023 'Sell' tweet that backfired in 8 weeks, the 2025 AI shorts, and his strangely hands-off stance on BTC.
Bridgewater + Ray Dalio + the All-Weather Strategy
Ray Dalio founded Bridgewater in his own apartment in 1975 and grew it to $124B AUM over 47 years. The design logic of All-Weather, the standout 2008/2010 campaigns, the 2022 retirement controversy, and the fallout from Copeland's 'The Fund'.
Technical Analysis8 posts
RSI, MACD, EMA, Bollinger Bands, candlesticksBollinger 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.
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.
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.
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.
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.
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.
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.
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.
Strategy Types4 posts
Trend, mean reversion, breakout, pairs tradingBreakout Strategy Complete Guide — Donchian / NR7 / Opening Range
Three classic breakout strategies: Donchian Channel (the Turtle core), NR7 contraction, and ORB opening range. Three false-breakout filters: ATR range, volume, and trend direction.
CTA Trend Following Explained — From the Turtle Traders to Crisis Alpha
In 1983 Richard Dennis ran a Wall Street Journal ad to recruit 23 amateurs, trained them for two weeks, and gave each $500K-$2M. Five years later they'd made $175M. The Turtle rules plus Pine code and a Crisis Alpha breakdown.
Mean Reversion Strategy Explained — Why LTCM Lost $4.6B Running It
Ornstein-Uhlenbeck math foundations, four implementations (RSI / Z-score / Bollinger / pairs trading), lessons from the 1998 Long-Term Capital Management collapse, and five safety rules for retail traders.
Pairs Trading / Statistical Arbitrage — How Morgan Stanley Made Its First Fortune in 1980
From cointegration, spread, and Z-Score math foundations to Morgan Stanley's 1986 black-box origins, the LTCM 1998 lessons, the limits of BTC vs ETH pairs in crypto, plus Pine examples and five common retail pitfalls.
Strategy Comparison1 post
Side-by-side strategy comparisons to help you chooseRisk Management3 posts
Kelly criterion, ATR sizing, stop-loss mechanicsDynamic Position Sizing for TradingView Webhook Bots: Percent-of-Equity vs Fixed Quantity
The equity curve in your backtest report is not the same number as the balance sitting in your exchange account. This post compares two common position-sizing approaches for TradingView webhook bots — percent-of-equity and fixed quantity — and where each one causes live orders to drift from what the backtest expected.
ATR Complete Guide — Sizing Positions with Volatility
The volatility indicator Wilder invented in 1978. Four real-world uses (dynamic stops / Turtle position sizing / breakout filtering / trend strength) with Pine examples. Core risk management.
Kelly Criterion and Position Sizing Explained — Why Most People Use 'Half Kelly'
Original Kelly Criterion plus its trading application, the Edward Thorp story, why Half Kelly became industry consensus, and a Pine implementation.
Security6 posts
API keys, platform architecture, attack defenseBybit 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.
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).
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.
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.
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.
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.
Automation Gotchas3 posts
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.
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.
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.
Exchange Integration5 posts
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.
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.
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.
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.
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.
Architecture Analysis3 posts
Where to Put the TradingView Webhook Fan-Out Layer
TradingView alerts send to one webhook URL. Fan-out to Telegram + exchange needs a middle layer — the trade-offs, ordering, and dedup traps to know.
TradingView Watchlist Alerts Now Support Extended Hours — Cross-Session Automated Trading Timing Just Changed
TradingView added extended-hours support to watchlist alerts on 2026-07-02. Here are the four official rules, three concrete impacts on webhook automation, and a self-check UI list.
Why 3Commas Got $22M Stolen, and Why TVSBot's Design Prevents It
Deep dive into the December 2022 3Commas $22M API key leak. Pooling a million keys in centralized custody is a structural single point of failure of custodial bot platforms.
AI Automation4 posts
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.
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.
Claude Code + TradingView MCP: What's Missing Before 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.
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.
Tool Comparison2 posts
Which TradingView Plan Actually Runs Webhooks? A Real-World Breakdown of All 5 Plans (2026)
Read cell-by-cell from the pricing page comparison table: Basic has no webhooks; Essential has webhooks but no multi-condition; multi-condition requires Plus; non-expiring alerts require Premium.
PineConnector Alternatives for Crypto: What Actually Works in 2026
Searching for a PineConnector alternative for crypto? PineConnector doesn't support any crypto exchange at all — it only bridges TradingView to MetaTrader 4/5 for forex. Here's the real breakdown of tools that actually connect to Binance, Bybit, and other exchanges.
Troubleshooting5 posts
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.
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.
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.
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.
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.
Reliability1 post
Strategy Monetization1 post
Claude × Pine1 post
Crypto Strategy8 posts
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.
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'.
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).
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).
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.
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.
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.
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.
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 →