====== MACD Histogram ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * MACD histogram rises; * MACD histogram falls; * MACD histogram is higher than the Level line; * MACD histogram is lower than the Level line; * MACD histogram crosses the Level line upward; * MACD histogram crosses the Level line downward; * MACD histogram changes its direction upward; * MACD histogram changes its direction downward; **Logical rules for Closing Logic Condition slot.** * MACD histogram rises; * MACD histogram falls; * MACD histogram is higher than the Level line; * MACD histogram is lower than the Level line; * MACD histogram crosses the Level line upward; * MACD histogram crosses the Level line downward; * MACD histogram changes its direction upward; * MACD histogram changes its direction downward; **List box parameters** * **Smoothing method** (Exponential). The smoothing method of Moving Averages. Options: Simple, Weighted, Exponential, Smoothed. * **Base price** (Close). The price the Moving Averages are based on. Options: Open, High, Low, Close, Median, Typical, Weighted. * **Signal line method** (Simple). The smoothing method of the signal line. Options: Simple, Weighted, Exponential, Smoothed. **Numeric box parameters** * **Slow MA period** (26). The period of Slow MA. Minimum: 1, Maximum: 200. * **Fast MA period** (12). The period of Fast MA. Minimum: 1, Maximum: 200. * **Signal line period** (9). The period of Signal line. Minimum: 1, Maximum: 200. * **Level** (0). A critical level (for the appropriate logic). Minimum: 0, Maximum: 5. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/MACDHistogram.cs|MACD Histogram]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/MACDHistogram.mqh|MACD Histogram]].