====== Oscillator of Trix ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * Oscillator rises; * Oscillator falls; * Oscillator is higher than the zero line; * Oscillator is lower than the zero line; * Oscillator crosses the zero line upward; * Oscillator crosses the zero line downward; * Oscillator changes its direction upward; * Oscillator changes its direction downward; **Logical rules for Closing Logic Condition slot.** * Oscillator rises; * Oscillator falls; * Oscillator is higher than the zero line; * Oscillator is lower than the zero line; * Oscillator crosses the zero line upward; * Oscillator crosses the zero line downward; * Oscillator changes its direction upward; * Oscillator changes its direction downward; **List box parameters** * **Smoothing method** (Exponential). The Moving Average method used for smoothing the Trix value. Options: Simple, Weighted, Exponential, Smoothed. * **Base price** (Close). The price the Trix Index is based on. Options: Open, High, Low, Close, Median, Typical, Weighted. **Numeric box parameters** * **First Trix period** (9). The period of first Trix. Minimum: 1, Maximum: 200. * **Second Trix period** (13). The period of second Trix. Minimum: 1, Maximum: 200. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/OscillatorOfTrix.cs|Oscillator of Trix]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/OscillatorOfTrix.mqh|Oscillator of Trix]].