TradingView Pine Script programming tutorials
Introduction
Platform
Fundamentals
Operators
If/else
Strings
Settings
Script settings
Indicator settings
Strategy settings
- The strategy() function
- All strategy settings
- Recommended settings
- Manual strategy settings
- Configure with code or hand
Inputs
Work with Pine Script
Bar data
Price data
Instrument data
Chart information
Bar state
Math
Time & date
Time zone
Session
Technical analysis
Example indicators
Visual output
Colours
Bar colour
Background colour
Plots
Alerts
Alert conditions
Strategy alerts
Drawings
Labels
- Move label functions
- Update time coordinate
- Update price coordinate
- Update time & price
- Modify time coordinate style
- Set label anchoring
Boxes
- Functions that move box
- Move right border
- Move left border
- Update top border
- Update bottom border
- Change left & top borders
- Change right & bottom borders
Trend lines
Advanced Pine Script
Arrays
Trading strategies
Orders
Backtesting
Trade info
Position info
Strategy performance
Risk management
Money management
Automated trading
Example strategies
Alert automation
Appendix
Errors
- Bad session spec
- One output function call
- Needs indicator() or strategy()
- Out of depth at index
- Requests too many securities
- Loop too long
Selected praise for Pine Script tutorials
Once again I want to thank you for your work. The knowledge and experience you are sharing with us are priceless! I owe you big! Stay safe :)
2/4I really appreciate and thank you for your efforts and simple explanations of Pine Script. The information is very easy to understand and well structured.
I could not get nor understand those Pine Script things with the official documentation. But on your site, I found it simple and the information addresses the developer’s key questions to the point.
I have a coding background but for a long time didn’t code. Your site’s information helped me achieve what I was trying to do.
3/4Many thanks for the excellent work you did creating this website. The Pine Script content is very precise and intelligible.
I’m new to Pine Script and have very few coding skills, that’s why this course is a great help for me. Thanks!
4/4There are 40 chapters, 506 lessons, 1440 images, and 872k words in total.
Your Pine Script tutorials are basically saving me right now!
There’s really no good structured documentation on programming TradingView strategies.
I am so glad to have stumbled upon your expertise and website. Thank you very much!
Fuad, Germany
1/4