Uploaded August 2021 | Updated November 2026, 2 hours ago
๐ฉ My Socials + More FREE CONTENT: theartoftrading.com
๐ฉ Pine Script Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
๐ฉ My Indicators & Strategies Course (Steal My Code!): courses.theartoftrading.com/courses/my-indicators
LESSON RESOURCES:
๐ Source Code: courses.theartoftrading.com/pages/pine-script-mastery-source-code#dbo
๐ Backtesting Guide: backtestingfx.com
๐ท FREE Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
๐ท Create your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
๐ท My FREE Indicators: zenandtheartoftrading.com/indicators
In this lesson I answer a question from a Mastery Course student. He wanted to create a tool to assist him in trading intraday breakouts of previous daily highs & lows, and that's exactly what this script does!
Want to learn Pine Script? Look no further. I have you covered.
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 theartoftrading.com
โผTimestampsโผ
00:00 - Intro & Overview
01:25 - User Input
02:43 - Get Daily High & Low
04:35 - Calculating Entry, Stops & Targets
07:14 - Detecting A New Day
08:24 - Setting Buy Stop & Sell Stop Orders
10:00 - OCA (One-Cancels-All Parameter)
12:05 - Exiting Trades
13:10 - Drawing Strategy Info to Chart
14:34 - Analyzing Some Example Trades
15:25 - Warning About TradingView's Strategy Tester
18:05 - Notes About Backtesting & Confirming Profitability
21:23 - Summary & Outro
#PineScript #TradingView #Strategy
๐ฉ My Socials + More FREE CONTENT: theartoftrading.com
๐ฉ Pine Script Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
๐ฉ My Indicators & Strategies Course (Steal My Code!): courses.theartoftrading.com/courses/my-indicators
LESSON RESOURCES:
๐ Source Code: courses.theartoftrading.com/pages/pine-script-mastery-source-code#dbo
๐ Backtesting Guide: backtestingfx.com
๐ท FREE Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
๐ท Create your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
๐ท My FREE Indicators: zenandtheartoftrading.com/indicators
In this lesson I answer a question from a Mastery Course student. He wanted to create a tool to assist him in trading intraday breakouts of previous daily highs & lows, and that's exactly what this script does!
Want to learn Pine Script? Look no further. I have you covered.
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 theartoftrading.com
โผTimestampsโผ
00:00 - Intro & Overview
01:25 - User Input
02:43 - Get Daily High & Low
04:35 - Calculating Entry, Stops & Targets
07:14 - Detecting A New Day
08:24 - Setting Buy Stop & Sell Stop Orders
10:00 - OCA (One-Cancels-All Parameter)
12:05 - Exiting Trades
13:10 - Drawing Strategy Info to Chart
14:34 - Analyzing Some Example Trades
15:25 - Warning About TradingView's Strategy Tester
18:05 - Notes About Backtesting & Confirming Profitability
21:23 - Summary & Outro
#PineScript #TradingView #Strategy
![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)






![Pine Script: ULTIMATE BEGINNERS GUIDE! ๐น [2024]
๐น FREE Complete Pine Script Basics Course: https://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 dont 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 youve been waiting to elevate your trading with Pine Script, now is the perfect time.
๐น Pine Script Mastery Course: https://courses.theartoftrading.com/courses/pine-script-mastery
๐น Create Your FREE TradingView Account: https://www.tradingview.com/gopro/?offer_id=10&aff_id=15271
๐น My Indicators: https://zenandtheartoftrading.com/indicators/
๐ค Socials: https://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 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: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 Pine Script: ULTIMATE BEGINNERS GUIDE! ๐น [2024]](https://i.ytimg.com/vi/HYyuYgPRLpc/mqdefault.jpg)


