This script is a Multi-Timeframe Volume Z-Score Indicator. It dynamically calculates /the Z-Score of volume over different timeframes to assess how significantly current volume deviates from its historical average. The Z-Score is computed for each timeframe independently and is based on a user-defined lookback period. The script switches between timeframes automatically, adapting to the chart's current timeframe using `timeframe.multiplier`.
The Z-Score formula used is: (current volume - mean) / standard deviation, where mean and standard deviation are calculated over the lookback period.
The indicator highlights periods of "significant" and "massive" volume by comparing the Z-Score to user-specified thresholds (`zScoreThreshold` for significant volume and `massiveZScoreThreshold` for massive volume). The script flags buy or sell conditions based on whether the current close is higher or lower than the open.
Visual cues: - Dark Green for massive buy volume. - Red for massive sell volume. - Green for significant buy volume. - Orange for significant sell volume. - Gray for normal volume.
The script also provides customizable alert conditions for detecting significant or massive buy/sell volume events, allowing users to set real-time alerts.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.