OPEN-SOURCE SCRIPT

Trend Strength Meter [Eˣ]

188
Pine Script®
📊 Trend Strength Meter - Free Indicator Overview The Trend Strength Meter quantifies market momentum with a simple 0-100 score. No more guessing if a trend is strong or weak - this indicator gives you an objective, numerical measurement of trend strength that combines trend direction, momentum, volatility, and moving average alignment into one clear reading. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎯 What This Indicator Does Quantifies Trend Strength: • Measures trend on a scale from -100 (extreme bearish) to +100 (extreme bullish) • Combines 4 key components: Trend Direction, Momentum, Volatility, MA Alignment • Provides objective measurement instead of subjective interpretation • Works on all timeframes and instruments Visual Display: • [color=green]Green Histogram Bars[/color] = Bullish strength (0 to +100) • [color=red]Red Histogram Bars[/color] = Bearish strength (0 to -100) • Smooth Overlay Line = Trend direction (filters noise) • Triangle Markers = Trend reversals (zero-line crosses) • Background Zones = Visual strength categories Multi-Timeframe Analysis: • See strength readings from 3 timeframes simultaneously • Identify when trends align across multiple timeframes • "ALIGNED" indicator shows when all timeframes agree • Spot divergences between timeframes Clean & Professional: • Minimal clutter, maximum clarity • Compact info panel in top-right corner • No overwhelming indicators or text • Easy to read at a glance ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📊 Understanding The Strength Scale Bullish Readings (0 to +100) [color=green]+75 to +100 - VERY STRONG BULL[/color] • Extremely powerful uptrend • All components aligned bullishly • Best time for aggressive long positions • Trend likely to continue • Strategy: Hold longs, avoid shorts [color=green]+50 to +75 - STRONG BULL[/color] • Strong uptrend with good momentum • High probability of continuation • Quality long setups • Pullbacks are buying opportunities • Strategy: Enter longs on dips [color=green]+25 to +50 - BULL[/color] • Moderate bullish trend • Decent upward momentum • Trend following longs work • Watch for weakening signals • Strategy: Ride the trend, trail stops [color=green]+10 to +25 - WEAK BULL[/color] • Weak bullish bias • Trend may be exhausting • Lower probability setups • Consider taking profits • Strategy: Caution, reduce position sizes -10 to +10 - NEUTRAL • No clear trend • Choppy, range-bound market • Conflicting signals • Low probability for trend trades • Strategy: Stay flat or trade ranges Bearish Readings (0 to -100) [color=red]-10 to -25 - WEAK BEAR[/color] • Weak bearish bias • Trend may be exhausting • Lower probability setups • Consider taking profits on shorts • Strategy: Caution, reduce position sizes [color=red]-25 to -50 - BEAR[/color] • Moderate bearish trend • Decent downward momentum • Trend following shorts work • Watch for weakening signals • Strategy: Ride the trend down, trail stops [color=red]-50 to -75 - STRONG BEAR[/color] • Strong downtrend with momentum • High probability of continuation • Quality short setups • Bounces are selling opportunities • Strategy: Enter shorts on rallies [color=red]-75 to -100 - VERY STRONG BEAR[/color] • Extremely powerful downtrend • All components aligned bearishly • Best time for aggressive short positions • Trend likely to continue • Strategy: Hold shorts, avoid longs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📊 How To Use This Indicator Basic Usage 1. Check Current Strength • Look at the histogram height and color • Read the exact number in the info panel • Note the status label (STRONG BULL, WEAK BEAR, etc.) • Higher absolute value = stronger trend 2. Watch For Reversals • Triangle markers appear when strength crosses zero • 🟢 Green triangle up = Bullish reversal signal • 🔴 Red triangle down = Bearish reversal signal • These mark potential trend changes 3. Monitor Multi-Timeframe Alignment • Check if all timeframes show same direction • "✓ ALIGNED" = All timeframes agree (high confidence) • "✗ Mixed" = Timeframes disagree (lower confidence) • Aligned trends have higher probability 4. Observe Strength Changes • Rising strength = Trend strengthening • Falling strength = Trend weakening • Strength near extremes (+75/-75) = Potential exhaustion • Strength near zero = Indecision/consolidation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💡 Trading Strategies Strategy 1: Trend Following Best For: Capturing major moves Timeframes: 1H, 4H, Daily Rules: 1. Wait for strength to reach +50 or higher (or -50 or lower) 2. Check MTF alignment - all timeframes should agree 3. Enter on pullbacks in the direction of strength 4. Hold position while strength remains above +25 (or below -25) 5. Exit when strength crosses back to weak zone or reverses Example - Long Setup: • Strength crosses above +50 = Strong bull trend • All MTF readings positive and aligned • Wait for minor pullback to support • Enter long with stop below recent swing low • Hold while strength stays above +25 • Exit if strength drops below +10 or reverses to negative Strategy 2: Reversal Trading Best For: Catching trend changes early Timeframes: 15min, 1H, 4H Rules: 1. Watch for strength to reach extreme levels (+75 or -75) 2. Look for divergence (price new high/low but strength declining) 3. Wait for zero-line cross (triangle marker appears) 4. Enter in direction of new trend 5. Use tight stops since you're catching early Example - Bullish Reversal: • Strength at -80 (very strong bear) • Price makes new low but strength only at -70 = Divergence • Green triangle appears = Zero-line cross • Enter long on confirmation • Stop below recent swing low • Target: Strength reaching +50 Strategy 3: Avoid Bad Trades Best For: Improving win rate Timeframes: All Rules: • DON'T trade when strength is between -10 and +10 (neutral zone) • DON'T go long when strength is negative • DON'T go short when strength is positive • DON'T trade against MTF alignment • DO wait for clear strength readings Why It Works: Most losses come from trading in choppy markets or against the trend Strategy 4: Position Sizing Based On Strength Best For: Risk management Timeframes: All Rules: • Strength +75 to +100 or -75 to -100 = Full position size (2-3% risk) • Strength +50 to +75 or -50 to -75 = Normal position (1.5-2% risk) • Strength +25 to +50 or -25 to -50 = Reduced position (1% risk) • Strength -10 to +10 = No trades or minimal size (0.5% risk) Why It Works: Bigger positions in stronger trends, smaller in weak trends ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚙️ Settings Explained Multi-Timeframe Analysis • Toggle ON/OFF the MTF readings in the info panel • Turn OFF for cleaner display if you only trade one timeframe Timeframe 1, 2, 3 (Default: 15min, 1H, 4H) • Choose which timeframes to analyze • For day trading: Use 5min, 15min, 1H • For swing trading: Use 1H, 4H, Daily • For position trading: Use 4H, Daily, Weekly • Higher timeframes show bigger picture trends MA Length (Default: 20) • Moving average period for trend direction component • Lower values (10-15): More responsive, more signals • Higher values (25-50): Smoother, fewer signals • Recommended: 20 for most styles ATR Length (Default: 14) • Period for measuring volatility • Standard setting works well for most markets • Recommended: Keep at 14 RSI Length (Default: 14) • Period for momentum measurement • Standard setting works well for most markets • Recommended: Keep at 14 Show Trend Labels on Chart • Toggle ON to display "BULL" / "BEAR" text at reversals • Keep OFF for cleaner chart (default) • Useful when backtesting to see historical signals Show Reversal Signals • Toggle triangle markers at zero-line crosses • Keep ON to catch trend changes • Turn OFF if you only care about current strength ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎓 How The Calculation Works The indicator measures 4 components, each worth 25 points (total = 100): 1. Trend Direction (25 points) • Compares price to moving average • Checks if MA is rising or falling • Perfect score: Price above rising MA • Minimum score: Price below falling MA 2. Momentum (25 points) • Uses RSI to measure momentum strength • RSI > 70 = Maximum bullish points • RSI < 30 = Maximum bearish points • RSI near 50 = Neutral points 3. Volatility Alignment (25 points) • Checks if price moves align with volatility • Strong moves in trending direction = High score • Weak moves or counter-trend = Low score • Uses ATR to measure volatility 4. Moving Average Alignment (25 points) • Checks EMA 8, 21, and 55 positioning • Perfect bullish: 8 > 21 > 55 above price • Perfect bearish: 8 < 21 < 55 below price • Misaligned = Reduced score Final Score = Sum of all 4 components (-100 to +100) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📱 Info Panel Guide Current • Shows exact strength number for current timeframe • Color-coded background (green = bullish, red = bearish) • Larger number for quick visibility Status • Text description of current trend state • Examples: "STRONG BULL", "WEAK BEAR", "NEUTRAL" • Quick interpretation without looking at number Timeframe Readings • Shows strength for each selected timeframe • Color-coded for quick reading • Compare to spot divergences MTF Alignment • ✓ ALIGNED = All timeframes show same direction (high confidence) • ✗ Mixed = Timeframes disagree (proceed with caution) • Most reliable trades happen when aligned ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📱 Alert Setup This indicator includes 4 alert types: 1. Bullish Reversal • Triggers when strength crosses from negative to positive • Potential trend change from bearish to bullish • Early warning of new uptrend 2. Bearish Reversal • Triggers when strength crosses from positive to negative • Potential trend change from bullish to bearish • Early warning of new downtrend 3. Very Strong Bull • Triggers when strength reaches +75 or higher • Extreme bullish conditions • Aggressive long opportunity 4. Very Strong Bear • Triggers when strength reaches -75 or lower • Extreme bearish conditions • Aggressive short opportunity To Set Up Alerts: 1. Click "Alert" button (clock icon) 2. Select "Trend Strength Meter" 3. Choose your alert type 4. Configure notifications 5. Click "Create" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💎 Pro Tips & Best Practices ✅ DO: • Trust the extremes - Readings above +75 or below -75 are highly reliable • Wait for alignment - Best trades happen when MTF shows "ALIGNED" • Use with price action - Combine with support/resistance for entries • Respect the neutral zone - Avoid trading when strength is -10 to +10 • Scale position size - Bigger positions in stronger trends • Watch for divergence - Price new high but strength declining = Warning • Follow the trend - Don't fight strong readings (±50 or more) ⚠️ DON'T: • Don't trade neutral readings - Wait for clear strength above ±25 • Don't fade extremes - Very strong trends (+75/-75) can stay extreme • Don't ignore MTF - Mixed timeframes = Lower probability • Don't overtrade - Wait for quality setups with good strength • Don't use alone - Combine with support/resistance and risk management • Don't expect perfection - Even strong trends can reverse suddenly 🎯 Best Timeframes: • Scalping: 1min, 5min (fast readings, quick changes) • Day Trading: 5min, 15min, 1H (balanced view) • Swing Trading: 1H, 4H, Daily (stable trends) • Position Trading: 4H, Daily, Weekly (major trends) 🔥 Best Markets: • Trending markets (crypto, indices, commodities) • High liquidity instruments (BTC, ES, NQ, EUR/USD) • Avoid on low-volume stocks or exotic pairs ⏰ Works Best When: • Market has clear direction • Good volatility (not too choppy, not too quiet) • Multiple timeframes aligned • Away from major news events ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🚀 What Makes This Different? Unlike subjective trend analysis, the Trend Strength Meter: • Objective Measurement - No guessing, exact numerical score • Multi-Component - Combines 4 factors, not just one indicator • Multi-Timeframe - See alignment across timeframes instantly • Clean Visual - Professional display, easy to interpret • Actionable - Clear signals for entries, exits, and position sizing • Universal - Works on all timeframes and instruments • Proven Components - Based on trend, momentum, volatility, MA alignment Perfect For: • Trend followers who want confirmation • Swing traders seeking high-probability setups • Risk managers wanting to size positions properly • Anyone tired of subjective "is this trend strong?" questions ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📈 Common Patterns To Watch Pattern 1: The Steady Climb • Strength gradually rises from +25 to +50 to +75 • Indicates building momentum • Trade: Hold longs, add on pullbacks Pattern 2: The Quick Spike • Strength jumps from 0 to +75 in few bars • Indicates explosive momentum • Trade: Enter quickly, but expect pullback Pattern 3: The Exhaustion • Strength at +80, price new high, strength drops to +70 • Bearish divergence forming • Trade: Take profits, prepare for reversal Pattern 4: The Whipsaw • Strength oscillates between +10 and -10 • Choppy, range-bound market • Trade: Stay flat, wait for breakout Pattern 5: The False Breakout • Strength briefly crosses +50 then drops back • Weak momentum, trend not confirmed • Trade: Wait for sustained strength above +50 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📈 Upgrade Your Trading System This free indicator quantifies trend strength objectively. Want more? 🔥 Check out my premium scripts for: • Automated entry and exit signals with trend confirmation • Advanced multi-timeframe strategy systems • Dynamic position sizing based on trend strength • Backtested performance with statistics • Complete trading solutions • And much more... 👉 Visit my profile for professional-grade trading tools! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📝 Important Notes • This indicator measures trend strength, not direction alone • Strong readings don't guarantee continuation (manage risk) • Always use with proper stop losses • Combine with support/resistance analysis • Test on demo before live trading • Past performance doesn't guarantee future results • Adjust settings to match your trading style Disclaimer: For educational purposes only. Trading involves substantial risk. Always do your own research and never risk more than you can afford to lose. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🙏 Support This Work If this indicator helps your trading: • ⭐ Give it a thumbs up • 💬 Share your best strength-based trades in comments • 🔔 Follow for more free professional tools • 🚀 Share with traders who need objective trend analysis Questions about trend strength? Drop a comment and I'll help! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Developed with ❤️ for traders who want objective, quantified analysis ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Version History • v1.0 - Initial release with 4-component strength calculation and MTF analysis

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.