Trend Compass
- Indicadores
- Versão: 1.0
- Ativações: 5
Overview
Trend Compass is a MetaTrader 5 indicator that combines an adaptive trend line, a dynamic volatility channel, and a multi-timeframe confirmation panel in a single tool. Unlike classic moving averages, the line speeds up or slows down on its own depending on how efficiently price is actually moving — so it lags less in trends and stays quieter in ranging markets.
The indicator is non-repainting: values on closed bars are final and never change after the bar forms.
How It Works
- Adaptive smoothing. The indicator measures price "movement efficiency" over InpPeriod — the ratio of net directional movement to total price path. Higher efficiency (price moving decisively) speeds up the line's reaction; lower efficiency (price churning sideways) increases smoothing. The same line adapts to both trending and ranging conditions.
- Volatility channel. A channel is built around the adaptive line using ATR ( InpATRPeriod , InpVolatilityFactor ) — its width automatically expands and contracts with the instrument's real volatility.
- Slope filter. The adaptive line's slope angle is calculated in degrees and compared against the InpSlopeThreshold . Entry signals are generated only when the slope confirms a sufficiently pronounced move — filtering out most false signals in sideways markets.
- Multi-timeframe confirmation. The indicator additionally checks trend direction on two higher timeframes ( InpConfirmTF1 , InpConfirmTF2 , defaulting to H4 and D1) and displays this on the info panel — a signal on the lower timeframe is immediately visible in the context of the higher-timeframe trend.
- On-chart panel. A compact panel shows the current trend direction, its strength, and confirmation status on the higher timeframes — no need to switch charts manually.
- Alerts. Optional notifications (on-screen alert, push notification to your phone) when a new confirmed signal appears.
Key Features
- Adaptive by design. One line replaces several moving averages with different periods — the indicator adjusts itself to current market behavior.
- Fewer false signals. Dual filtering — line slope plus multi-timeframe confirmation.
- Clear panel. All key information gathered in one place on the chart.
- Flexible alerts. On-screen alerts and push notifications without needing to watch the terminal constantly.
- Non-repainting. Values on closed bars are fixed.
- Easy to use. Minimal configuration out of the box, with all parameters logically grouped.
Main Parameters
- InpPeriod — adaptive line calculation period.
- InpATRPeriod , InpVolatilityFactor — volatility channel parameters.
- InpSlopeThreshold — slope angle threshold for signal confirmation.
- InpConfirmTF1 , InpConfirmTF2 — timeframes used for multi-timeframe confirmation.
- InpShowPanel — toggle the info panel.
- InpAlertsEnabled , InpPushNotifications — alert controls.
Usage Recommendations
- Tune InpPeriod and InpVolatilityFactor to the volatility of the specific instrument.
- Use the multi-timeframe confirmation panel as a filter, not as a standalone signal.
- Test the indicator's behavior on history and on a demo account before live trading.
Disclaimer
This indicator is a technical analysis tool and does not guarantee profitable trades. Trading financial markets involves the risk of capital loss. The decision to open trades remains entirely with the user.
