Uploaded March 2020 | Updated November 2026, 2 hours ago
Pine Script Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
FREE Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
My Indicators: zenandtheartoftrading.com/indicators
Pine Scripters Network (Forum): pinescripters.net
--------------------------------------------------------------------------------------------------------
Note: I forgot to mention in this lesson that you can only use ONE alert function per script. So if your script generates multiple alert conditions, then you must include all of your alert booleans in the single line of code. For example:
alertcondition(isRsiOB or isRsiOS or someThirdCondition or someFourthCondition, title="Alert Title", message="Alert Message")
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 I'm going to teach you how to create your own scripts in TradingView's Pine Script programming language.
Today's lesson covers how to add alert functionality to your custom-built scripts or any scripts that you find on TradingView that do not contain alert functionality already.
Get ready to take your trading to the next level. I'm 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: zenandtheartoftrading.com/pinescript
--------------------------------------------------------------------------------------------------------
Lesson 5 Source Code: zenandtheartoftrading.com/pinescript/how-to-create-tradingview-alerts
Pine Script Wiki: tradingview.com/pine-script-docs/en/v4/Introduction.html
My Other Indicators: zenandtheartoftrading.com/indicators
Visit zenandtheartoftrading.com for more forex and trading psychology tips!
Join My Mailing List: https://mailchi.mp/f29afd740719/zenandtheartoftrading
Public Forex Trading Journal: zenandtheartoftrading.com/forex-journal
Best Trading Books: zenandtheartoftrading.com/top-10-best-trading-books
Best Trading Videos: zenandtheartoftrading.com/video-library
Best Charting Platform: zenandtheartoftrading.com/tradingview-review
Best Indicators For Forex: zenandtheartoftrading.com/blog/forex/3-best-forex-trading-indicators
Music: 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 Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
FREE Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
My Indicators: zenandtheartoftrading.com/indicators
Pine Scripters Network (Forum): pinescripters.net
--------------------------------------------------------------------------------------------------------
Note: I forgot to mention in this lesson that you can only use ONE alert function per script. So if your script generates multiple alert conditions, then you must include all of your alert booleans in the single line of code. For example:
alertcondition(isRsiOB or isRsiOS or someThirdCondition or someFourthCondition, title="Alert Title", message="Alert Message")
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 I'm going to teach you how to create your own scripts in TradingView's Pine Script programming language.
Today's lesson covers how to add alert functionality to your custom-built scripts or any scripts that you find on TradingView that do not contain alert functionality already.
Get ready to take your trading to the next level. I'm 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: zenandtheartoftrading.com/pinescript
--------------------------------------------------------------------------------------------------------
Lesson 5 Source Code: zenandtheartoftrading.com/pinescript/how-to-create-tradingview-alerts
Pine Script Wiki: tradingview.com/pine-script-docs/en/v4/Introduction.html
My Other Indicators: zenandtheartoftrading.com/indicators
Visit zenandtheartoftrading.com for more forex and trading psychology tips!
Join My Mailing List: https://mailchi.mp/f29afd740719/zenandtheartoftrading
Public Forex Trading Journal: zenandtheartoftrading.com/forex-journal
Best Trading Books: zenandtheartoftrading.com/top-10-best-trading-books
Best Trading Videos: zenandtheartoftrading.com/video-library
Best Charting Platform: zenandtheartoftrading.com/tradingview-review
Best Indicators For Forex: zenandtheartoftrading.com/blog/forex/3-best-forex-trading-indicators
Music: 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

