OPEN-SOURCE SCRIPT
已更新 Auto Last Earnings AVWAP

This script provides an automated approach to tracking critical post-earnings price levels. You can add it to a chart and then flip through your watchlist to see the anchored AVWAPs without the need to do it manually one by one.
Core Features:
- Automatically detects earnings dates and anchors VWAP calculations without manual input
- Calculates volume-weighted average price specifically from the last earnings release
- Identifies and visualizes significant earnings gaps between reporting periods
Volume-Based Signal Detection:
- Monitors VWAP crosses with volume confirmation (requires 1.5x normal volume)
- Labels high-volume breakouts with clear directional signals
- Uses a 6-bar adaptive volume baseline to filter out noise
Practical Applications:
AVWAP anchored at earnings offers a great price support level that should be considered when deciding to buy/sell the stock. This script eliminates manual VWAP anchoring and reduces chart management time
Key Differentiators:
First note: coding VWAP anchoring in pine is more challenging that one would think. The source code is open to help other users and hopefully inspire different applications.
- No need to manually anchor the VWAP
- Draws earnings gap from earnings to earnings (if auto mode)
- Detects breakouts through the AVWAP line
版本注释
Better description attempt:The Last Earnings AVWAP indicator combines post-earnings price analysis with volume-weighted mechanics to help traders identify institutional support and resistance levels that often form after earnings releases.
Trading Logic & Methodology:
This indicator tracks how price interacts with the volume-weighted average price (VWAP) specifically anchored from earnings dates, which often represent key inflection points where institutional traders reassess their positions. By automatically detecting earnings dates and calculating VWAP from these points, it identifies price levels where large players may have established significant positions.
Technical Implementation:
Uses earnings dates as anchor points to calculate VWAP, resetting calculations after each release
Implements adaptive volume analysis using a 6-bar rolling window to identify genuine breakouts
Requires 1.5x normal volume for signal confirmation, filtering out low-volume noise
Automatically detects and visualizes earnings gaps, providing context for post-earnings price movements
Why This Matters for Trading:
Post-earnings VWAP levels often act as self-fulfilling support/resistance zones because:
This script will save you a lot of time:
No need to manually find earnings and anchor the VWAP.
Advanced Features:
Dynamic gap visualization adjusts to the typical duration between earnings
Combines price, volume, and earnings data to generate high-probability trade signals
Includes four types of alerts for VWAP crosses and high-volume breakouts
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Dad, trader, technologist, cyclist, and a modern stoic who loves dachshunds, espresso and landscape photography in no particular order.
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Dad, trader, technologist, cyclist, and a modern stoic who loves dachshunds, espresso and landscape photography in no particular order.
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。