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
LESSON SOURCE CODE: https://courses.theartoftrading.com/pages/monthly-strategy-performance-table-in-pine-script
SIMPLE PULLBACK STRATEGY LESSON: https://www.youtube.com/watch?v=h-erJbnBj6A
ORIGINAL PERFORMANCE TABLE SCRIPT: https://tradingview.com/script/kzp8e4X3-Monthly-Returns-in-PineScript-Strategies/?offer_id=10&aff_id=15271
----------------------------------------------------
Want to learn Pine Script? Look no further. I have you covered!
This lesson demonstrates how to add a Monthly Strategy Performance Table to your Pine Script strategy scripts so you can see a month-by-month and year-by-year breakdown of your P&L and strategy performance.
With over 16 years of coding experience and 5+ years of profitable 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.
MORE RESOURCES:
My Blog & Socials: 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 & Overview
02:25 - Disclaimer & Credit
05:49 - User Inputs
08:31 - Custom Function & Data Types
10:49 - P&L Tracking Variables
13:03 - Detecting Opened Trades & Commission Cost
16:05 - Detecting Closed Trades & Tracking P&L
33:08 - Tracking Monthly & Yearly P&L
36:59 - Populating Performance Table Data
49:28 - Outro & Summary
#PineScript #TradingView #Trading