OPEN-SOURCE SCRIPT
已更新 📈 Linearity (ER 0–1) + ADRMAX % Table

This indicator combines two powerful concepts to help traders assess trend efficiency and intraday thrust strength:
🔹 1. Linearity (Kaufman Efficiency Ratio)
Measures how efficiently price has trended over a selected lookback period.
Values range from 0 to 1, where:
1.0 = perfectly trending market (no noise)
0.0 = completely choppy market (all noise)
Optional method: New High Persistence (fraction of bars in the period that hit a new high).
🔹 2. ADRMAX % (Average Daily Range Max as %)
Calculates the average of top % biggest green daily candles (measured as % range: (high - low) / low × 100) over a given lookback.
Projects this ADRMAX % above current lows as a thrust-level expectation.
Marks candles exceeding this dynamic threshold, helping identify unusual momentum.
📊 On-Chart Table Display
Real-time display of:
Linearity (0–1 scale)
ADRMAX %
Table is color-coded and position-customizable.
🛠️ Use Cases:
Trend-following filters: only act when ER > 0.75.
Thrust detection: breakout days with range > ADRMAX.
Adaptive entries: combine both for better timing.
發行說明
📈 Linearity + ADRMAX + Volume Table + MAs [v2.0]Some More metrics included in the update are as follows:-
Relative Volume (RVol): Compares current volume with the average volume over a user-defined lookback period.
Volume Buzz: Estimates how much current volume deviates from the expected intraday pace, using a time-adjusted 100-day SMA.
Up/Down Volume Ratio: Identifies accumulation/distribution by comparing volume on up closes vs down closes over a chosen period.
📊 Customizable Trend View:
Add up to 4 Moving Averages with user-defined types (EMA/SMA), lengths, colors, and visibility controls.
🧮 Intuitive Dashboard Table:
A compact table shows all key metrics in one glance, color-coded for quick decision-making.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。