====== Williams' Percent Range ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * WPR rises; * WPR falls; * WPR is higher than the Level line; * WPR is lower than the Level line; * WPR crosses the Level line upward; * WPR crosses the Level line downward; * WPR changes its direction upward; * WPR changes its direction downward; **Logical rules for Closing Logic Condition slot.** * WPR rises; * WPR falls; * WPR is higher than the Level line; * WPR is lower than the Level line; * WPR crosses the Level line upward; * WPR crosses the Level line downward; * WPR changes its direction upward; * WPR changes its direction downward; **List box parameters** * **Smoothing method** (Simple). The Moving Average method used for smoothing. Options: Simple, Weighted, Exponential, Smoothed. **Numeric box parameters** * **Period of %R** (14). The period of calculation. Minimum: 1, Maximum: 200. * **Smoothing period** (0). The period of an additional smoothing. Minimum: 0, Maximum: 200. * **Level** (-20). A critical level (for the appropriate logic). Minimum: -100, Maximum: 0. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/WilliamsPercentRange.cs|Williams' Percent Range]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/WilliamsPercentRange.mqh|Williams' Percent Range]].