Uploaded November 2026 | Updated November 2026, 3 hours ago
This content is educational and demonstrates charting tools and coding techniques only. It is not a recommendation to trade any financial product. Please seek professional guidance if you need it. Any links provided below may be referral links, and I may earn a commission if you use them, at no extra cost to you.
🚩 Socials, Newsletter & 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 Coding Course (Steal My TradingView Code!): courses.theartoftrading.com/courses/my-indicators
🚩 Backtesting Course (hope is NOT a strategy!): courses.theartoftrading.com/courses/backtesting
🔷 Create your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
🔷 Source Code Link: tradingview.com/script/cil21wyf-Trend-Quality-Indicator-Sepiashvili-2004/?aff_id=15271
🔷 Trend-Quality Indicator Publication Paper: prorealcode.com/wp-content/uploads/2019/03/24-Q-Indicator.pdf
----------------------------------------------------
Want to learn trading strategy development and backtesting techniques? Look no further. I have you covered!
This lesson demonstrates how to use the Trend Quality indicator (created by David Sepiashvili, 2004) - from discretionary use cases, to rules-based and systematic approaches.
It also shows how to "import" the Trend Quality's Q-Value into another script via Pine Script's input.source functionality.
With 16+ years of coding experience and 7+ years of trading experience, I'm here to pass on everything I've learned during my career.
MORE RESOURCES:
🔷 My Blog & Socials: theartoftrading.com
🔷 My Merch Store: theartoftrading-shop.fourthwall.com
🔷 My Free Pine Script Indicators: tradingview.com/u/ZenAndTheArtOfTrading/?aff_id=15271#published-scripts
If you want more information about who I am and what I do, head over to zenandtheartoftrading.com/about.
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 certain software 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.
â–¼Timestampsâ–¼
00:00 - Intro
02:14 - What is Trend-Quality Indicator?
06:17 - How to use Trend-Quality Indicator?
11:41 - How to Import Q-Value into Scripts
#TradingView #RealTest #Trading
This content is educational and demonstrates charting tools and coding techniques only. It is not a recommendation to trade any financial product. Please seek professional guidance if you need it. Any links provided below may be referral links, and I may earn a commission if you use them, at no extra cost to you.
🚩 Socials, Newsletter & 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 Coding Course (Steal My TradingView Code!): courses.theartoftrading.com/courses/my-indicators
🚩 Backtesting Course (hope is NOT a strategy!): courses.theartoftrading.com/courses/backtesting
🔷 Create your FREE TradingView Account: tradingview.com/gopro/?offer_id=10&aff_id=15271
🔷 Source Code Link: tradingview.com/script/cil21wyf-Trend-Quality-Indicator-Sepiashvili-2004/?aff_id=15271
🔷 Trend-Quality Indicator Publication Paper: prorealcode.com/wp-content/uploads/2019/03/24-Q-Indicator.pdf
----------------------------------------------------
Want to learn trading strategy development and backtesting techniques? Look no further. I have you covered!
This lesson demonstrates how to use the Trend Quality indicator (created by David Sepiashvili, 2004) - from discretionary use cases, to rules-based and systematic approaches.
It also shows how to "import" the Trend Quality's Q-Value into another script via Pine Script's input.source functionality.
With 16+ years of coding experience and 7+ years of trading experience, I'm here to pass on everything I've learned during my career.
MORE RESOURCES:
🔷 My Blog & Socials: theartoftrading.com
🔷 My Merch Store: theartoftrading-shop.fourthwall.com
🔷 My Free Pine Script Indicators: tradingview.com/u/ZenAndTheArtOfTrading/?aff_id=15271#published-scripts
If you want more information about who I am and what I do, head over to zenandtheartoftrading.com/about.
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 certain software 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.
â–¼Timestampsâ–¼
00:00 - Intro
02:14 - What is Trend-Quality Indicator?
06:17 - How to use Trend-Quality Indicator?
11:41 - How to Import Q-Value into Scripts
#TradingView #RealTest #Trading
![How to draw using PLOT • 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
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 what all of the Plot function parameters do!
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
00:45 - Parameters
01:18 - Series
01:47 - Title
02:23 - Color
02:39 - Line Width
02:57 - Style
03:34 - Track Price
03:48 - Transparency
04:02 - Histbase
04:43 - Offset
05:45 - Join
06:27 - Editable
07:05 - Show Last
07:40 - Display
08:44 - Mastery Course
#PineScript #TradingView #Trading How to draw using PLOT • Pine Script [OUTDATED V4] Tutorial](https://i.ytimg.com/vi/-K9DpVTWeJQ/mqdefault.jpg)
![Creating A Stochastic BASED ON RSI • 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#rsistoch
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 lesson demonstrates how to make the Stochastic indicator calculate its values using the RSI instead of price data.
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
00:35 - Changing Plot Order
01:10 - Calculating Stochastic Using RSI
02:17 - Mastery Course
#PineScript #TradingView #Indicator Creating A Stochastic BASED ON RSI • Pine Script [OUTDATED V4] Tutorial](https://i.ytimg.com/vi/-SJXXLh534g/mqdefault.jpg)



![Pine Script [OUTDATED V4] Tutorial | Lesson 6 | Detecting Engulfing Candles
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 how to detect engulfing candles in Pine Script. By building on past lessons and including the RSI indicator as a filter, we create the beginnings of a strategy script or setup detection tool that you can customize for your own trading process.
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 6 Source Code: https://zenandtheartoftrading.com/pinescript/how-to-detect-candle-patterns/
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!
Join My Mailing List: https://mailchi.mp/f29afd740719/zenandtheartoftrading
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.
#PineScript #TradingView #Indicator Pine Script [OUTDATED V4] Tutorial | Lesson 6 | Detecting Engulfing Candles](https://i.ytimg.com/vi/0dQmTf6K71U/mqdefault.jpg)




