OPEN-SOURCE SCRIPT
TD SeqEx Pro [VISIONAKI]

Logic:
When the stock price reaches the trigger condition for nine consecutive days during an upward/downward trend, a sequence of numbers 1, 2, 3, 4, 5, 6, 7, 8, 9 is generated and sequentially marked above/below the candlestick chart. The sequence only begins to display when the stock price reaches the trigger condition.
When the trigger condition is reached on number 9, a 9-turn structure is formed. If the trigger condition is not reached on the number 9, the numbers of the previous 8 disappear, and the 9-turn structure is invalid. A 9-turn structure formed during a stock price rise is called an "Upward 9" structure (a green highlight area with green small arrow). the number above the candlestick chart and then a downward trend may occur after the upward trend. Conversely, a nine-turn structure formed during a stock price fall is called a "Downward 9" structure (a red highlight area with red small arrow). the number below the candlestick chart, an upward trend is highly likely to continue.
Special Circumstances:
1) After the number 9 appears, it may extend to four more digits of 9, eventually reaching the 13th digit (9+4=13) as a high-probability trend reversal.
2) If the number 9 may continue to extend, even surpassing the 13th digit of 9, proving that the unilateral (buyer/seller) forces are too strong. A trend reversal will fail.
When the stock price reaches the trigger condition for nine consecutive days during an upward/downward trend, a sequence of numbers 1, 2, 3, 4, 5, 6, 7, 8, 9 is generated and sequentially marked above/below the candlestick chart. The sequence only begins to display when the stock price reaches the trigger condition.
When the trigger condition is reached on number 9, a 9-turn structure is formed. If the trigger condition is not reached on the number 9, the numbers of the previous 8 disappear, and the 9-turn structure is invalid. A 9-turn structure formed during a stock price rise is called an "Upward 9" structure (a green highlight area with green small arrow). the number above the candlestick chart and then a downward trend may occur after the upward trend. Conversely, a nine-turn structure formed during a stock price fall is called a "Downward 9" structure (a red highlight area with red small arrow). the number below the candlestick chart, an upward trend is highly likely to continue.
Special Circumstances:
1) After the number 9 appears, it may extend to four more digits of 9, eventually reaching the 13th digit (9+4=13) as a high-probability trend reversal.
2) If the number 9 may continue to extend, even surpassing the 13th digit of 9, proving that the unilateral (buyer/seller) forces are too strong. A trend reversal will fail.
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.