PROTECTED SOURCE SCRIPT
已更新 Market Cycle

Market Cycle Indicator
This indicator identifies the four classic market cycle phases — Accumulation, Markup, Distribution, and Markdown — using a combination of trend, momentum, and volatility signals. It helps traders quickly understand the current market context and avoid trading against major structural shifts.
How It Works
The algorithm evaluates multiple conditions:
• Trend direction based on EMA Fast vs EMA Slow
• Momentum strength using MACD histogram and its slope
• Overbought / oversold zones with RSI
• Trend strength / weakness via ADX (DMI)
Each bar is classified into one of the following phases:
• Accumulation: Low trend strength, rising momentum, mid-range RSI
• Markup: Strong uptrend with rising positive momentum
• Distribution: Weakening momentum after an uptrend, high RSI
• Markdown: Strong downtrend with falling momentum and low RSI
The indicator highlights the active phase using background color and displays a real-time label on the chart.
Main Features
• Automatic detection of 4 market cycle phases
• Background color shading for easy visualization
• Real-time label showing the current phase
• Optional alerts for each phase change
• Clean and optimized code (Pine Script v5)
Recommended Use
Use this indicator to:
• Identify the broader market context
• Avoid entering during distribution or late markup zones
• Time entries better during accumulation or early markup
• Combine with price action, volume, and support/resistance for best results
Note:
This is not a buy/sell signal generator. It provides context, not predictions. Always manage risk appropriately.
This indicator identifies the four classic market cycle phases — Accumulation, Markup, Distribution, and Markdown — using a combination of trend, momentum, and volatility signals. It helps traders quickly understand the current market context and avoid trading against major structural shifts.
How It Works
The algorithm evaluates multiple conditions:
• Trend direction based on EMA Fast vs EMA Slow
• Momentum strength using MACD histogram and its slope
• Overbought / oversold zones with RSI
• Trend strength / weakness via ADX (DMI)
Each bar is classified into one of the following phases:
• Accumulation: Low trend strength, rising momentum, mid-range RSI
• Markup: Strong uptrend with rising positive momentum
• Distribution: Weakening momentum after an uptrend, high RSI
• Markdown: Strong downtrend with falling momentum and low RSI
The indicator highlights the active phase using background color and displays a real-time label on the chart.
Main Features
• Automatic detection of 4 market cycle phases
• Background color shading for easy visualization
• Real-time label showing the current phase
• Optional alerts for each phase change
• Clean and optimized code (Pine Script v5)
Recommended Use
Use this indicator to:
• Identify the broader market context
• Avoid entering during distribution or late markup zones
• Time entries better during accumulation or early markup
• Combine with price action, volume, and support/resistance for best results
Note:
This is not a buy/sell signal generator. It provides context, not predictions. Always manage risk appropriately.
版本注释
Market Cycle IndicatorThis indicator identifies the four classic market cycle phases — Accumulation, Markup, Distribution, and Markdown — using a combination of trend, momentum, and volatility signals. It helps traders quickly understand the current market context and avoid trading against major structural shifts.
How It Works
The algorithm evaluates multiple conditions:
• Trend direction based on EMA Fast vs EMA Slow
• Momentum strength using MACD histogram and its slope
• Overbought / oversold zones with RSI
• Trend strength / weakness via ADX (DMI)
Each bar is classified into one of the following phases:
• Accumulation: Low trend strength, rising momentum, mid-range RSI
• Markup: Strong uptrend with rising positive momentum
• Distribution: Weakening momentum after an uptrend, high RSI
• Markdown: Strong downtrend with falling momentum and low RSI
The indicator highlights the active phase using background color and displays a real-time label on the chart.
Main Features
• Automatic detection of 4 market cycle phases
• Background color shading for easy visualization
• Real-time label showing the current phase
• Optional alerts for each phase change
• Clean and optimized code (Pine Script v5)
Recommended Use
Use this indicator to:
• Identify the broader market context
• Avoid entering during distribution or late markup zones
• Time entries better during accumulation or early markup
• Combine with price action, volume, and support/resistance for best results
Note:
This is not a buy/sell signal generator. It provides context, not predictions. Always manage risk appropriately.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。