Meet the Creator:
Pedro Puado
The Flat Indicator is a handy tool for gauging market volatility. When the market is on a roll, you'll see vibrant red dots indicating strong trends, while gray dots point to weaker trends. Moderate trends are highlighted in blue.
Key Settings for the Indicator:
//+----------------------------------------------+ //| Flat Indicator Input Parameters | //+----------------------------------------------+ input uint Smooth=10; // Smoothing period input ENUM_MA_METHOD ma_method=MODE_SMA; // Type of smoothing input ENUM_APPLIED_PRICE applied_price=PRICE_CLOSE; // Price type input uint HLRef=100; input int Shift=0; // Horizontal shift of the indicator in bars input uint ExtraHighLevel=60; // The level of the strongest trend input uint HighLevel=40; // The level of a strong trend input uint LowLevel=20; // The level of a weak trend input ENUM_LINE_STYLE LevelStyle=STYLE_DASHDOTDOT; // Style of level lines input color LevelColor=clrBlue; // Color of the levels input ENUM_WIDTH LevelWidth=w_1; // Width of the levels
This indicator was originally crafted in MQL4 and made its debut on the Code Base at mql4.com back on November 1, 2007.

Figure 1. The Flat indicator
Related Posts
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Mastering the Open Range Breakout Indicator for MetaTrader 5
- ID Lite Info MA: A Comprehensive Indicator for MetaTrader 5
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- Unlocking Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5