Uploaded January 2022 | Updated November 2026, 3 hours ago
💹 FREE Complete Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
You need to learn Pine Script RIGHT NOW! Stop trading with one hand tied behind your back.
Gain the advantage over other traders who don't know how to code - and make your own trading alerts, analysis tools and strategy scripts.
Take your trading to the next level - and enhance your edge through code!
This guide is still accurate in 2024 - so if you've been waiting to elevate your trading with Pine Script, now is the perfect time.
💹 Pine Script Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
💹 Create Your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
💹 My Indicators: zenandtheartoftrading.com/indicators
🤍 Socials: theartoftrading.com
Want to learn Pine Script for the TradingView platform? Look no further. I have you covered!
With over 16 years of coding experience and 4+ years of trading experience, I specialize in TradingView's Pine Script programming language and I'm here to pass on everything I've learned about both trading and coding.
If you want more information about who I am and what I do, head over to zenandtheartoftrading.com/about
▼Timestamps▼
00:00:00 - Intro & Overview
00:01:35 - The Pine Script Editor
00:11:25 - The Pine Script Compiler
00:19:07 - Hello World!
00:27:00 - Comments
00:33:06 - Indicator Function
00:47:05 - Namespaces & Libraries
00:52:34 - Price & Indicator Series
01:01:38 - Data Types
01:13:59 - Declaring Variables
01:28:03 - Getting User Input
01:35:50 - Generating Alerts
01:49:46 - Plotting Data
02:02:19 - Moving Average Crosses
02:05:47 - Outro & Mastery Course
#PineScript #TradingView #Tutorial
💹 FREE Complete Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
You need to learn Pine Script RIGHT NOW! Stop trading with one hand tied behind your back.
Gain the advantage over other traders who don't know how to code - and make your own trading alerts, analysis tools and strategy scripts.
Take your trading to the next level - and enhance your edge through code!
This guide is still accurate in 2024 - so if you've been waiting to elevate your trading with Pine Script, now is the perfect time.
💹 Pine Script Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
💹 Create Your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
💹 My Indicators: zenandtheartoftrading.com/indicators
🤍 Socials: theartoftrading.com
Want to learn Pine Script for the TradingView platform? Look no further. I have you covered!
With over 16 years of coding experience and 4+ years of trading experience, I specialize in TradingView's Pine Script programming language and I'm here to pass on everything I've learned about both trading and coding.
If you want more information about who I am and what I do, head over to zenandtheartoftrading.com/about
▼Timestamps▼
00:00:00 - Intro & Overview
00:01:35 - The Pine Script Editor
00:11:25 - The Pine Script Compiler
00:19:07 - Hello World!
00:27:00 - Comments
00:33:06 - Indicator Function
00:47:05 - Namespaces & Libraries
00:52:34 - Price & Indicator Series
01:01:38 - Data Types
01:13:59 - Declaring Variables
01:28:03 - Getting User Input
01:35:50 - Generating Alerts
01:49:46 - Plotting Data
02:02:19 - Moving Average Crosses
02:05:47 - Outro & Mastery Course
#PineScript #TradingView #Tutorial




