Pine Script V4: A Breakout Strategy
The Art of Trading
๐ฉ My Socials + More FREE CONTENT: https://theartoftrading.com/ ๐ฉ 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
LESSON RESOURCES: ๐ Source Code: https://courses.theartoftrading.com/pages/pine-script-mastery-source-code#dbo ๐ Backtesting Guide: https://www.backtestingfx.com/
๐ท FREE Pine Script Basics Course: https://courses.theartoftrading.com/courses/pine-script-basics-course ๐ท Create your FREE TradingView Account: https://www.tradingview.com/gopro/?offer_id=10&aff_id=15271 ๐ท My FREE Indicators: https://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 https://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 ... https://www.youtube.com/watch?v=Dr-GxdbAaXg
108761417 Bytes