Financial Modeling & Ana


Tradingview Pine Script Strategies: The Complete Guide

Become A Better Trader By Backtesting And Fowardtesting Indicators & Strategies In Tradingview With Pine Script

4.43 (199 reviews)

Tradingview Pine Script Strategies: The Complete Guide


5 hours


Oct 2020

Last Update
Regular Price

Unlimited access to 30 000 Premium SkillShare courses

What you will learn

Learn Different Ways to Evaluate The Effectiveness Of a Trading Strategy With Code

Rapidly Backtest Strategies And Indicators In Pine script

Forwardtest Strategies And Indicators In Pinescript

Improve Trading With Informed Decision Making

Algorithmic Trading

Quantitative Analysis


Pine Script V4


Is this course for me?

  • If you want to become a better trader, then this course is for you.

  • If you want to backtest anything on Tradingview, then this course is for you.

  • If you want to forwardtest anything on Tradingview, then this course is for you.

  • If you want to turn your trading logic into an automated strategy, then this course is for you.

  • If you've purchased an indicator for its signals, but are having second doubts about those signals and wish you could test them, then this course is for you.

  • If you want a comprehensive understanding of how backtesting and forwardtesting works on Tradingview, then this course is for you.

  • If you are short on time and need a guide on building strategies in Pinescript, then this course is for you.

What skills will I learn in this course?

By the end of the course, you will be able to:

  • Build strategies in Pine Script by using your own trading logic, or by modifying existing scripts.

  • Backtest strategies the right way.

  • Forwardtest strategies the right way.

  • Convert Indicators to strategies.

  • Backtest Indicators -- Yes I will show you how to backtest an indicator!

  • Track and Improve the performance of your trading strategy by understanding key metrics.

  • Remove uncertainty with data & gain greater confidence in your trading.

  • Automate trading logic.

How will I learn?

You will experience Pinescript from the eyes of a seasoned Programmer and Trader cultivated from years of passionate improvement.

Throughout the course:

  • I will guide you from basic to advanced concepts.

  • I will use spaced repetition, an evidence-based learning technique, to drill important concepts into your mind so you won't forget.

  • You will be shown several different ways to accomplish one thing, making sure you understand the differences between each approach while highlighting which approach you should use.

  • You will fortify theory and knowledge with hands-on practice, by doing code alongs in the Pine Editor on Tradingview.

  • You will convert real trading rules to indicators, and indicators to strategies to analyze their real performance.

Is this course worth my time and money?

Because this is a highly subjective question relating to personal experience, conditions, knowledge, mental characteristics, and states; the answer depends on the person taking this course a.k.a. YOU.

With that in mind let me offer some objectives for your perceptions.

  • There are around 5 hours of content jam-packed into this course. Now length doesn't exactly equate to quality, but I spent a considerable amount of time, scripting and editing course content so you don't have to listen to me ramble, stutter, mumble and meander off-topic. I stay on track and include references to other sources if you need further explaining. And, if your short on time, you can always listen to the course on x2 speed, then it's only 2.5 hours long! :P

  • This might be subjective, but I am almost positive it is the most comprehensive course available today covering Pinescript Strategies. You will not find anything better and I am not saying that because I am naturally biased, but I say that because I looked.

  • I've spent almost 5 years learning what I know now. I've consolidated and condensed that knowledge into this course, so you can be confident you are learning the right things the right way. By doing this, I am saving you time so you don't have to do 10,000 google searches piecing together outdated blog posts, youtube tutorials, and difficult documentation. Put simply, you can learn all this stuff on your own and it will take you a while. Or you could take my course and I can teach you everything in 4.5 hours

  • People are selling indicator subscriptions on TV for anywhere between $50 and $200 a month, I can't speak for the quality of these, but after taking this course you will be able to identify if they are worth the cost. Saving you from additional subscription costs and/or time on bad signals before you realize they are bad signals.

  • Before I knew how to code, I would backtest my trading logic by HAND. Knowing how to use Pine Script will save you lots of time.

  • If you ever get stuck, I am available to answer questions and help you out! I have been working with Pinescript for almost 5 years now and have extensive experience building indicators and backtesting strategies for myself and clients. I have worked with Python, Javascript, C++, C, and other Domain-Specific Languages like mql4 within the sphere of financial analysis and quantitative analysis. I’ve come across many frameworks for building and testing strategies, and can honestly say that Pinescript is now my go-to backtesting engine. It hasn’t always been that way, but Pinescript has been rapidly evolving and finally can do the things I need it to do rapidly.

  • Finally, you can always get your money back if you're not satisfied!