![How To SPLIT ALERTS • Pine Script [OUTDATED V4] Tutorial
Pine Script Mastery Course: https://courses.theartoftrading.com/courses/pine-script-mastery
FREE Pine Script Basics Course: https://courses.theartoftrading.com/courses/pine-script-basics-course
Source Code: https://courses.theartoftrading.com/pages/pine-script-mastery-source-code#splitalerts
My Indicators: https://zenandtheartoftrading.com/indicators/
Pine Scripters Network (Forum): https://www.pinescripters.net
Want to learn Pine Script? Look no further. I have you covered.
This guide covers how to split Long & Short alerts in your scripts.
With over 15 years of coding experience and 4+ years of trading experience, I now specialize in TradingViews Pine Script programming language and Im here to pass on everything Ive learned about both trading and coding.
If you want more information about who I am and what I do, head over to https://zenandtheartoftrading.com/about.
▼Timestamps▼
00:00 - Intro
01:07 - Get Input
02:04 - Detect Patterns
03:44 - How To Split Alerts
06:00 - Setting Your Alerts
#PineScript #TradingView #Trading How To SPLIT ALERTS • Pine Script [OUTDATED V4] Tutorial](https://i.ytimg.com/vi/JEwBybsvfDc/mqdefault.jpg)
![Pine Script [OUTDATED V4] Tutorial | Lesson 2 | Drawing Data to Your Charts
Pine Script Mastery Course: https://courses.theartoftrading.com/courses/pine-script-mastery
FREE Pine Script Basics Course: https://courses.theartoftrading.com/courses/pine-script-basics-course
My Indicators: https://zenandtheartoftrading.com/indicators/
Pine Scripters Network (Forum): https://www.pinescripters.net
Want to learn how to code in Pine Script but unsure of where to even start? Fear not! I have you covered.
In this video lesson series Im going to teach you how to create your own scripts in TradingViews Pine Script programming language. Todays lesson covers drawing visual data to your chart, specifically the highest high and the lowest low of the previous 50 candles or bars.
Get ready to take your trading to the next level. Im excited to share my knowledge with the trading community to help you guys enhance your edge and become the best traders you can possibly be!
For more information visit my website where I have a series of text lessons as well as my collection of open-source TradingView indicators: https://zenandtheartoftrading.com/pinescript/
Lesson 1: https://www.youtube.com/watch?v=2sRMXvxILlA
Lesson 2 Source Code: https://zenandtheartoftrading.com/pine-script-video-lessons/
Pine Script Wiki: https://www.tradingview.com/pine-script-docs/en/v4/Introduction.html
My Other Indicators: https://zenandtheartoftrading.com/indicators/
Visit https://zenandtheartoftrading.com for more forex and trading psychology tips!
Public Forex Trading Journal: https://zenandtheartoftrading.com/forex-journal/
Best Trading Books: https://zenandtheartoftrading.com/top-10-best-trading-books/
Best Trading Videos: https://zenandtheartoftrading.com/video-library/
Best Charting Platform: https://zenandtheartoftrading.com/tradingview-review/
Best Indicators For Forex: https://zenandtheartoftrading.com/blog/forex/3-best-forex-trading-indicators/
Music: https://soundcloud.com/mjslabosz
Disclaimer:
The content covered in this video is NOT investment advice and I am not a financial advisor. The material covered and the resources offered are for educational purposes only. Always do your own research and only execute trades based on your own personal judgment.
#Forex #TradingView #Indicator Pine Script [OUTDATED V4] Tutorial | Lesson 2 | Drawing Data to Your Charts](https://i.ytimg.com/vi/KVRDSaYpw7s/mqdefault.jpg)


![Pine Script [OUTDATED V4] Tutorial | Lesson 7 | How To Use ATR Trailing Stop Loss
Pine Script Mastery Course: https://courses.theartoftrading.com/courses/pine-script-mastery
FREE Pine Script Basics Course: https://courses.theartoftrading.com/courses/pine-script-basics-course
My Indicators: https://zenandtheartoftrading.com/indicators/
Pine Scripters Network (Forum): https://www.pinescripters.net
Want to learn how to code in Pine Script but unsure of where to even start? Fear not! I have you covered.
In this video lesson series Im going to teach you how to create your own scripts in TradingViews Pine Script programming language.
Todays lesson covers how to use the ATR indicator in order to create a trailing stop loss tool.
Get ready to take your trading to the next level. Im excited to share my knowledge with the trading community to help you guys enhance your edge and become the best traders you can possibly be!
For more information visit my website where I have a series of text lessons as well as my collection of open-source TradingView indicators: https://zenandtheartoftrading.com/pinescript/
Lesson 7 Source Code: https://zenandtheartoftrading.com/indicators/atr-trailing-stop-indicator/
Pine Script Wiki: https://www.tradingview.com/pine-script-docs/en/v4/Introduction.html
My Other Indicators: https://zenandtheartoftrading.com/indicators/
Visit https://zenandtheartoftrading.com for more forex and trading psychology tips!
Join My Mailing List: https://mailchi.mp/f29afd740719/zenandtheartoftrading
Public Forex Trading Journal: https://zenandtheartoftrading.com/forex-journal/
Best Trading Books: https://zenandtheartoftrading.com/top-10-best-trading-books/
Best Trading Videos: https://zenandtheartoftrading.com/video-library/
Best Charting Platform: https://zenandtheartoftrading.com/tradingview-review/
Best Indicators For Forex: https://zenandtheartoftrading.com/blog/forex/3-best-forex-trading-indicators/
Music: https://soundcloud.com/mjslabosz
Disclaimer:
The content covered in this video is NOT investment advice and I am not a financial advisor. The material covered and the resources offered are for educational purposes only. Always do your own research and only execute trades based on your own personal judgment.
#PineScript #TradingView #Indicator Pine Script [OUTDATED V4] Tutorial | Lesson 7 | How To Use ATR Trailing Stop Loss](https://i.ytimg.com/vi/Ly_vXHNaYnY/mqdefault.jpg)

