PROTECTED SOURCE SCRIPT
Telah dikemas kini 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.
Nota Keluaran
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.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.