.png)




WHT AMF is an indicator that filters market noise by calculating the price median (HL2) instead of using simple averages. The median better eliminates extreme values and provides a more realistic view of the representative price.
The indicator offers 5 visualization modes with different smoothing and adaptability levels, each optimized for different market conditions.
Key Features
- No Repaint - Calculated values don't change on closed bars, ideal for backtesting and automated trading
- Median-Based - More robust against spikes and outliers than traditional averages
- Interactive Panel - Switch filters and adjust parameters directly from the chart without reloading
- Bilingual - Interface in Spanish and English
- Minimizable Panel - Takes up little screen space when you need it
Available Modes
1. MEDIAN (No Filter)
Shows the pure price median without additional smoothing. Ideal as a fair value reference line, eliminating extreme values and outliers.
Parameter: Length (periods to consider)
2. KAMA - Kaufman Adaptive Moving Average
Intelligent filter that automatically adapts to market conditions. Fast in strong trends, slow in consolidations. Effectively reduces whipsaws.
Parameters: KAMA Period, Fast Period, Slow Period
3. EHLERS - Super Smoother FIR
2-pole filter designed by John Ehlers. Eliminates high-frequency noise while maintaining minimal lag. Very smooth signal ideal for trend following.
Parameter: Ehlers Period
4. IIR - Recursive Filter
Simple exponential smoothing. Low Alpha (0.1-0.2) for very smooth line, high Alpha (0.5-0.8) for greater reactivity.
Parameter: IIR Alpha (0.01 to 1.0)
5. ALL (Comparison)
Shows median + all 3 filters simultaneously to compare behaviors in real-time. When all agree on direction, the signal is more reliable.
Who Is This Indicator For?
- Trend traders: KAMA and Ehlers provide clean signals with low noise
- Scalpers: Median without filter or IIR with high alpha for quick reactions
- Swing traders: KAMA or Ehlers with high periods to catch large movements
- Bot developers: No-repaint code, perfect for automation
Advantages Over Traditional Moving Averages
- Median vs Mean: Not affected by extreme values, providing a more stable reading of the "real" price
- Adaptability: KAMA automatically adjusts its speed according to market conditions
- Low Noise: Ehlers specifically eliminates frequencies that generate false signals
- Flexibility: 5 modes in one indicator instead of loading multiple indicators
- Total Control: Adjust parameters in real-time without reloading the chart


















