OPEN-SOURCE SCRIPT
Cloud Trend by luis [LB]

H
1. purpose and originality
the [lb] cloud vol-trend ultra v6 isn't a basic moving average crossover or rsi mashup. its standout feature is the adaptive volatility compression (avc) logic.
most trend indicators flop in low-liquidity times (sundays, holidays) by tracking price alone. this script fixes that by normalizing trend strength against historical volatility (hv).
2. how it works (the math behind it)
the script follows a three-step process:
core trend: compares heikin-ashi smoothed closes over a lookback period to spot the dominant market direction.
volatility normalization: computes annualized historical volatility
hv=100×σ×t^0.5
quality score (elite multiplier): the magic is the acceleration ratio. it divides trend count by a factor from current volatility vs. its 4-period momentum. formula: score = count / (relative volatility * sqrt(volatility accel)). a 2.0 score in high vol beats one in a flat market hands down.
3. how to use it
elite signals (scores < 4.0): these flag institutional "igniting bars." solid green or pink labels mean high-probability breakouts.

perfect gradient: track candle colors. fading to gray shows dropping volatility-to-price ratio—your early exit cue, even if price keeps moving.
settings: bump 'lookback' to 80-100 for swings; drop to 20-40 for scalps.
1. purpose and originality
the [lb] cloud vol-trend ultra v6 isn't a basic moving average crossover or rsi mashup. its standout feature is the adaptive volatility compression (avc) logic.
most trend indicators flop in low-liquidity times (sundays, holidays) by tracking price alone. this script fixes that by normalizing trend strength against historical volatility (hv).
2. how it works (the math behind it)
the script follows a three-step process:
core trend: compares heikin-ashi smoothed closes over a lookback period to spot the dominant market direction.
volatility normalization: computes annualized historical volatility
hv=100×σ×t^0.5
quality score (elite multiplier): the magic is the acceleration ratio. it divides trend count by a factor from current volatility vs. its 4-period momentum. formula: score = count / (relative volatility * sqrt(volatility accel)). a 2.0 score in high vol beats one in a flat market hands down.
3. how to use it
elite signals (scores < 4.0): these flag institutional "igniting bars." solid green or pink labels mean high-probability breakouts.
perfect gradient: track candle colors. fading to gray shows dropping volatility-to-price ratio—your early exit cue, even if price keeps moving.
settings: bump 'lookback' to 80-100 for swings; drop to 20-40 for scalps.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.