PROTECTED SOURCE SCRIPT
更新済 Volume Category Indicator

This indicator analyzes historical volume data and categorizes each trading period into one of six levels: Outlier, Low, Below Average, Average, Above Average, or High.
How it works:
1. Filters out extremities - Excludes abnormal volume spikes/drops using standard deviation (default: 3σ threshold) to create a "clean" dataset
2. Calculates percentiles - Divides the clean volume distribution into quintiles (20th, 40th, 60th, 80th percentiles)
3. Reduces noise - Applies a 3-period moving average to volume to prevent rapid category changes
4. Categorizes current volume - Compares today's smoothed volume against historical percentiles to assign a category
5. Visual display - Shows volume bars in grayscale (darker = lower volume, lighter = higher volume) with an optional info table
Key parameters:
* Lookback Period (100): How many bars of history to analyze
* Smoothing (3): Moving average length to stabilize categories
* Outlier Threshold (3.0): Standard deviations for filtering extremes
The result is a stable, clean indicator that identifies whether current volume is genuinely low, average, or high relative to recent history—without being thrown off by occasional volume anomalies.
How it works:
1. Filters out extremities - Excludes abnormal volume spikes/drops using standard deviation (default: 3σ threshold) to create a "clean" dataset
2. Calculates percentiles - Divides the clean volume distribution into quintiles (20th, 40th, 60th, 80th percentiles)
3. Reduces noise - Applies a 3-period moving average to volume to prevent rapid category changes
4. Categorizes current volume - Compares today's smoothed volume against historical percentiles to assign a category
5. Visual display - Shows volume bars in grayscale (darker = lower volume, lighter = higher volume) with an optional info table
Key parameters:
* Lookback Period (100): How many bars of history to analyze
* Smoothing (3): Moving average length to stabilize categories
* Outlier Threshold (3.0): Standard deviations for filtering extremes
The result is a stable, clean indicator that identifies whether current volume is genuinely low, average, or high relative to recent history—without being thrown off by occasional volume anomalies.
リリースノート
Updated to allow user to see levels.リリースノート
Updated to show average return of every volume category.リリースノート
Adjusted average return to be 50x average return for significance.リリースノート
Allowed for custom placement of table and optional volume levels.リリースノート
Added compound return for the selected period.保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 しかし、無料かつ制限なしでご利用いただけます ― 詳細についてはこちらをご覧ください。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 しかし、無料かつ制限なしでご利用いただけます ― 詳細についてはこちらをご覧ください。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。