Uploaded May 2021 | Updated November 2026, 16 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 & Strategies Course: courses.theartoftrading.com/courses/my-indicators
+ Source Code: tradingview.com/script/t776tkZv-Hammers-Stars-Strategy/?offer_id=10&aff_id=15271
+ Podcast: thetradingpodcast.com
+ My Free Indicators: zenandtheartoftrading.com/indicators
+ Create your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
### RESOURCES FOR THIS VIDEO: ###
AutoView Mastery Playlist: youtube.com/watch?v=MZvgqJaaSNs&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D
Hammers & Stars Detection Lesson: youtube.com/watch?v=z3Sq6snvFQs
Position Size Calculation Lesson: youtube.com/watch?v=6l_RXZTKzXo&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D&index=4
AutoView Syntax Lesson: youtube.com/watch?v=TvhlQmjmBk0&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D&index=2
Backtesting Lesson: 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 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 - 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
+ 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 & Strategies Course: courses.theartoftrading.com/courses/my-indicators
+ Source Code: tradingview.com/script/t776tkZv-Hammers-Stars-Strategy/?offer_id=10&aff_id=15271
+ Podcast: thetradingpodcast.com
+ My Free Indicators: zenandtheartoftrading.com/indicators
+ Create your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
### RESOURCES FOR THIS VIDEO: ###
AutoView Mastery Playlist: youtube.com/watch?v=MZvgqJaaSNs&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D
Hammers & Stars Detection Lesson: youtube.com/watch?v=z3Sq6snvFQs
Position Size Calculation Lesson: youtube.com/watch?v=6l_RXZTKzXo&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D&index=4
AutoView Syntax Lesson: youtube.com/watch?v=TvhlQmjmBk0&list=PLSP_1DBafH-EYd8t-DUrPaAhsoOD-vZ1D&index=2
Backtesting Lesson: 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 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 - 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
![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)



