OPEN-SOURCE SCRIPT
Updated Smart Labelling - Candlestick Charting

This is a full-fledged implementation of a system presented in an unique research paper 'Profitability of Candlestick Charting Patterns in the Stock Exchange of Thailand' (2017) on candlestick charting, candlestick patterns, trend identification methods, and testing.
You can easily find this paper in the Web. For example, visit: researchgate.net/publication/320642444_Profitability_of_Candlestick_Charting_Patterns_in_the_Stock_Exchange_of_Thailand
This script is best suited for middle-to-higher time frames. Possible future developments: trend identification and factor calculation techniques.
Donate: PayPal (paypal.me)
You can easily find this paper in the Web. For example, visit: researchgate.net/publication/320642444_Profitability_of_Candlestick_Charting_Patterns_in_the_Stock_Exchange_of_Thailand
This script is best suited for middle-to-higher time frames. Possible future developments: trend identification and factor calculation techniques.
Donate: PayPal (paypal.me)
Release Notes
Minor fix - added boolean function 'changed'.Release Notes
Minor edits and fixes.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.