====== Price Oscillator ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * Price Oscillator rises; * Price Oscillator falls; * Price Oscillator is higher than the Level line; * Price Oscillator is lower than the Level line; * Price Oscillator crosses the Level line upward; * Price Oscillator crosses the Level line downward; * Price Oscillator changes its direction upward; * Price Oscillator changes its direction downward; **Logical rules for Closing Logic Condition slot.** * Price Oscillator rises; * Price Oscillator falls; * Price Oscillator is higher than the Level line; * Price Oscillator is lower than the Level line; * Price Oscillator crosses the Level line upward; * Price Oscillator crosses the Level line downward; * Price Oscillator changes its direction upward; * Price Oscillator changes its direction downward; **List box parameters** * **Smoothing method** (Simple). The Moving Average method used for smoothing the PO. Options: Simple, Weighted, Exponential, Smoothed. * **Base price** (Close). The price the indicator is based on. Options: Open, High, Low, Close, Median, Typical, Weighted. **Numeric box parameters** * **Period** (10). The period of Price Oscillator. Minimum: 1, Maximum: 200. * **Additional smoothing** (0). The value of smoothing period. 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/PriceOscillator.cs|Price Oscillator]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/PriceOscillator.mqh|Price Oscillator]].