OPEN-SOURCE SCRIPT

HOG Trifecta

202
HOG Trifecta

📊 Overview
HOG Trifecta is a real-time market monitor that blends three core elements of price action — trend, momentum, and volume positioning — into one clean directional output. Built for tactical traders, it cuts through the noise and highlights when the market is ready to move or stay neutral.

⚙️ How It Works
• Scores five key signals:
  • EMA 9/21 crossover for directional trend
  • RSI > 50 or < 50 for momentum bias
  • MACD histogram for momentum expansion (WAE-style logic)
  • Price relative to EMA 50 as a volume anchor
  • ADX-powered trend strength confirmation
• Combines the signals into a score that determines a single bias:
  BULLISH, NEUTRAL, or BEARISH
• Displays a floating, color-coded label above price for instant clarity
• Optional background shading tied to sentiment (toggleable)

🎯 Inputs
• Show Label — toggle the sentiment word on/off
• Show Background — toggle chart shading based on bias

✅ Benefits
• Monitors trend, momentum, and volume in real time
• Tells you when conditions align for directional setups
• Avoids false signals with NEUTRAL states
• Fully self-contained — no external dependencies
• Lightweight and fast for daily or intraday use

📈 Use Cases
• Entry confirmation in trend strategies
• Swing trade bias filter
• Anchor higher timeframe sentiment for lower timeframe entries

⚠️ Notes
• Score thresholds:
  +2 or more → BULLISH
  −2 or less → BEARISH
  −1 to +1 → NEUTRAL
• Built using only standard Pine Script tools

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.