What will each section cover?

I've designed the course in a way so that you can view the course from beginning to end, or you can jump around to just the stuff you need! This way after finishing the course, you can use it as a reference guide for when you are building your own strategies.

Here is an overview of each section with descriptions.

  1. Quickstart - The purpose of this section is to introduce the student to core concepts and get them up and running quickly with the proper mindset.

  2. Analyzing Strategy Results - No strategy is worth building if you can't examine and understand the backtesting and forwardtesting results. This section walks you through the key performance metrics in the strategy tester tab.

  3. Basic Order Types - Don't be fooled by the section title. This section is dense and fundamental. We start off by reviewing trading order types and then taking a birds-eye view of all the important strategy functions Pine Script makes available to execute those orders types. We'll convert an RSI indicator to a strategy, and then use that strategy with every different order type, in various ways, so we can get a good fundamental understanding of how things work. You will learn about market orders, limit orders, stop orders, entries, exits, multiple entries, pyramiding, date filtering, and visualization techniques.

  4. Advanced Order Types - This section builds on the last. You will learn how to place take profits, stop losses, stop-limits, OCO's, trailing stops, and more advanced visualization techniques for viewing these orders on your charts.

  5. Understanding the broker emulator - A crucial step in becoming a master of Pinescript strategies. I've broken down the complex broker emulator in a simple way anyone can understand. I can't tell you how many people think Pine Script is broken or crappy because they just don't understand the broker emulator. This section is designed for the go-getters who want to separate themselves from a novice to a professional.

  6. Practical Examples - Take everything we've learned and put it into action. I take real-world trading logic and put it to the test. This section explores practical applications, converting trading logic into code, and then into strategies. We experiment with a bunch of different strategies, including one of my own (The only one that works.). I code everything up live, so you get to see me make mistakes and debug the code. (Don't worry I edited the process, so we skip the parts where I stare at the screen and murmur expletive undertones).

What you get with the course:

  • Over 34 On-Demand Video Lessons

  • 4.5 Hours Of Jam-packed Content

  • 5 Strategies To Build On With Code

  • 11 Downloadable Resources, including all the code I use

  • 30-day money-back Guarantee

  • Instructor feedback -- Yes I care about my students and want you to be successful

  • Exclusive Group access & extra resources for extended learning beyond course materials

  • Quizzes & Activities

  • Full lifetime access

  • Access on mobile and TV

  • Certificate of Completion at the End



What are strategies, backtesting & fowardtesting?

Top 8 Reasons to Build A Strategy in Pinescript

How to build a strategy in Pinescript?

Analysing Pine Script Strategy Results


Performance Tab

Overview Tab

List of Trades Tab

Metrics Investigation Quiz

Pine Script Standard Order Types


Reviewing Order Types

Strategy Commands Overview

Converting a Pine Script RSI Indicator Study to an RSI Strategy

Code Layout

How To Enter A Trade Using Market Orders With strategy.entry And strategy.order

What's The Difference Between strategy.entry And strategy.order?

How To Exit A Trade Using Market Orders With strategy.close & strategy.close_all

How To Place A Limit Entry Order In Pinescript

How To Place A Stop Entry Order In Tradingview Pinescript

How To Visualize Pending Orders In Tradingview Pinescript

