awesome-pinescript
A Comprehensive Collection of Everything Related to Tradingview Pine Script.
https://github.com/pAulseperformance/awesome-pinescript
Last synced: 4 days ago
JSON representation
Alerts & Notifications
- Alertatron - Relays TradingView alerts to Telegram, Discord, Slack, email or a webhook, with a chart snapshot attached.
- Python Webhook Alert Provider - Listens to TradingView alerts over a webhook with Flask and forwards them to Telegram, Discord, Twitter and email.
- Quantium Signal - A self-hosted SMTP server that lets you use TradingView alerts without the premium plan.
- mkt-alerts - Self-hosted CLI that evaluates Pine Script v5 indicators independently and delivers price, RSI, MACD and custom alerts via ntfy, email or Telegram.
Automated Order Execution
Closed Source
- PSStrategyX - Indicator that backtests and then connects itself to AutoView, so you never write alert syntax by hand.
- 3Commas - Can receive TV alerts and connect them to their bots to execute simple orders on crypto exchanges.
- Cryptohopper - Use Cryptohopper with the TradingView webhook URL to send TV alerts to your bots, for automated order execution on one or multiple exchanges.
- ProfitView - Google Chrome extension that receives TV alerts and relays orders to crypto exchanges.
- Pine Connector - Auto-execute your TradingView alerts on MetaTrader 4 and 5.
- TradingConnector - TradingView alerts to MT4/MT5: converts TV alerts into instant orders on MT4/MT5 in forex, indices and commodities markets.
- TradingView.to - The simplest, most affordable and reliable automation tool.
- TV Hub - Executes TradingView alerts as spot and futures orders on Binance, Bybit, OKX, KuCoin, Coinbase, Bitget and Hyperliquid, with position size, stop loss and take profit set per alert.
- Capitalise.ai - Code-free trading automation that accepts TradingView webhooks.
- Tradelab.ai - Free TradingView bot builder. Build the strategy you want, no compromises, no code skills required, free to start.
- Cornix - Automated crypto trading for everyone.
- Altrady - You can run Pine Script strategies on TradingView that will automatically open positions based on the signal.
- Tickerly † - A fast and flexible service that enables you to automate any strategy on forex, stock, futures or cryptocurrency assets.
- TradersPost † - Stocks, options, futures, crypto and paper trading with TradingView webhooks.
- PickMyTrade - Automates TradingView strategies and indicators for futures, connecting TradingView with Tradovate and Rithmic.
- Mizar - Runs your TV strategies via webhooks, with fast and reliable execution across several crypto exchanges.
- AlgoWay - TradingView webhook automation for MT5, cTrader, TradeLocker, MatchTrader, DxTrade, Capital.com, IBKR, Binance, OKX, Bybit and other execution platforms.
- AutoView - Free for testnets. Google Chrome extension that receives TV alerts and relays orders to crypto exchanges.
- Frostybot - Minimal webhook endpoint designed to execute orders on a variety of well-known exchanges from TradingView alerts.
- TradeSanta - Automated trading software for TradingView.
Open Source
- Python Pine Bot Client - Client implementation of a trading bot that uses Pine Script and Python.
- Misc Collection - Various Python crypto bots, with a TradingView alert bot.
- Instabot Trader - Server-side bot that powers Alertatron: converts text messages sent over HTTP or via a Telegram bot into a set of trading orders on a variety of exchanges (Bitfinex, Deribit and Coinbase Pro).
- Autoview Chrome Docker Bot - Dockerized Autoview extension on a VPS.
- TradingView Webhook Receiver - Self-hosted, dependency-free receiver that turns TradingView alerts into broker order requests, with a secret check, duplicate protection, size and price limits, a market-hours check, a kill switch and an audit log. Ships with a paper adapter only.
Community
- TV Public Scripts - TradingView's public library contains all user-published scripts.
- Editors Picks - TradingView's curated list of the best indicators.
- Awesome TradingView - TradingView's own curated list, covering the charting libraries and widgets rather than the language.
Development Tools
- Pineify - AI-assisted Pine Script v6 coding agent and visual no-code builder for indicators, strategies and screeners, with parameter optimization and backtest.
- Pine Script Pro - Professional language support for Pine Script: static analysis, type-infection checking and intelligent tooltips for advanced TradingView developers.
- Python TradingView TA - Unofficial TradingView technical analysis wrapper. Reads the ratings off a symbol's page, which is the cheapest way to get a second opinion into a script.
- Charts - Runs Pine Script and MQL4/MQL5 indicators in the browser on any market, and exports Pine Script to MQL5.
-
Pine Script lookahead checker
- Open-source static check that flags
request.securitycalls usinglookahead_onwithout a history offset, which leak higher-timeframe values into past bars. - TradingView MCP server - Model Context Protocol server that searches TradingView's indicators and strategies and returns their Pine source, so an agent can read the code before it writes any.
- TradingView strategy optimizer - Open-source browser extension that grid-searches and walk-forward tests a strategy's inputs, and draws the result as a heatmap.
Indicators
Collections
- Pine Coders Publications - A plethora of useful techniques developed by the Pine Coders account.
- Pine Script Indicators Collection - A collection of various technical indicators.
- Pine Script To ThinkScript Repo - Repository of Pine Script indicators converted to TOS ThinkScript.
- Traderslist - Discover trading indicators, tools and algorithms.
Interesting
- Fundamentals Graphing - Really cool way of graphing with Pine Script!
- Flag Finder - A technical analysis tool to identify bull and bear flags.
- Developing Market Profile - Changes bar by bar, and displays price in relation to time for a user specified number of past bars.
- Cycles Analysis - Gives a visual representation of bull/bear markets and gives a prediction based on the previous data.
- ICT Killzones Pivots TFO - Identifies ICT killzones while storing their highs and lows for future reference, until traded through.
- Trend Correlation Heatmap - Displays the correlation of different assets over several timeframes on the chart.
- TTP VIX Spy - Uses data from VIX to better time entries in the market.
Math
- Black Scholes - The Black-Scholes model is a mathematical model used for pricing options. From this model you can derive the theoretical fair value of an options contract.
Screeners
- Indices Sector Sigma Spikes - Aims to provide a bird's-eye view across sector indices, to find which sector is having a significant or 'out-of-norm' move in either direction.
- Mean Reversion Channel - Scans through up to 40 symbols and lists the symbols that are currently within the overbought or oversold zone as defined by the Mean Reversion Channel indicator.
-
120 Ticker Screener
- In specific circumstances it is possible to extract data far above the 40
request.*()call limit for one script. - TradingView Screener - A Python package that lets you create TradingView screeners by interacting directly with TradingView's API.
Tools
- Script Stopwatch - Measure the performance of your scripts.
- Filter Response - Analyze the characteristics of your filters, with DSP.
- Signal Generator - Debug and test indicators and strategies that accept external inputs.
- Interactive Motive Wave Checklist - An interactive tool that can be used for learning a bit about Elliott Waves.
- Textmate Language for Pine Script v5 - Syntax highlighter for TextMate and VSCode.
Volume
- Liquidity Sentiment Profile - An advanced charting tool that measures by combining price and volume data over specified anchored periods, and highlights within a sequence of profiles the distribution of the liquidity and the market sentiment at specific price levels.
Learning Resources
- Digital Signal Processing - Techniques for applying DSP to a price series, and what each filter does to it.
- FAQ - A powerful, curated list of frequently asked questions. Bookmark this.
- Pine Coders Website - Useful information for Pine coders.
- Stack Overflow - Ask questions tagged with pine-script.
- Backtest Rookies - Good quality blog articles focusing on realizing specific tasks in Pine.
- Pine Coders Utils - Reusable code snippets, tricks and tips.
- What is Repainting? - It's not fun. You should learn about it.
Libraries
- Script Stopwatch - Measure the performance of your scripts.
Official Resources
- Pine Script v4 Language Reference - The older reference, for scripts that have not been ported.
- Pine Script v6 User Manual - Official documentation on Pine Script version 6.
- Pine Script v4 User Manual - Official documentation on Pine Script version 4.
- Pine Script v5 User Manual - Official documentation on Pine Script version 5.
- Pine Script v6 Language Reference - Index of built-in variables, functions and operators for the current language version.
- Migrating to Pine Script v6 - The breaking changes from v5 and what to edit in an existing script.
Running Pine Outside TradingView
-
PineTS
- Transpiler and runtime that executes Pine Script indicators and strategies outside TradingView, published as the
pinetsnpm package. - pynecore - A Pine Script-compatible Python runtime for indicators and strategies, aimed at backtesting and live execution from Python.
- pineforge-engine - Open-source C++17 engine for backtesting and forward execution of Pine strategies at speed.
- OpenPineScript - Open-source Pine Script compiler and runtime for v1 through v6, in Node.js, the browser or Python.
- DegenView - An open-source TradingView alternative that renders Pine scripts on its own charts.
Strategies
- Stop Loss and Take Profit - Educational example of the two exits wired into a strategy.
- Stepped Trailing Stop Loss - Educational example of a trailing stop that steps up as price moves.
- Portfolio Backtesting Engine - Portfolio backtesting.
Style Guides & Best Practices
- Writing A Good Description - How to write a good description when publishing your Pine.
- Writing Good Pine - How to write good clean code.
- Script Moderation - How to not get banned.