OPEN-SOURCE SCRIPT

Power Earnings Gap (PEG) & HVE

553
Power Earnings Gap (PEG) & HVE is a momentum and earnings-reaction indicator designed to identify stocks with powerful post-earnings gaps and unusually high-volume events.

The PEG module looks for earnings-related gap-ups that meet multiple quality filters: minimum gap percentage, high relative volume, price above the 200-day moving average, and strong close location within the day’s range.

The indicator also tracks whether the most recent earnings event qualified as a PEG and whether that event remains active within a user-defined lookback period. A small table shows the most recent PEG value and volume spike giving an indication of the momentum generated by the PEG.

The HVE/HVY module identifies major volume events:
- HVE: Highest Volume Ever
- HVY: Highest Volume in a Year

This can help traders quickly spot stocks with institutional-style volume, earnings momentum, and recent high-impact price/volume behavior.

Alerts are included for:
  • New PEG detected
  • Qualified PEG active
  • HVE within lookback
  • HVY within lookback


All fields that drive the outcome are configurable.

Add this indicator to favorites. Then you can use pine-screener against watchlists.

Disclaimer: This tool is intended for scanning, watchlist building, and identifying stocks that may deserve further research. This indicator is for educational and research purposes only. It is not financial advice. Always perform your own analysis and risk management before making trading decisions.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.