How To Cancel An Order In Pinescript

Pinescript Advanced Order Types

Code Layout

How To Place a Percentage Take Profit In PineScript

How To Place A Take Profit Using Ticks With Pinescript

How To Place A Stop Loss In Pinescript

How To Place A Stop-Limit Order In Pinescript

How To Place An OCO Order In Pinescript

How To Place A Trailing Stop In Pinescript

Understanding The Broker Emulator

Script Calculation

Order Execution

How Does The Broker Emulator Work In Pinescript?

Practical Examples

Forex: 50 Pips A Day Strategy

Forex: 1 Hour MACD Strategy

Forex: 1 Hour MACD Strategy - Part 2: Filtering Noise & Custom Settings.

Introduction To External Indicators & PineCoders Legendary Backtesting Engine

Popular Adaptive Hull Moving Average Indicator Converted To A Strategy.

Crypto: BNB Burn Buyer Strategy


Jean-Charles12 May 2021

Extremely satisfied and want more and more pratical example. There are already several very good examples but I will always want more because very usefull. Thanks

Manfred27 April 2021

Exactly what what I was looking for. Helped me to understand the basics of trading views strategies, without reading tons of papers. the practical examples allowed a good hands on experience

Marco21 April 2021

Good so far, a little fast on explaining concepts but ok for me, need to have some previous knowledge.

Quan2 April 2021

Very knowledgeable and resourceful intro course on PineScript. Paul is very responsive and open to helping you turn your strategy into a PineScript code. Definitely a value course for getting into the complex world of PineScripting your strategies. I am still in the process of building my strategy in PineScript, however, this course made it less of a massive hurdle than I initial was tackling prior to this course.

Claus28 March 2021

I even wanna write something Paul, after working your course through i can say, i am rally much better now in pinescript, my codes are running in the bots now flawlessly, awesome so the investment in your course is back in more than 50 times thanks to your teaching - thank you !!!!!

Neels13 March 2021

Exactly what what I was looking for. Well guided training through the complex maze of the script language for newbies like me. No fluff, only pure value. This is how all Udemy courses should be. Highest recommendation!

Ramesh10 March 2021

the author accent is rigid and more often the explanations are too far fetched as in newbie would have difficult time to grass these

Parlament5 March 2021

Can't wait to learn more about strategies, and Paul's way of explaining worked so far, probably it will work later too.

Fred19 February 2021

I am very happy with htis course. It shows you the ins and outs of programming with Pinescript. The most i like was the Limit and Stop usage in strategy.entry and exit which i need to admit i never used it before. And now i am using these tips. Thank!

Fatih3 February 2021

He checks the QA panel and that's great. The examples are prewritten and the explanations are not that great. I stop the video, read the code and analyze what will happen. Then he's jumping to another part of the screen... Needs a lot more clarification.

Hunter7 January 2021

Split up the code so that each lesson has its own file. Then from one lesson to another you can add onto the original code. But it's weird when there are a couple hundred lines of code with a whole lot of methods, most of which are sub-optimal.

Eugenio5 January 2021

Paul is really a cool instructor. In the course you will learn a lot of stuff, starting from the basic of the pinescript strategy. Moreover the final section how to transform studies into strategy will clarify a lot of concepts and will help you to address problems and solution when coding. Really worth it!

Salar24 December 2020

I enrolled in this course and it is very very very practical and useful, the method of teaching is very professional and cool! I can write any strategy that I can imagine. And also save a lot of time for backtesting my strategies. In one word it was fantastic!

ChorHuat20 December 2020

A very well structured course. Just the right length & depth to get you going with backtesting your strategies with TradingView Pine Script. The instructor is very knowledgeable & responsive.

Herman12 November 2020

Amazing again!!! Appreciate the effort put into explaining things clearly and covering such a vast array of key topics. This course makes a difference in my life every day and I refer back to it all the time. Much appreciated


Udemy ID


Course created date


Course Indexed date
Course Submitted by