PROTECTED SOURCE SCRIPT
Cập nhật 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.
Phát hành các Ghi chú
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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.