====== Moving Averages Crossover ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * Fast MA crosses Slow MA upward; * Fast MA crosses Slow MA downward; * Fast MA is higher than Slow MA; * Fast MA is lower than Slow MA; **Logical rules for Closing Logic Condition slot.** * Fast MA crosses Slow MA upward; * Fast MA crosses Slow MA downward; * Fast MA is higher than Slow MA; * Fast MA is lower than Slow MA; **List box parameters** * **Base price** (Close). The price both Moving Averages are based on. Options: Open, High, Low, Close, Median, Typical, Weighted. * **Fast MA method** (Simple). The method used for smoothing Fast Moving Averages. Options: Simple, Weighted, Exponential, Smoothed. * **Slow MA method** (Simple). The method used for smoothing Slow Moving Averages. Options: Simple, Weighted, Exponential, Smoothed. **Numeric box parameters** * **Fast MA period** (13). The period of Fast MA. Minimum: 1, Maximum: 200. * **Slow MA period** (21). The period of Slow MA. Minimum: 1, Maximum: 200. * **Fast MA shift** (0). The shifting value of Fast MA. Minimum: 0, Maximum: 100. * **Slow MA shift** (0). The shifting value of Slow MA. Minimum: 0, Maximum: 100. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/MovingAveragesCrossover.cs|Moving Averages Crossover]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/MovingAveragesCrossover.mqh|Moving Averages Crossover]].