YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

πŸ“ˆ Trading Indicator v3 β€” Research-Enhanced Reversal Signals

Pine Script v6 indicator for TradingView that detects high-probability reversal entries using a weighted scoring system with 10+ confirmation layers, informed by quantitative finance research.

Quick Start

  1. Open TradingView Pine Editor
  2. Copy the contents of indicator_v3.pine
  3. Paste and click "Add to Chart"

v3 Improvements over v2

# Improvement What it fixes Research basis
1 Weighted Scoring Divergence & liquidity sweep = 2 pts; pattern = 1 pt QTMRL 2025: composite scores outperform equal-weight ensembles
2 Bullish Divergence Detection Weak buys: divergence between price (lower low) and RSI/MACD (higher low) now adds a bonus RSI+SMA combos only predictive with trend direction
3 Liquidity Sweep Detector Stop-run/breaker pattern: price sweeps below swing low, reclaims with volume spike = +2 TradeFM 2025 / DeepLOB: orderbook pressure precedes visible reversal
4 Dynamic Regime Filter False SELLs in chop: if ATR% < threshold, SELL signals are suppressed; BUY requires divergence or sweep QTMRL 2025: 30–50% of false signals eliminated by regime gating
5 Stricter SELL Filter SELL now requires both H4 AND Daily HTF bearish alignment Multi-timeframe NN Trading 2025: daily trend constrains hourly reversals
6 Dynamic RSI Zones RSI oversold/overbought bands expand in high-volatility regimes, tighten in low-vol Sentiment-Aware Portfolio 2025
7 VWAP Proximity Scoring Price near VWAP = mean-reversion zone; reclaim above VWAP in downtrend = +1 VWAP execution benchmarks: equilibrium-as-support
8 Swing High/Low Levels ta.pivothigh / pivotlow for dynamic S/R in divergence & sweep detection Market microstructure: stops cluster at swing extremes
9 Chop Background Coloring Visual regime indicator: gray = choppy, green/red = trending β€”
10 Independent Cooldowns Buy and sell cooldowns are tracked separately Reduces signal clustering on forced-direction bars

Signal Types

  • 🟒 BUY signals β€” Bullish reversal in confirmed downtrend with confluence
  • πŸ”΄ SELL signals β€” Bearish reversal in confirmed uptrend with strict HTF alignment

Confirmation Layers (Weighted Scoring)

Layer Points Condition
Pattern 1 Candlestick reversal detected
Volume 1 Volume > 1.3Γ— 20-period average
RSI 1 RSI < dynamic oversold (buy) or > dynamic overbought (sell)
MACD 1 Histogram inflecting in signal direction
ADX/DMI 1 ADX > 22 + DI alignment confirms trend
HTF Bias 1 Price aligned with daily EMA(50)
R:R Gate 1 Risk:Reward β‰₯ 1.5:1 (ATR-based)
VWAP 1 Proximity to VWAP (mean-reversion zone)
Divergence 2 Regular bullish divergence: price ↓, RSI/MACD ↑
Liquidity Sweep 2 Stop-run reclaim with volume spike

BUY fires when score β‰₯ Min Confirmations (default: 5/15).
SELL fires when score β‰₯ Min Confirmations AND both H4 + Daily HTF bearish.


Candlestick Patterns Detected

Bullish Bearish
Hammer πŸ”¨ Shooting Star πŸ’«
Inverted Hammer Hanging Man ☠
Bullish Engulfing πŸ”„ Bearish Engulfing πŸ”„
Piercing Line πŸ“Œ Dark Cloud Cover ☁
Morning Star ⭐ Evening Star ⭐
Dragonfly Doji πŸ‰ Gravestone Doji πŸͺ¦
Doji (in downtrend) ✚ Doji (in uptrend) ✚

Extra Visual Overlays (v3)

  • VWAP (aqua line) β€” dynamic mean-reversion S/R
  • Divergence markers (green triangles) β€” pre-signal warnings
  • Liquidity sweep diamonds (blue diamonds) β€” stop-run events
  • Regime background (gray = choppy, tinted = trending)
  • Expanded info table β€” RSI, ADX, MACD, Volume, Trend, HTF Bias, ATR%, Regime, VWAP Proximity

Risk Management

  • ATR-based dynamic Stop-Loss and Take-Profit levels plotted on each signal
  • Minimum R:R ratio gate prevents bad setups

Alert Conditions

  • BUY Signal (v3) β€” multi-confirmation with divergence/sweep
  • SELL Signal (v3) β€” strict HTF-aligned bearish reversal
  • Any Signal (v3) β€” either direction

License

MIT

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support