====== Stochastics ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * Slow %D rises; * Slow %D falls; * Slow %D is higher than Level line; * Slow %D is lower than Level line; * Slow %D crosses Level line upward; * Slow %D crosses Level line downward; * Slow %D changes its direction upward; * Slow %D changes its direction downward; * %K is higher than Slow %D; * %K is lower than Slow %D; * %K crosses Slow %D upward; * %K crosses Slow %D downward; **Logical rules for Closing Logic Condition slot.** * Slow %D rises; * Slow %D falls; * Slow %D is higher than Level line; * Slow %D is lower than Level line; * Slow %D crosses Level line upward; * Slow %D crosses Level line downward; * Slow %D changes its direction upward; * Slow %D changes its direction downward; * %K is higher than Slow %D; * %K is lower than Slow %D; * %K crosses Slow %D upward; * %K crosses Slow %D downward; **List box parameters** * **Smoothing method** (Simple). The MA method used for smoothing. Options: Simple, Weighted, Exponential, Smoothed. **Numeric box parameters** * **%K period** (5). the smoothing period of %K. Minimum: 1, Maximum: 200. * **Fast %D period** (3). The smoothing period of Fast %D. Minimum: 1, Maximum: 200. * **Slow %D period** (3). The smoothing period of Slow %D. Minimum: 1, Maximum: 200. * **Level** (20). A critical level (for appropriate logic). Minimum: 0, Maximum: 100. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/Stochastics.cs|Stochastics]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/Stochastics.mqh|Stochastics]].