PROTECTED SOURCE SCRIPT
九转序列[We1h0]

█ 九转序列 - 趋势衰竭与拐点探测器 (Sequence Counter - Trend Exhaustion & Reversal Detector)
▌ 摘要 (Summary)
中文:
本指标的灵感来源于一种经典的时间序列分析理论,旨在识别潜在的市场趋势衰竭点。它通过计算连续收盘价高于或低于特定周期前收盘价的K线数量,来量化趋势的“生命力”。当计数达到关键数字(如9或13)时,通常预示着当前趋势动力可能已经耗尽,市场面临回调或反转的风险。本版本提供了高度自定义的开关,允许用户自由选择关注的信号数字(7, 9, 13, 15),并集成了灵活的警报功能。
English:
Inspired by a classic time-series analysis theory, this indicator is designed to identify potential points of trend exhaustion. It quantifies the "lifespan" of a trend by counting the number of consecutive bars that close higher or lower than the close four bars prior. When the count reaches key numbers (such as 9 or 13), it often suggests that the momentum of the current trend may be depleted, and the market is at risk of a pullback or reversal. This version features highly customizable switches, allowing users to select which numerical signals (7, 9, 13, 15) to monitor, and includes an integrated, flexible alert system.
▌ 核心原理 (Core Concept)
上涨序列 (Sell Setup / Up Count): 当一根K线的收盘价高于其前方第4根K线的收盘价时,计数器会递增。这构成了一个上涨序列。
下跌序列 (Buy Setup / Down Count): 当一根K线的收盘价低于其前方第4根K线的收盘价时,计数器会递增。这构成了一个下跌序列。
当序列计数达到“9”,通常意味着趋势的“设置”阶段已经完成,为潜在的反转做好了准备。
▌ 主要功能 (Key Features)
自动序列计数 (Automatic Sequence Counting):
自动追踪并计算上涨和下跌序列。
Automatically tracks and counts both uptrend and downtrend sequences.
关键数字标记 (Key Number Labeling):
在图表上清晰地标记出数字 7, 9, 13, 15,帮助您快速识别潜在的交易机会。
Clearly labels the key numbers 7, 9, 13, and 15 on the chart to help you quickly identify potential trading opportunities.
高度自定义开关 (Highly Customizable Switches):
用户可以在设置中自由选择启用或禁用任何一个数字信号的显示和警报,让分析更专注。
Users can freely enable or disable the display and alerts for any numerical signal in the settings, allowing for a more focused analysis.
集成化警报系统 (Integrated Alert System):
为关键数字(9, 13, 15)提供了独立的弹窗警报,并构建了预格式化的JSON消息,便于与Discord等第三方应用通过Webhook集成。
Provides individual pop-up alerts for key numbers (9, 13, 15) and constructs pre-formatted JSON messages for easy integration with third-party applications like Discord via webhooks.
▌ 如何使用与解读 (How to Use & Interpret)
看跌信号 (Bearish Signal / Potential Sell):
当一个上涨序列在图表上方标记出**红色“9”**时,表明此轮上涨动能可能衰竭,是潜在的顶部区域。交易者可考虑止盈多头仓位或寻找做空机会。数字“13”和“15”代表更强的衰竭信号。
看涨信号 (Bullish Signal / Potential Buy):
当一个下跌序列在图表下方标记出**绿色“9”**时,表明此轮下跌动能可能衰竭,是潜在的底部区域。交易者可考虑止盈空头仓位或寻找做多机会。数字“13”和“15”同样代表更强的衰竭信号。
数字“7”的用法 (Usage of Number "7"):
数字“7”通常被视为一个预警信号,提示当前趋势已经延续了一段时间,需要开始保持警惕。
重要提示: 本指标是一个寻找“拐点”的择时工具,而非趋势跟踪工具。建议将它与支撑/阻力位、市场结构、或其他动量指标结合使用,以提高信号的胜率。
▌ 参数设置 (Settings)
显示设置 (Display Settings): 控制标记的透明度、是否显示数字等。
信号开关 (Signal Switches): 本指标的核心功能。您可以独立控制 7, 9, 13, 15 中任意一个数字的显示与否及其警报的触发。
▌ 免责声明 (Disclaimer)
本指标仅为技术分析学习和研究工具,所有信号均不构成任何形式的投资建议。请务必结合您自己的交易系统和风险管理策略进行决策。
This indicator is for educational and research purposes only. All signals generated do not constitute any form of investment advice. Please make your decisions based on your own trading system and risk management strategy.
▌ 摘要 (Summary)
中文:
本指标的灵感来源于一种经典的时间序列分析理论,旨在识别潜在的市场趋势衰竭点。它通过计算连续收盘价高于或低于特定周期前收盘价的K线数量,来量化趋势的“生命力”。当计数达到关键数字(如9或13)时,通常预示着当前趋势动力可能已经耗尽,市场面临回调或反转的风险。本版本提供了高度自定义的开关,允许用户自由选择关注的信号数字(7, 9, 13, 15),并集成了灵活的警报功能。
English:
Inspired by a classic time-series analysis theory, this indicator is designed to identify potential points of trend exhaustion. It quantifies the "lifespan" of a trend by counting the number of consecutive bars that close higher or lower than the close four bars prior. When the count reaches key numbers (such as 9 or 13), it often suggests that the momentum of the current trend may be depleted, and the market is at risk of a pullback or reversal. This version features highly customizable switches, allowing users to select which numerical signals (7, 9, 13, 15) to monitor, and includes an integrated, flexible alert system.
▌ 核心原理 (Core Concept)
上涨序列 (Sell Setup / Up Count): 当一根K线的收盘价高于其前方第4根K线的收盘价时,计数器会递增。这构成了一个上涨序列。
下跌序列 (Buy Setup / Down Count): 当一根K线的收盘价低于其前方第4根K线的收盘价时,计数器会递增。这构成了一个下跌序列。
当序列计数达到“9”,通常意味着趋势的“设置”阶段已经完成,为潜在的反转做好了准备。
▌ 主要功能 (Key Features)
自动序列计数 (Automatic Sequence Counting):
自动追踪并计算上涨和下跌序列。
Automatically tracks and counts both uptrend and downtrend sequences.
关键数字标记 (Key Number Labeling):
在图表上清晰地标记出数字 7, 9, 13, 15,帮助您快速识别潜在的交易机会。
Clearly labels the key numbers 7, 9, 13, and 15 on the chart to help you quickly identify potential trading opportunities.
高度自定义开关 (Highly Customizable Switches):
用户可以在设置中自由选择启用或禁用任何一个数字信号的显示和警报,让分析更专注。
Users can freely enable or disable the display and alerts for any numerical signal in the settings, allowing for a more focused analysis.
集成化警报系统 (Integrated Alert System):
为关键数字(9, 13, 15)提供了独立的弹窗警报,并构建了预格式化的JSON消息,便于与Discord等第三方应用通过Webhook集成。
Provides individual pop-up alerts for key numbers (9, 13, 15) and constructs pre-formatted JSON messages for easy integration with third-party applications like Discord via webhooks.
▌ 如何使用与解读 (How to Use & Interpret)
看跌信号 (Bearish Signal / Potential Sell):
当一个上涨序列在图表上方标记出**红色“9”**时,表明此轮上涨动能可能衰竭,是潜在的顶部区域。交易者可考虑止盈多头仓位或寻找做空机会。数字“13”和“15”代表更强的衰竭信号。
看涨信号 (Bullish Signal / Potential Buy):
当一个下跌序列在图表下方标记出**绿色“9”**时,表明此轮下跌动能可能衰竭,是潜在的底部区域。交易者可考虑止盈空头仓位或寻找做多机会。数字“13”和“15”同样代表更强的衰竭信号。
数字“7”的用法 (Usage of Number "7"):
数字“7”通常被视为一个预警信号,提示当前趋势已经延续了一段时间,需要开始保持警惕。
重要提示: 本指标是一个寻找“拐点”的择时工具,而非趋势跟踪工具。建议将它与支撑/阻力位、市场结构、或其他动量指标结合使用,以提高信号的胜率。
▌ 参数设置 (Settings)
显示设置 (Display Settings): 控制标记的透明度、是否显示数字等。
信号开关 (Signal Switches): 本指标的核心功能。您可以独立控制 7, 9, 13, 15 中任意一个数字的显示与否及其警报的触发。
▌ 免责声明 (Disclaimer)
本指标仅为技术分析学习和研究工具,所有信号均不构成任何形式的投资建议。请务必结合您自己的交易系统和风险管理策略进行决策。
This indicator is for educational and research purposes only. All signals generated do not constitute any form of investment advice. Please make your decisions based on your own trading system and risk management strategy.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.