MAHQuant Divergence for Many Indicators (TradingView)
Professional Divergence Detection with Risk Management
đ° Price: FREE
đ Overview
MAHQuant Divergence for Many Indicators is a professional multi-indicator divergence detection system with advanced risk management features. It combines powerful divergence scanning across 10+ technical indicators with automated Entry/SL/TP calculation and smart confluence filtering. Perfect for traders who want to identify high-probability reversal and continuation setups with proper risk management built in.
⨠Key Features
1ď¸âŁ Multi-Indicator Divergence Detection
⢠Simultaneously scans for divergences across 10+ indicators:
  - MACD, MACD Histogram, RSI, Stochastic, CCI
  - Momentum, OBV, VW-MACD, CMF, MFI
  - Custom external indicator support
⢠Detects both Regular and Hidden divergences
⢠Bullish and Bearish divergence identification
⢠Visual divergence lines with customizable styles
2ď¸âŁ Advanced Risk Management
⢠Automatic SL/TP Calculation:
  - Entry price based on signal candle close
  - Stop Loss using ATR-based dynamic calculation
  - Two Take Profit levels (TP1 = 1:1 RR, TP2 = 1:2 RR)
  - Visual horizontal lines for Entry, SL, TP1, TP2
⢠Max SL Distance Protection:
  - Configurable maximum stop loss limit (default: 800 points)
  - Prevents excessive risk in high-volatility conditions
  - Automatically caps SL if ATR-based distance exceeds limit
3ď¸âŁ Smart Confluence & Multiple Divergence Filters
⢠Confluence Filter: Show signals ONLY when both Regular AND Hidden divergences appear together
⢠Multiple Regular Filter: Show signals ONLY when 2+ distinct Regular divergences converge on the same candle
⢠Multiple Hidden Filter: Show signals ONLY when 2+ distinct Hidden divergences converge on the same candle
⢠Significantly reduces false signals and increases reliability
4ď¸âŁ Professional Visualization
⢠Signal Label: Shows Entry, SL, TP1, TP2 prices directly on chart
⢠Auto-Clean Mode: Automatically removes old signal lines to keep chart clean
⢠Customizable line lengths, colors, and styles
⢠Pivot point markers (optional)
⢠Divergence count display
5ď¸âŁ Alert System
⢠Built-in alerts for all divergence types
⢠Separate alerts for Regular Bullish/Bearish
⢠Separate alerts for Hidden Bullish/Bearish
⢠Combined positive/negative divergence alerts
âď¸ How to Use
Basic Setup:
1. Add the indicator to your chart
2. Select which indicators to scan (MACD, RSI, Stoch, etc.)
3. Choose divergence type: Regular, Hidden, or Both
4. Adjust Pivot Period (default: 5) based on your timeframe
Risk Management:
5. Set ATR Length (default: 14) for SL calculation
6. Adjust ATR Multiplier (default: 0.1-1.0) for SL distance
7. Configure Max SL Distance to limit maximum risk
8. Enable "Show SL/TP Lines" to visualize levels
Advanced Filtering:
9. Enable filters (Confluence, Multiple Regular, Multiple Hidden) for highest-probability signals
10. Use "Show Only Last Signal Lines" to keep chart clean
11. Adjust SL/TP line length for visual preference
Trading Strategy:
⢠Entry: Enter on signal candle close or next candle open
⢠Stop Loss: Use the calculated SL level (below/above divergence pivot)
⢠Take Profit 1: Close 50% of the position at TP1 (1:1 RR)
⢠Take Profit 2: Close remaining 50% at TP2 (1:2 RR)
đ Indicator Settings Explained
⢠Pivot Period: Number of bars for pivot detection (higher = fewer but stronger signals)
⢠Source for Pivots: Use Close or High/Low for pivot calculation
⢠Divergence Type: Regular (reversal), Hidden (continuation), or Both
⢠Min Number of Divergence: Filter out weak signals
⢠Max Pivot Points to Check: How far back to search for divergences
⢠ATR Multiplier: Higher = wider SL, lower = tighter SL
⢠Max SL Distance: Maximum allowed SL in points (prevents excessive risk)
đŻ Best Practices
â Use on higher timeframes (1H, 4H, Daily) for more reliable signals
â Combine with trend analysis and support/resistance levels
â Enable confluence/multiple filters for higher probability setups
â Always use proper position sizing and risk management
â Backtest on your preferred market before live trading
âď¸ Technical Specifications
Platform: TradingView (Pine Script)
Type: Divergence Detection System
Timeframes: All timeframes (best on 1H+)
Instruments: All TradingView instruments
License: Free for all users
đź What You Get
â TradingView Script Access
â Free Lifetime Updates
â Email Support (48-hour response)
đ How to Access
Step 1: Click the TradingView link below
Step 2: Click "Add to Favorites" (â)
Step 3: Click "Add to Chart"
Step 4: Follow MAHQuant on TradingView
đĽ TradingView Link
đ [MAHQuant Divergence for Many Indicators]
â Support Us
If this tool helps you:
⢠Add it to your favorites
⢠Leave a comment on TradingView
⢠Join our Telegram channel for updates
[Telegram: t.me/MAHQuantTradingSystem]
đĄ Perfect For
⢠Traders who use divergence as part of their strategy
⢠Those who want automatic SL/TP calculation
⢠Anyone looking for confluence confirmation across multiple indicators
đ Credits & Acknowledgment
⢠Original divergence detection logic inspired by LonesomeTheBlue's open-source "Divergence for Many Indicators v4" indicator
⢠Enhanced with professional risk management features, SL/TP automation, and confluence filtering by MAHQuant Trading System
⢠Thank you to the TradingView community for open-source collaboration
â ď¸ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial, investment, or trading advice. Past performance is not indicative of future results. Always conduct your own research and manage your risk appropriately. Trade at your own risk.
đ Detect divergences like a pro with built-in risk management - absolutely FREE!
Support MAHQuant with USDT
If our tools have helped you, consider supporting further development.
Your contribution keeps this project alive and free for everyone.
ââââââââââââââââââââââââââââ
Choose your network:
đˇ TRC20
Wallet Address: TJDvStMESz6QQTVMsnvCzVjD59NDbxbbF8
đś ERC20
Wallet Address: 0x1862775199154181D7250fb89e784aD3F6Da1992
ââââââââââââââââââââââââââââ
Scan the QR code or copy the address above.