TRIX Differential
The TRIX Differential is the difference between two TRIX values: TRIX(fast) − TRIX(slow). Both are triple-smoothed percent changes, so the difference isolates the shorter-term turn.
Role in the strategy
| Slot | Available | Role |
|---|---|---|
| Entry Point | No | — |
| Entry Rule | Yes | Filters entries: allows or denies opening a position. |
| Exit Point | No | — |
| Exit Rule | Yes | Triggers exits: allows or denies closing a position. |
It produces conditions, not order prices: as an entry rule it is ANDed with the entry point and the other entry rules, as an exit rule it is ORed with the other exit rules. See Indicators for the slot semantics.
Logic rules
| Rule | Long signal is 1 when | Short signal is 1 when |
|---|---|---|
| Indicator rises | the line rose on the previous bar | the line fell on the previous bar |
| Indicator falls | the line fell on the previous bar | the line rose on the previous bar |
| Indicator is higher than the Level line | the line is above the Level | the line is below −Level |
| Indicator is lower than the Level line | the line is below the Level | the line is above −Level |
| Indicator crosses the Level line upward | the line crossed above the Level from below | the line crossed below −Level from above |
| Indicator crosses the Level line downward | the line crossed below the Level from above | the line crossed above −Level from below |
| Indicator changes its direction upward | the line formed a valley | the line formed a peak |
| Indicator changes its direction downward | the line formed a peak | the line formed a valley |
Rises and falls are states; the two direction changes and the two crossings are events, which makes them single-bar triggers for the Generator.
Parameters
| Parameter | Type | Default | Range | Purpose |
|---|---|---|---|---|
| Apply to | select | Close | Open, High, Low, Close, Median, Typical, Weighted | Price series the values are calculated from |
| Period | number | 9 | 2 to 1000 | Period of the fast TRIX |
| Slow period | number | 13 | 2 to 1000 | Period of the slow TRIX |
| Level | number | 0 | −1000 to 1000 | Long threshold; the short threshold is −Level |
Calculation
TRIX(period)andTRIX(slow period)are the percent change of a triple EMA (tech.TRIX), the line MetaTrader'siTriXreturns.
- The indicator value is the fast value minus the slow one, drawn as a histogram in its own pane (
separatedChart).
- Three EMAs need about
3 · periodbars to settle, so the line starts later than a plain moving average.
Backtesting
- The rule is evaluated on the previous (closed) bar; the signal applies to the current bar.
- No MA method:
iTriXsmooths with EMA only, so the field would diverge from the exported handle. - The indicator never changes the entry or exit order price; the level comes from the point indicator.