OPEN-SOURCE SCRIPT
已更新 WAD : Whale Activity Detector

🐋 WAD: Whale Activity Detector
WAD (Whale Activity Detector) automatically detects periods of abnormally high trading volume compared to the average, identifying potential whale (institutional) buy or sell activity and visualizing it directly on the chart.
🔍 How It Works
1. Buy/Sell Volume Separation
Each candle’s trading volume is categorized based on its direction:
Bullish candle → Buy volume
Bearish candle → Sell volume
This separation helps distinguish the actual strength of buying vs. selling pressure, rather than looking at total volume alone.
2. Average Volume Calculation
Over a user-defined lookback period (default: 34 bars), the indicator calculates the moving average of both buy and sell volumes, establishing a baseline for what constitutes “normal” activity.
3. Whale Activity Detection
When the current volume exceeds n times the average volume (default: 4×), the indicator flags it as a Whale Zone — a potential sign of large player involvement.
Volume surge on a bullish candle → Whale Buy
Volume surge on a bearish candle → Whale Sell
4. Visual Display
🟢 Green bars: Whale buy activity
🔴 Red bars: Whale sell activity
BUY/SELL labels: Appear above the chart when an anomaly is detected
Average line toggle: Users can turn the average volume lines on or off for clarity
5. Alerts
Whenever whale buy/sell signals are detected, real-time alerts are triggered.
Example: 🐋 Whale Buy – NVDA! 🟢
⚙️ Indicator Meaning
Rather than showing raw volume, WAD tracks “abnormal volume relative to the average.”
It filters out noise and highlights the moments where large entities begin to move.
Essentially, it visualizes intentional and impactful trades hidden within standard volume activity.
🚀 Example Use Cases
Whale accumulation tracking – Repeated strong buy signals may indicate sustained institutional accumulation.
Short-term breakout confirmation – Price often rallies shortly after whale buy signals appear.
Support/resistance analysis – Whale sell zones frequently align with short-term resistance areas.
In short:
WAD identifies when trading volume exceeds its historical norm to highlight where big money enters or exits the market.
===============================================================================
🐋 WAD : 세력 매매거래 추적기
WAD(Whale Activity Detector) 는 특정 종목의 거래량 패턴 속에서
‘평균 대비 비정상적으로 큰 거래량이 발생한 구간’을 자동으로 감지해
세력(Whale)의 매수·매도 활동을 시각화하는 지표입니다.
🔍 작동 원리
매수·매도 거래량 분리
각 캔들이 양봉인지, 음봉인지에 따라 거래량을 분리합니다.
양봉 시 발생한 거래량 → 매수 거래량(buy volume)
음봉 시 발생한 거래량 → 매도 거래량(sell volume)
이렇게 분리함으로써 단순 거래량이 아닌,
실제 매수세/매도세의 힘을 구분할 수 있습니다.
평균 거래량 계산
사용자가 지정한 기간(기본 34봉)을 기준으로
매수·매도 거래량의 이동평균선을 각각 계산합니다.
이는 ‘정상적인 거래량 수준’을 판단하는 기준선으로 활용됩니다.
이상치 탐지 (Whale Activity Detection)
현재 거래량이 평균 거래량의 n배(기본 4배)를 초과할 경우,
그 구간을 세력 개입 구간(Whale Zone) 으로 판단합니다.
양봉에서 급증 → 세력 매수 (Whale Buy)
음봉에서 급증 → 세력 매도 (Whale Sell)
시각적 표시
초록색 기둥 : 세력 매수 거래량
빨간색 기둥 : 세력 매도 거래량
라벨 표시 (BUY / SELL) : 이상치 발생 시 차트 상단에 표시
평균선 표시 옵션 : 사용자가 원할 때 평균선을 켜거나 끌 수 있음
알림(Alerts)
세력의 매수·매도 신호가 감지되면,
알림 메시지를 통해 실시간으로 통보받을 수 있습니다.
(예: 🐋 Whale Buy - NVDA! 🟢)
⚙️ 지표의 의미
단순 거래량이 아니라, ‘평균 대비 비정상적 거래량’ 을 추적합니다.
즉, “세력이 본격적으로 움직이기 시작한 구간” 만 걸러내는 지표입니다.
노이즈가 많은 거래량 차트 속에서 의도 있는 거래의 흔적을 포착할 수 있습니다.
🚀 활용 예시
세력 매집 구간 포착 : 큰 매수 시그널이 반복적으로 발생하는 구간은 세력의 누적 매집 가능성을 의미함
단기 급등 신호 확인 : 매수 이상치가 발생한 직후 가격이 급등하는 경우가 많음
지지/저항 분석과 병행 활용 : 세력 매도 구간은 단기 저항으로 작용하는 경향이 있음
copyright invest_hedgeway
WAD (Whale Activity Detector) automatically detects periods of abnormally high trading volume compared to the average, identifying potential whale (institutional) buy or sell activity and visualizing it directly on the chart.
🔍 How It Works
1. Buy/Sell Volume Separation
Each candle’s trading volume is categorized based on its direction:
Bullish candle → Buy volume
Bearish candle → Sell volume
This separation helps distinguish the actual strength of buying vs. selling pressure, rather than looking at total volume alone.
2. Average Volume Calculation
Over a user-defined lookback period (default: 34 bars), the indicator calculates the moving average of both buy and sell volumes, establishing a baseline for what constitutes “normal” activity.
3. Whale Activity Detection
When the current volume exceeds n times the average volume (default: 4×), the indicator flags it as a Whale Zone — a potential sign of large player involvement.
Volume surge on a bullish candle → Whale Buy
Volume surge on a bearish candle → Whale Sell
4. Visual Display
🟢 Green bars: Whale buy activity
🔴 Red bars: Whale sell activity
BUY/SELL labels: Appear above the chart when an anomaly is detected
Average line toggle: Users can turn the average volume lines on or off for clarity
5. Alerts
Whenever whale buy/sell signals are detected, real-time alerts are triggered.
Example: 🐋 Whale Buy – NVDA! 🟢
⚙️ Indicator Meaning
Rather than showing raw volume, WAD tracks “abnormal volume relative to the average.”
It filters out noise and highlights the moments where large entities begin to move.
Essentially, it visualizes intentional and impactful trades hidden within standard volume activity.
🚀 Example Use Cases
Whale accumulation tracking – Repeated strong buy signals may indicate sustained institutional accumulation.
Short-term breakout confirmation – Price often rallies shortly after whale buy signals appear.
Support/resistance analysis – Whale sell zones frequently align with short-term resistance areas.
In short:
WAD identifies when trading volume exceeds its historical norm to highlight where big money enters or exits the market.
===============================================================================
🐋 WAD : 세력 매매거래 추적기
WAD(Whale Activity Detector) 는 특정 종목의 거래량 패턴 속에서
‘평균 대비 비정상적으로 큰 거래량이 발생한 구간’을 자동으로 감지해
세력(Whale)의 매수·매도 활동을 시각화하는 지표입니다.
🔍 작동 원리
매수·매도 거래량 분리
각 캔들이 양봉인지, 음봉인지에 따라 거래량을 분리합니다.
양봉 시 발생한 거래량 → 매수 거래량(buy volume)
음봉 시 발생한 거래량 → 매도 거래량(sell volume)
이렇게 분리함으로써 단순 거래량이 아닌,
실제 매수세/매도세의 힘을 구분할 수 있습니다.
평균 거래량 계산
사용자가 지정한 기간(기본 34봉)을 기준으로
매수·매도 거래량의 이동평균선을 각각 계산합니다.
이는 ‘정상적인 거래량 수준’을 판단하는 기준선으로 활용됩니다.
이상치 탐지 (Whale Activity Detection)
현재 거래량이 평균 거래량의 n배(기본 4배)를 초과할 경우,
그 구간을 세력 개입 구간(Whale Zone) 으로 판단합니다.
양봉에서 급증 → 세력 매수 (Whale Buy)
음봉에서 급증 → 세력 매도 (Whale Sell)
시각적 표시
초록색 기둥 : 세력 매수 거래량
빨간색 기둥 : 세력 매도 거래량
라벨 표시 (BUY / SELL) : 이상치 발생 시 차트 상단에 표시
평균선 표시 옵션 : 사용자가 원할 때 평균선을 켜거나 끌 수 있음
알림(Alerts)
세력의 매수·매도 신호가 감지되면,
알림 메시지를 통해 실시간으로 통보받을 수 있습니다.
(예: 🐋 Whale Buy - NVDA! 🟢)
⚙️ 지표의 의미
단순 거래량이 아니라, ‘평균 대비 비정상적 거래량’ 을 추적합니다.
즉, “세력이 본격적으로 움직이기 시작한 구간” 만 걸러내는 지표입니다.
노이즈가 많은 거래량 차트 속에서 의도 있는 거래의 흔적을 포착할 수 있습니다.
🚀 활용 예시
세력 매집 구간 포착 : 큰 매수 시그널이 반복적으로 발생하는 구간은 세력의 누적 매집 가능성을 의미함
단기 급등 신호 확인 : 매수 이상치가 발생한 직후 가격이 급등하는 경우가 많음
지지/저항 분석과 병행 활용 : 세력 매도 구간은 단기 저항으로 작용하는 경향이 있음
copyright invest_hedgeway
版本注释
update v1开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。