{"product_id":"bollinger-bands-strategy-pine-script-thinkscript","title":"Bollinger Bands Strategy — Pine Script \u0026 ThinkScript","description":"\u003ch2\u003eBollinger Bands Strategy — 2 Script Files Included\u003c\/h2\u003e\n\n\u003cp\u003e\n  \u003cstrong\u003eFrom the AutoTrader Learn series · Includes: Pine Script v5 (TradingView) + ThinkScript (thinkorswim)\u003c\/strong\u003e\n\u003c\/p\u003e\n\n\u003cp\u003e\n  Created by John Bollinger in the 1980s, Bollinger Bands consist of a 20-period SMA flanked\n  by upper and lower bands at ±2 standard deviations. They dynamically expand in high-volatility\n  conditions and contract in low-volatility ones — making the \u003cstrong\u003eBollinger Squeeze\u003c\/strong\u003e\n  one of the most reliable breakout-detection setups in technical analysis.\n\u003c\/p\u003e\n\n\u003cp\u003eYour purchase includes \u003cstrong\u003e2 ready-to-use script files\u003c\/strong\u003e:\u003c\/p\u003e\n\n\u003chr\u003e\n\n\u003ch3\u003eFile 1 — Pine Script v5 for TradingView\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eThree signal modes selectable from the inputs panel:\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eMean Reversion\u003c\/strong\u003e — band-touch reversals back toward the midline SMA\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eSqueeze Breakout\u003c\/strong\u003e — enters when bands expand after a historically narrow squeeze\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003e%B Threshold\u003c\/strong\u003e — signals based on the %B oscillator crossing configurable levels\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003eConfigurable SMA length (default 20) and standard deviation multiplier (default 2.0)\u003c\/li\u003e\n  \u003cli\u003eBuilt-in Squeeze detector using a band-width historical percentile filter\u003c\/li\u003e\n  \u003cli\u003eStop-loss and take-profit calculated automatically from band width\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eHow to use:\u003c\/strong\u003e Open TradingView → Pine Editor → Paste → Add to chart → select signal mode → Strategy Tester\u003c\/p\u003e\n\n\u003chr\u003e\n\n\u003ch3\u003eFile 2 — ThinkScript for thinkorswim\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSame three signal modes: Mean Reversion, Squeeze Breakout, and %B Threshold\u003c\/li\u003e\n  \u003cli\u003eBollinger Squeeze \u003cstrong\u003eScanner script\u003c\/strong\u003e included — screen any watchlist for active squeeze setups\u003c\/li\u003e\n  \u003cli\u003e%B indicator plotted as a separate sub-panel\u003c\/li\u003e\n  \u003cli\u003eConfigurable band length (default 20) and deviation multiplier (default 2.0)\u003c\/li\u003e\n  \u003cli\u003eUpper\/lower band alert conditions ready to activate in the thinkorswim Alert Wizard\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eHow to use:\u003c\/strong\u003e Open thinkorswim → Studies → Edit Studies → Create → Paste → Apply to chart. Use the Scan script to screen your watchlist.\u003c\/p\u003e\n\n\u003chr\u003e\n\n\u003cp\u003e\u003cem\u003eWorks on all asset classes. Best results on instruments with well-defined ranges or breakout tendencies.\u003c\/em\u003e\u003c\/p\u003e","brand":"Auto Trader X","offers":[{"title":"Default Title","offer_id":61924289249610,"sku":null,"price":14.99,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1047\/7689\/2746\/files\/bollinger-bands-light.png?v=1779886223","url":"https:\/\/algotradingx.myshopify.com\/products\/bollinger-bands-strategy-pine-script-thinkscript","provider":"Auto Trader X","version":"1.0","type":"link"}