====== Trix Index ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * Trix Index line rises; * Trix Index line falls; * Trix Index line is higher than zero; * Trix Index line is lower than zero; * Trix Index line crosses the zero line upward; * Trix Index line crosses the zero line downward; * Trix Index line changes its direction upward; * Trix Index line changes its direction downward; * Trix Index line crosses the Signal line upward; * Trix Index line crosses the Signal line downward; * Trix Index line is higher than the Signal line; * Trix Index line is lower than the Signal line; **Logical rules for Closing Logic Condition slot.** * Trix Index line rises; * Trix Index line falls; * Trix Index line is higher than zero; * Trix Index line is lower than zero; * Trix Index line crosses the zero line upward; * Trix Index line crosses the zero line downward; * Trix Index line changes its direction upward; * Trix Index line changes its direction downward; * Trix Index line crosses the Signal line upward; * Trix Index line crosses the Signal line downward; * Trix Index line is higher than the Signal line; * Trix Index line is lower than the Signal line; **List box parameters** * **Smoothing method** (Exponential). The Moving Average method used for smoothing Trix Index value. 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 of Trix** (9). The period of Trix Moving Averages. Minimum: 1, Maximum: 200. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/TrixIndex.cs|Trix Index]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/TrixIndex.mqh|Trix Index]].