====== Momentum ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * Momentum rises; * Momentum falls; * Momentum is higher than the Level line; * Momentum is lower than the Level line; * Momentum crosses the Level line upward; * Momentum crosses the Level line downward; * Momentum changes its direction upward; * Momentum changes its direction downward; **Logical rules for Closing Logic Condition slot.** * Momentum rises; * Momentum falls; * Momentum is higher than the Level line; * Momentum is lower than the Level line; * Momentum crosses the Level line upward; * Momentum crosses the Level line downward; * Momentum changes its direction upward; * Momentum changes its direction downward; **List box parameters** * **Smoothing method** (Simple). The Moving Average method used for smoothing Momentum value. Options: Simple, Weighted, Exponential, Smoothed. * **Base price** (Close). The price Momentum is based on. Options: Open, High, Low, Close, Median, Typical, Weighted. **Numeric box parameters** * **Period** (14). The period of Momentum. Minimum: 1, Maximum: 200. * **Additional smoothing** (0). The period of additional smoothing. Minimum: 0, Maximum: 200. * **Level** (0). A critical level (for the appropriate logic). Minimum: -100, Maximum: 100. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/Momentum.cs|Momentum]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/Momentum.mqh|Momentum]].