OPEN-SOURCE SCRIPT
تم تحديثه

21-Day Trend Direction

556
📈 21-Day Trend Direction Indicator

📊 How It Works:
🎯 Trend Detection Logic:
Analyzes last 21 daily candles
Calculates total price change from start to end
Compares against sideways threshold (default 2%)
Counts bullish vs bearish days
Tracks higher highs and lower lows
📈 Trend Classifications:
• 📈 UPTREND: Price change > +2% over 21 days
• 📉 DOWNTREND: Price change < -2% over 21 days
• ➡️ SIDEWAYS: Price change between -2% and +2%

💪 Trend Strength Levels:
• 🔥 Very Strong: >5% price change
• 💪 Strong: 3-5% price change
• 📊 Moderate: 1.5-3% price change
• 📉 Weak: <1.5% price change

🎨 Visual Features:
📋 Information Table Shows:
• Trend Direction with color coding
• Price Change % over 21 days
• Trend Strength classification
• Bull/Bear Days count
• Higher Highs/Lower Lows count
• Analysis Period (customizable)

📊 Chart Indicators:
• Trend Line (21-day moving average)
• Background Color for quick trend identification
• Trend Arrows (▲ ▼ ➡) on chart
• Customizable display options

⚙️ Customizable Settings:
🎯 Analysis Settings:
• Lookback Days: 5-50 days (default: 14)
• Sideways Threshold: 0.5-10% (default: 2%)
• Trend Strength: Low/Medium/High sensitivity

🎨 Display Options:
• Table Position: 9 different positions
• Table Size: Tiny to Large
• Show/Hide: Table, Trend Line, Background, Arrows

🚨 Alert Options:
• Trend Change to Uptrend
• Trend Change to Downtrend
• Trend Change to Sideways

This indicator gives you a clear, objective view of the 21-day trend with multiple confirmation signals! 🚀
ملاحظات الأخبار
📈 21-Day Trend Direction Indicator

📊 How It Works:
🎯 Trend Detection Logic:
Analyzes last 21 daily candles
Calculates total price change from start to end
Compares against sideways threshold (default 2%)
Counts bullish vs bearish days
Tracks higher highs and lower lows
📈 Trend Classifications:
• 📈 UPTREND: Price change > +2% over 21 days
• 📉 DOWNTREND: Price change < -2% over 21 days
• ➡️ SIDEWAYS: Price change between -2% and +2%

💪 Trend Strength Levels:
• 🔥 Very Strong: >5% price change
• 💪 Strong: 3-5% price change
• 📊 Moderate: 1.5-3% price change
• 📉 Weak: <1.5% price change

🎨 Visual Features:
📋 Information Table Shows:
• Trend Direction with color coding
• Price Change % over 21 days
• Trend Strength classification
• Bull/Bear Days count
• Higher Highs/Lower Lows count
• Analysis Period (customizable)

📊 Chart Indicators:
• Trend Line (21-day moving average)
• Background Color for quick trend identification
• Trend Arrows (▲ ▼ ➡) on chart
• Customizable display options

⚙️ Customizable Settings:
🎯 Analysis Settings:
• Lookback Days: 5-50 days (default: 14)
• Sideways Threshold: 0.5-10% (default: 2%)
• Trend Strength: Low/Medium/High sensitivity

🎨 Display Options:
• Table Position: 9 different positions
• Table Size: Tiny to Large
• Show/Hide: Table, Trend Line, Background, Arrows

🚨 Alert Options:
• Trend Change to Uptrend
• Trend Change to Downtrend
• Trend Change to Sideways

This indicator gives you a clear, objective view of the 21-day trend with multiple confirmation signals! 🚀
ملاحظات الأخبار
“Swisscover™ – Trend Atlas: The ultimate 21-day market compass. Detect uptrends, downtrends, and sideways phases with ATR-powered strength analysis, bullish/bearish stats, and a visual dashboard – all in one tool.”

⚡ It’s short, professional, and highlights:

  • The 21-day focus
  • Trend detection
  • ATR-powered analysis
  • The visual dashboard
ملاحظات الأخبار
“Swisscover™ – Trend Atlas: The ultimate 21-day market compass. Detect uptrends, downtrends, and sideways phases with ATR-powered strength analysis, bullish/bearish stats, and a visual dashboard – all in one tool.”

⚡ It’s short, professional, and highlights:

  • The 21-day focus
  • Trend detection
  • ATR-powered analysis
  • The visual dashboard

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.