PROTECTED SOURCE SCRIPT
SUSTAIN - Trend Strength Meter

📊 SUSTAIN - Trend Strength Meter
Measures if a trend has the "fuel" to continue or is running out of steam. Uses 3 key components to calculate a sustainability score from 0-100%.
What It Measures:
Momentum (40%) - ADX-based directional movement strength
Volume (30%) - Is volume supporting the trend direction?
Consistency (30%) - Are price bars following through in trend direction?
How to Read:
🟢 Green Dots = Bullish trend is SUSTAINED (safe to hold longs) 🔴 Red Dots = Bearish trend is SUSTAINED (safe to hold shorts)
🟠 Orange Bars = WEAK trend (40-60% score) - use caution ⬜ Gray X marks = FAILED trend (<40%) - no reliable direction
Entry/Exit Signals:
🟢 "LONG" label = Bullish trend just became sustained - consider long entry
🔴 "SHORT" label = Bearish trend just became sustained - consider short entry
❌ Gray X = Trend sustain lost - consider reducing/exiting position
Info Table Shows:
Current Score (0-100%)
Status: SUSTAINED / WEAK / FAILED
Trend Direction: BULLISH / BEARISH
Individual component scores
Use Cases:
Entry Confirmation - Wait for "LONG" or "SHORT" label before entering
Position Holding - Stay in trade while dots appear (trend sustained)
Exit Warning - Reduce position when gray X appears
Filter Other Signals - Only take signals from other indicators when SUSTAIN confirms direction
Settings:
Lookback: 14 bars (adjustable)
Sustain Threshold: 60% (score needed to confirm trend)
Weak Threshold: 40% (below this = failed)
Component weights customizable
Measures if a trend has the "fuel" to continue or is running out of steam. Uses 3 key components to calculate a sustainability score from 0-100%.
What It Measures:
Momentum (40%) - ADX-based directional movement strength
Volume (30%) - Is volume supporting the trend direction?
Consistency (30%) - Are price bars following through in trend direction?
How to Read:
🟢 Green Dots = Bullish trend is SUSTAINED (safe to hold longs) 🔴 Red Dots = Bearish trend is SUSTAINED (safe to hold shorts)
🟠 Orange Bars = WEAK trend (40-60% score) - use caution ⬜ Gray X marks = FAILED trend (<40%) - no reliable direction
Entry/Exit Signals:
🟢 "LONG" label = Bullish trend just became sustained - consider long entry
🔴 "SHORT" label = Bearish trend just became sustained - consider short entry
❌ Gray X = Trend sustain lost - consider reducing/exiting position
Info Table Shows:
Current Score (0-100%)
Status: SUSTAINED / WEAK / FAILED
Trend Direction: BULLISH / BEARISH
Individual component scores
Use Cases:
Entry Confirmation - Wait for "LONG" or "SHORT" label before entering
Position Holding - Stay in trade while dots appear (trend sustained)
Exit Warning - Reduce position when gray X appears
Filter Other Signals - Only take signals from other indicators when SUSTAIN confirms direction
Settings:
Lookback: 14 bars (adjustable)
Sustain Threshold: 60% (score needed to confirm trend)
Weak Threshold: 40% (below this = failed)
Component weights customizable
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.