If you’re looking to ride the wave of market trends, the TrendManager indicator for MetaTrader 5 might just be your new best friend! This nifty tool works by analyzing the difference between two moving averages, providing you with a clear picture of market direction.
The market is deemed to be trending when the gap between these moving averages exceeds a specific trigger threshold, which you can set to suit your trading style:
input uint DVLimit=70; // Trigger threshold in price chart points
The TrendManager utilizes the SmoothAlgorithms.mqh library classes, so be sure to copy it over to your <terminal_data_folder>\MQL5\Include directory. For a deeper dive into how these classes work, check out the detailed article on Averaging Price Series for Intermediate Calculations Without Using Additional Buffers.

Fig. 1. The TrendManager indicator
Related Posts
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4
- Visualize Current Trends Across All Time Frames with This MetaTrader 4 Indicator
- Unlocking the Power of Master Tools for MetaTrader 4
- Unlocking the Power of Multi-Timeframe Tymen STARC Bands for MetaTrader 5
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5