Free learning hub

Learn Pine Script

Guides, how-to articles, and a function reference for building TradingView strategies — written alongside the platform that tests them. Everything below is free to read, no account needed.

Getting started

New to Pine Script or to the platform? Start with the fundamentals and the developer guide.

How-to guides

Practical answers to specific Pine Script problems — inputs, labels, timeframes, value ranges, and more.

Function reference

Reference entries for built-in Pine Script functions, with parameters and worked examples.

Strategy validation

Take a strategy beyond the backtest: configuration, webhooks, and comparing signals against real fills.

Put it into practice

Write a strategy in the AI Pine editor, backtest it on historical bars, and see whether it holds up before any alert fires.

Start free