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. اقرأ المزيد في شروط الاستخدام.