Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Pine Script Programming
Introduction
Introduction (5:39)
Pine Editor (4:06)
PineScript Study and Strategy (3:03)
Versions of PineScript (1:37)
PineScript Fundamentals
How PineScript works? (4:44)
PineScript Code Structure (3:51)
Built-in variables (4:37)
Variables Declaration / Self-Reference Variables (3:36)
Variable Types (4:53)
Data Casting Functions (4:49)
Inputs (7:47)
Operators (part 1) (4:09)
Operators (part 2) (8:19)
if/else, for loop (6:25)
User-defined Functions (5:23)
Comments, Line Wrapping (2:52)
Essential Features
Security Function (7:15)
Non-Standard Chart Types Data (3:24)
Built-In Barstate Variables (4:10)
Built-In Syminfo Variables (3:28)
Built-in Timeframe Variables (2:28)
Sessions and Time Functions (4:59)
Built-in Technical Analysis Variables and Functions (4:01)
Useful Built-in TradingView Functions (5:46)
Custom Alerts, Dynamic Alerts (6:34)
Strategies
Opening a position using a market order (6:20)
Opening a position using a stop/limit order (5:07)
Closing a positions using a market order (5:25)
Closing a position using a stop/limit order (5:16)
Stop Loss / Profit Target / Trailing Stop Loss (5:25)
Built-In Strategy Variables (5:44)
Canceling Orders. Risk Management. (5:23)
Default Strategies Parameters (4:20)
Fake / Repainting Strategies in PineScript (8:42)
Drawings
Plotting lines - plot / hline / fill (9:24)
Plotting shapes - plotshape / plotchar / plotarrow (7:13)
Change Background/Bars Color - bgcolor / barcolor (3:36)
Custom Bar/Candle charts - plotbar / plotcandle (3:14)
Line Objects (9:40)
Label Objects (9:15)
Arrays in PineScript
What is an array? (2:03)
Declaring an array (2:42)
Inserting / Removing / Editing Array Elements (5:32)
Manipulating arrays (3:17)
Calculations on arrays (3:18)
Bonus Updates
Info
Tuple Support for the Security Function in Pine Script (2:20)
Pine Script New Feature: ‘Else If’ Statement (1:29)
Strategy Alerts (5:07)
New Label Styles and Tooltips (2:18)
New Function in Pine Script: `line.get_price()` (2:23)
Use an Input From Another Indicator With Your Strategy/Study (3:03)
A New ‘Resolution’ Parameter Makes Multi-Timeframe Analysis Easy (2:01)
Several Pine Functions Now Support Dynamic Length Arguments (1:33)
Up to 500 labels / lines on chart at once (1:11)
Alert function for dynamic alerts (5:47)
PineScript Exercises
Info
Exercise #1 - Fixing Errors (6:12)
Exercise #2 - Compute S&P Market Capitalization (6:10)
Exercise #3 - Pivot Point Functions (9:11)
Exercise #4 - Line and Label Objects (6:04)
Exercise #5 - Creating Strategies Using Market Orders (4:18)
Exercise #6 - Creating Alerts for Strategies with Market Orders (8:51)
Exercise #7 - Creating Alerts for Strategies with Market Orders with Pyramiding (5:28)
Use Cases
Adding Time Range to PineScript indicator or strategy
Adding Backtesting Date Range to TradingView Strategy
Creating Simple Custom Screener in PineScript
Adding stop loss and profit target to PineScript strategies
Using Trailing Stop Loss in TradingView Strategies
Extending backtesting range for intraday strategies in Tradingview
Computing Complex PineScript Indicator on Higher Timeframe (TradingView)
Creating Alerts for TradingView Strategies with Stop Loss and Profit Target
Creating Alerts for TradingView Strategies with Trailing Stop Loss
Implementing Pyramiding in PineScript Alerts
3Commas - Crypto Trading Bot from TradingView Indicator just in few minutes
Autoview - Create Crypto Trading Bot just in few minutes in TradingView
Sending TradingView Alerts to Telegram in few clicks (Alertatron)
Calculating Optimal Stop Loss and Profit Target Levels for TradingView Strategy with Excel
Teach online with
Pine Editor
Complete and Continue