Добавить
Уведомления

How to DEBUG Pine Script Code

? 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/how-to-debug-pine-script-code OFFICIAL DOCUMENTATION ON DEBUGGING: https://www.tradingview.com/pine-script-docs/en/v4/Debugging.html ---------------------------------------------------- Want to learn Pine Script? Look no further. I have you covered! This lesson covers a few ways we can use the Data Window and Labels to debug our scripts and look under the hood to see exactly what our code is doing. This is extremely valuable for determining why your script might be giving incorrect output, especially with more complex scripts or when working with things like For Loops or Custom Functions which can't plot data directly. As I mentioned in the introduction section of the Mastery Course - Garbage In results in Garbage Out when we're telling a computer what to do. The methods outlined in this video can help you figure out what garbage you're accidentally feeding the computer in your code. --- 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 00:43 - FREE Weekly Newsletter 01:43 - Understanding the Data Window 04:09 - Debugging Using Plotchar() 09:28 - Debugging For Loops 21:36 - Debugging Individual Bars 26:11 - Debugging Custom Functions 29:18 - Outro & Summary #PineScript #TradingView #Debugging

Иконка канала Игровые Виртуозы
7 подписчиков
12+
29 просмотров
2 года назад
12+
29 просмотров
2 года назад

? 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/how-to-debug-pine-script-code OFFICIAL DOCUMENTATION ON DEBUGGING: https://www.tradingview.com/pine-script-docs/en/v4/Debugging.html ---------------------------------------------------- Want to learn Pine Script? Look no further. I have you covered! This lesson covers a few ways we can use the Data Window and Labels to debug our scripts and look under the hood to see exactly what our code is doing. This is extremely valuable for determining why your script might be giving incorrect output, especially with more complex scripts or when working with things like For Loops or Custom Functions which can't plot data directly. As I mentioned in the introduction section of the Mastery Course - Garbage In results in Garbage Out when we're telling a computer what to do. The methods outlined in this video can help you figure out what garbage you're accidentally feeding the computer in your code. --- 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 00:43 - FREE Weekly Newsletter 01:43 - Understanding the Data Window 04:09 - Debugging Using Plotchar() 09:28 - Debugging For Loops 21:36 - Debugging Individual Bars 26:11 - Debugging Custom Functions 29:18 - Outro & Summary #PineScript #TradingView #Debugging

, чтобы оставлять комментарии