Uploaded August 2024 | Updated November 2026, 3 hours ago
๐ฉ My Socials & More Free Content: theartoftrading.com
๐ฉ FREE Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
๐ฉ Pine Script Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
๐ฉ My Indicators & Strategies Course (Steal My Code!): courses.theartoftrading.com/courses/my-indicators
๐ฉ Merch Store: theartoftrading-shop.fourthwall.com
๐ท Create your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
๐ท Expectancy Spreadsheet (Make A Copy!): docs.google.com/spreadsheets/d/1Bn2vcxMvtOc7KQEuUDFTKLfFf60UL03B67Zj_hbLzmA
๐ท Monte Carlo in Pine Script: youtu.be/y97u_Grc0gU
----------------------------------------------------
This lesson demonstrates the mathematics behind basic probability theory and risk management in relation to trading financial markets.
We use a roulette wheel spin to exemplify the math - but this should not be interpreted as a recommendation to gamble!
The point of this video is to understand why traders should strive to BECOME the casino and develop their own house edge, not be the sucker who depends purely on luck.
MORE RESOURCES:
๐ท My Blog & Socials: theartoftrading.com
๐ท My Merch Store: theartoftrading-shop.fourthwall.com
๐ท My Free Indicators: zenandtheartoftrading.com/indicators
๐ท My Favorite Trading Books: zenandtheartoftrading.com/top-10-best-trading-books
๐ท My Favorite Trading Psychology Books: zenandtheartoftrading.com/trading-psychology/10-best-trading-psychology-books-of-all-time
๐ท My Trading Video Library: zenandtheartoftrading.com/video-library
๐ค The Art of Trading Podcast: thetradingpodcast.com
If you want more information about who I am and what I do, head over to zenandtheartoftrading.com/about.
Math of Winning Video Timestamps - redacted
โผTimestampsโผ
00:00 - Intro & Overview
01:20 - Expectancy
06:46 - Win Rate vs Risk Reward
10:50 - Estimating Losing Streaks
16:00 - Gambler's Fallacy
20:40 - Applying This Knowledge to Trading
24:09 - Conclusion & Resources
Educational Content Disclaimer:
The content provided in our videos, including all code, lessons, and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context. Any results from strategies or tools provided are hypothetical and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and are not suitable for all persons. Before making any trading decisions, please consult with a qualified professional to understand the risks involved. By using our materials, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
#Trading #Theory #Profit
๐ฉ My Socials & More Free Content: theartoftrading.com
๐ฉ FREE Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
๐ฉ Pine Script Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
๐ฉ My Indicators & Strategies Course (Steal My Code!): courses.theartoftrading.com/courses/my-indicators
๐ฉ Merch Store: theartoftrading-shop.fourthwall.com
๐ท Create your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
๐ท Expectancy Spreadsheet (Make A Copy!): docs.google.com/spreadsheets/d/1Bn2vcxMvtOc7KQEuUDFTKLfFf60UL03B67Zj_hbLzmA
๐ท Monte Carlo in Pine Script: youtu.be/y97u_Grc0gU
----------------------------------------------------
This lesson demonstrates the mathematics behind basic probability theory and risk management in relation to trading financial markets.
We use a roulette wheel spin to exemplify the math - but this should not be interpreted as a recommendation to gamble!
The point of this video is to understand why traders should strive to BECOME the casino and develop their own house edge, not be the sucker who depends purely on luck.
MORE RESOURCES:
๐ท My Blog & Socials: theartoftrading.com
๐ท My Merch Store: theartoftrading-shop.fourthwall.com
๐ท My Free Indicators: zenandtheartoftrading.com/indicators
๐ท My Favorite Trading Books: zenandtheartoftrading.com/top-10-best-trading-books
๐ท My Favorite Trading Psychology Books: zenandtheartoftrading.com/trading-psychology/10-best-trading-psychology-books-of-all-time
๐ท My Trading Video Library: zenandtheartoftrading.com/video-library
๐ค The Art of Trading Podcast: thetradingpodcast.com
If you want more information about who I am and what I do, head over to zenandtheartoftrading.com/about.
Math of Winning Video Timestamps - redacted
โผTimestampsโผ
00:00 - Intro & Overview
01:20 - Expectancy
06:46 - Win Rate vs Risk Reward
10:50 - Estimating Losing Streaks
16:00 - Gambler's Fallacy
20:40 - Applying This Knowledge to Trading
24:09 - Conclusion & Resources
Educational Content Disclaimer:
The content provided in our videos, including all code, lessons, and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context. Any results from strategies or tools provided are hypothetical and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and are not suitable for all persons. Before making any trading decisions, please consult with a qualified professional to understand the risks involved. By using our materials, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
#Trading #Theory #Profit


![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)




![How To SPLIT ALERTS โข 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#splitalerts
My Indicators: https://zenandtheartoftrading.com/indicators/
Pine Scripters Network (Forum): https://www.pinescripters.net
Want to learn Pine Script? Look no further. I have you covered.
This guide covers how to split Long & Short alerts in your scripts.
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
01:07 - Get Input
02:04 - Detect Patterns
03:44 - How To Split Alerts
06:00 - Setting Your Alerts
#PineScript #TradingView #Trading How To SPLIT ALERTS โข Pine Script [OUTDATED V4] Tutorial](https://i.ytimg.com/vi/JEwBybsvfDc/mqdefault.jpg)
![Pine Script [OUTDATED V4] Tutorial | Lesson 2 | Drawing Data to Your Charts
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: https://zenandtheartoftrading.com/indicators/
Pine Scripters Network (Forum): https://www.pinescripters.net
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 Im going to teach you how to create your own scripts in TradingViews Pine Script programming language. Todays lesson covers drawing visual data to your chart, specifically the highest high and the lowest low of the previous 50 candles or bars.
Get ready to take your trading to the next level. Im 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: https://zenandtheartoftrading.com/pinescript/
Lesson 1: https://www.youtube.com/watch?v=2sRMXvxILlA
Lesson 2 Source Code: https://zenandtheartoftrading.com/pine-script-video-lessons/
Pine Script Wiki: https://www.tradingview.com/pine-script-docs/en/v4/Introduction.html
My Other Indicators: https://zenandtheartoftrading.com/indicators/
Visit https://zenandtheartoftrading.com for more forex and trading psychology tips!
Public Forex Trading Journal: https://zenandtheartoftrading.com/forex-journal/
Best Trading Books: https://zenandtheartoftrading.com/top-10-best-trading-books/
Best Trading Videos: https://zenandtheartoftrading.com/video-library/
Best Charting Platform: https://zenandtheartoftrading.com/tradingview-review/
Best Indicators For Forex: https://zenandtheartoftrading.com/blog/forex/3-best-forex-trading-indicators/
Music: https://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.
#Forex #TradingView #Indicator Pine Script [OUTDATED V4] Tutorial | Lesson 2 | Drawing Data to Your Charts](https://i.ytimg.com/vi/KVRDSaYpw7s/mqdefault.jpg)

