Brahmastra Moving Average ADX🔱 BRAHMASTRA MOVING AVERAGE ADX 🔱
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A precision trend detection system that fuses the Average Directional Index (ADX) with a dynamic Weighted Moving Average (WMA) to deliver crystal-clear trend signals.
█ HOW IT WORKS
━━━━━━━━━━━━━━
This indicator analyzes both TREND STRENGTH (via ADX) and TREND DIRECTION (via +DI/-DI) to color-code the moving average:
🟢 GREEN MA = Strong Uptrend (ADX > threshold + Bullish bias)
🔴 RED MA = Strong Downtrend (ADX > threshold + Bearish bias)
⚫ GRAY MA = Ranging/Weak Trend (ADX below threshold)
█ KEY FEATURES
━━━━━━━━━━━━━━
✅ ADX-Based Trend Confirmation - Only signals when trend strength is confirmed
✅ Color-Coded WMA - Instantly identify trend direction at a glance
✅ Buy/Sell Signals - Visual markers on trend reversals
✅ Real-Time Info Panel - Live ADX, +DI/-DI values, and trend status
✅ Customizable Visuals - Adjust colors, line width, and fill zones
✅ Built-In Alerts - Get notified on trend changes
█ SETTINGS
━━━━━━━━━━
- DI Length (default: 14) - Period for +DI/-DI calculation
- ADX Smoothing (default: 14) - Smoothing period for ADX
- ADX Trend Threshold (default: 18) - Minimum ADX to confirm trend
- MA Length (default: 9) - Period for the Weighted Moving Average
█ HOW TO USE
━━━━━━━━━━━━
1. TREND TRADING: Enter long when MA turns GREEN, short when RED
2. RANGE FILTER: Avoid trades when MA is GRAY (ranging market)
3. CONFIRMATION: Use the info panel to verify ADX strength before entry
4. ALERTS: Set up alerts to catch trend changes automatically
█ BEST TIMEFRAMES
━━━━━━━━━━━━━━━━━
Works on all timeframes. Recommended: 15M, 1H, 4H, Daily
█ CREDITS
━━━━━━━━━
Developed by Brahmastra Trading Systems
Inspired by the legendary ADX indicator by J. Welles Wilder Jr.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Like & Follow for more premium indicators!
Penunjuk Pine Script®






















