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.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. You can favorite it to use it on a chart.
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.