![🤖 How to use AUTOVIEW to send trading commands to OANDA 🤖 AutoView Guide (PART 3/8) [PSv4]
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
AutoView: https://autoview.with.pink/
My Indicators: https://zenandtheartoftrading.com/indicators/
Create Your FREE TradingView Account: https://www.tradingview.com/gopro/?offer_id=10&aff_id=15271
Want to learn Pine Script? Look no further. I have you covered!
This lesson demonstrates how to use the various AutoView commands for interacting with the Oanda API.
With over 15 years of coding experience and 4+ years of trading experience, I 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:00 - Commands Overview
03:30 - Market Orders
05:34 - Disable Parameter
06:50 - Delay Parameter
07:45 - Close Position
08:50 - SL/TP Pips
12:12 - SL/TP Price
15:50 - Guaranteed Stop Loss
17:40 - Limit Orders
20:30 - GTD Expiry (Date)
22:20 - GTT Expiry (Time)
26:00 - Break-Even Command
39:16 - Trailing Stop Command
44:42 - Reduce Only Parameter
46:52 - Account Alias Parameter
51:20 - More Resources
#PineScript #TradingView #AutoView 🤖 How to use AUTOVIEW to send trading commands to OANDA 🤖 AutoView Guide (PART 3/8) [PSv4]](https://i.ytimg.com/vi/BpOQSBUJFB4/mqdefault.jpg)
![How to AUTOMATE a Pine Script STRATEGY 🤖 AutoView Guide (PART 6/8) [PSv4]
+ 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 & Strategies Course: https://courses.theartoftrading.com/courses/my-indicators
+ Source Code: https://www.tradingview.com/script/t776tkZv-Hammers-Stars-Strategy/?offer_id=10&aff_id=15271
+ Podcast: http://thetradingpodcast.com/
+ My Free Indicators: https://zenandtheartoftrading.com/indicators/
+ Create your FREE TradingView Account: https://www.tradingview.com/gopro/?offer_id=10&aff_id=15271
### RESOURCES FOR THIS VIDEO: ###
AutoView Mastery Playlist: https://www.youtube.com/watch?v=MZvgqJaaSNs&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D
Hammers & Stars Detection Lesson: https://www.youtube.com/watch?v=z3Sq6snvFQs
Position Size Calculation Lesson: https://www.youtube.com/watch?v=6l_RXZTKzXo&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D&index=4
AutoView Syntax Lesson: https://www.youtube.com/watch?v=TvhlQmjmBk0&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D&index=2
Backtesting Lesson: https://www.youtube.com/watch?v=W_EECZtRBE8
Want to learn Pine Script? Look no further. I have you covered!
This lesson demonstrates how to create a profitable TradingView Strategy Tester script, and then we add AutoView automation to that script through the use of alerts.
With over 15 years of coding experience and 4+ years of trading experience, I 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
03:00 - User Input
08:25 - Detect Trading Setups
20:05 - Calculate Stops & Targets
25:55 - Strategy Entry Command
28:10 - Strategy Exit Command
31:08 - Draw Signals, Stops & Targets
34:50 - Calculate Oanda Position Size
39:04 - Formatting AutoView Alerts
43:27 - Summary & Outro
#PineScript #TradingView #AutoView How to AUTOMATE a Pine Script STRATEGY 🤖 AutoView Guide (PART 6/8) [PSv4]](https://i.ytimg.com/vi/BvbnzQwLmNQ/mqdefault.jpg)
![Alerts & TIME SESSIONS • 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#alertstime
My Indicators: https://zenandtheartoftrading.com/indicators/
Pine Scripters Network (Forum): https://www.pinescripters.net
This lesson comes from a question submitted by Jason over at The Chart Guys: https://www.chartguys.com
Want to learn Pine Script? Look no further. I have you covered.
This guide covers how to use time sessions to determine when (or when not) to trigger alerts.
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
00:52 - User Input
02:30 - Time Session Function
05:40 - Check Candle Time
07:30 - Change Bar Color
08:50 - Disable Alerts Within Session
10:30 - Enable Alerts Within Session
12:16 - Pine Script Mastery Course
#PineScript #TradingView #Trading Alerts & TIME SESSIONS • Pine Script [OUTDATED V4] Tutorial](https://i.ytimg.com/vi/CL2mXazJqWU/mqdefault.jpg)





![Creating A Custom BACK-TESTER Display • PINE SCRIPT [V4 OUTDATED] LESSON
🚩 My Socials & More Free Content: https://theartoftrading.com
🚩 FREE Pine Script Basics Course: https://courses.theartoftrading.com/courses/pine-script-basics-course
🚩 Pine Script Mastery Course: https://courses.theartoftrading.com/courses/pine-script-mastery
🚩 My Indicators & Strategies Course (Steal My Code!): https://courses.theartoftrading.com/courses/my-indicators
🔷 Create your FREE TradingView Account: https://www.tradingview.com/gopro/?offer_id=10&aff_id=15271
THIS LESSONS RESOURCES:
🔷 This Lessons Source Code: https://www.tradingview.com/script/t776tkZv-Hammers-Stars-Strategy/?offer_id=10&aff_id=15271
🔷 Hammers & Stars Lesson: https://www.youtube.com/watch?v=BvbnzQwLmNQ
🔷 Ultimate Pullback Indicator: https://courses.theartoftrading.com/courses/ultimate-pullback-indicator
🔷 Limitations of the Strategy Tester: https://youtu.be/uM5m_iUAP8g
Want to learn Pine Script? Look no further. I have you covered!
This lesson demonstrates how you can add your own custom backtester display to your scripts. It shows your strategys performance metrics right on the chart - including win rate, your return and your max drawdown.
With over 15 years of coding experience and 4+ years of trading experience, I specialize in TradingViews Pine Script programming language and Im here to pass on everything Ive learned about both trading and coding.
MORE RESOURCES:
🔷 My Blog: https://www.theartoftrading.com
🔷 My Free Indicators: https://zenandtheartoftrading.com/indicators/
🔷 My Favorite Trading Books: https://zenandtheartoftrading.com/top-10-best-trading-books/
🔷 My Favorite Trading Psychology Books: https://zenandtheartoftrading.com/trading-psychology/10-best-trading-psychology-books-of-all-time/
🔷 My Trading Video Library: https://zenandtheartoftrading.com/video-library/
🎤 The Art of Trading Podcast: http://thetradingpodcast.com/
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:31 - Overview
03:07 - Declare Performance Variables
04:45 - Ultimate Pullback Indicator Example
07:41 - Tracking Winning Trades
12:15 - Tracking Losing Trades
13:24 - Tracking Max Drawdown
14:36 - Creating Our Display Table
16:14 - Custom Table Cell Function
18:23 - Drawing Performance Data
30:40 - Summary & How to Use This
35:22 - Outro
#PineScript #TradingView #Strategy Creating A Custom BACK-TESTER Display • PINE SCRIPT [V4 OUTDATED] LESSON](https://i.ytimg.com/vi/EYg50SX43JQ/mqdefault.jpg)
