KS Magic Trend Signal
- Indicators
- Kulvinder Singh
- Version: 1.11
- Updated: 9 May 2026
KS Magic Trend Signal is trend and reversal signal indicator for MetaTrader 5.
It combines moving average trend detection, ZigZag-based swing/pivot analysis, and Higher High / Lower Low pattern recognition to generate clean BUY/SELL signals, support/resistance levels, and swing labels — all drawn exclusively through indicator buffers.
Core Concept
The indicator identifies market structure using ZigZag swings (filtered pivots) and detects classical swing patterns:
- HH – Higher High
- HL – Higher Low
- LH – Lower High
- LL – Lower Low
It then builds a trend state based on price interaction with dynamic Support & Resistance levels derived from these swings.
Key Features
| Feature | Description |
|---|---|
| BUY / SELL Arrows | Clear DodgerBlue ↑ and Red ↓ arrows when trend flips (price breaks above Resistance → BUY, below Support → SELL) |
| EHMA Trend Line | Enhanced Hull Moving Average with coloring (Lime / Red / DodgerBlue) |
| Dynamic S/R Lines | Dotted Resistance (Red) and Support (DodgerBlue) lines that update on swing breaks |
| Swing Labels | HH (Lime), LL (Red), LH (Red), HL (Lime) markers with arrows |
| Zero Chart Objects | Everything is buffer-based → very fast, no lag/freeze on zoom or scroll |
| Customizable History | HistoryDays limits calculation to recent bars for performance |
Visual Elements
- Blue ↑ Arrow: BUY signal (trend becomes bullish)
- Red ↓ Arrow: SELL signal (trend becomes bearish)
- Lime/Red/Blue Line: EHMA (trend strength & direction)
- Red Dotted Line: Resistance
- Blue Dotted Line: Support
- Lime/Red Triangles: Swing point labels (HH/HL/LH/LL)
This is a "KS Magic Trend" style indicator that focuses on market structure + momentum confirmation rather than just crossover signals.
