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