Skip to main content
Track TRIX
2 / 15
Library

1988issue C061-11

Isolate nested formulas before judging signals

Nested trading-range formulas are treated as easy to mistype and are to be debugged before the update loop is written. Formula isolation, write-command checks and independent arithmetic come before an assembled mechanical trading system is trusted.

  • Nested trading-range formulas are treated as easy to mistype and are to be debugged before the update loop is written.
  • Unbalanced punctuation can halt execution, while a wrong write address can still run and leave an error value at the specified cell.
  • Formula isolation names a full copy of the formula, strips the write wrapper, and tests each stand-alone term before reassembling the contents.
  • When no published control sample is available, each isolated term is compared with an independent hand calculation before the assembled mechanical system is trusted.
Entries in this reading3 entries

Start with the nested terms

The instructional aim is transferable process tools for the reader's own mechanical tasks, not reproduction of one finished system.

Nested trading-range formulas are treated as easy to mistype and are to be debugged before the update loop is written. A trading-range-term is a nested true-range style calculation used as an input to a larger directional-movement construction.

Failures that still run

A write-command is a spreadsheet instruction that deposits a calculated value into a named block at a stated column and row offset. Unbalanced punctuation can halt execution, while a wrong write address can still run and leave an error value at the specified cell.

An invalid-range failure is to be checked by confirming that the named block exists, occupies the intended cells, and has not been moved or deleted. An invalid-offset failure occurs when the write address points past the named block's actual width or height.

Some keying mistakes still return a number with no error flag, including cases where fractional row or column indexes are rounded to integer locations.

Isolate each stand-alone term

Formula isolation is a debugging sequence that names a full copy of a nested formula, tests each stand-alone term, then rebuilds the contents until the defect is located. The prescribed isolation sequence names that full copy, strips the write wrapper, and tests each stand-alone term before reassembling the contents.

Temporarily storing the contents as text keeps named blocks from converting into cell addresses that shift if the fragment is moved.

Confirm the arithmetic independently

A control sample is a published or independently computed set of intermediate values used to confirm that each nested term is doing the intended arithmetic. When no published control sample is available, each isolated term is to be compared with an independent hand calculation before the assembled mechanical system is trusted.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
2 of 15 in the TRIX track
19921-2 pp.Next on TRIXConstructing TRIX from triple exponential smoothingTriple-smoothing applies the same exponential moving average three times, each pass taking the previous pass as its input, so short-lived fluctuations are reduced while the series still tracks trend direction.
All readings on this track · 15 readings
  1. 1984Constructing TRIX from a cutoff to one shared alpha
  2. 1988Isolate nested formulas before judging signals
  3. 1992Constructing TRIX from triple exponential smoothing
  4. 1992Constructing a TRIX oscillator from daily declines
  5. 1992A pre-trade checklist that stays flat until weekly support and TRIX agree
  6. 1992Constructing TRIX as triple-smoothed log-price momentum
  7. 1992Building TRIX crossover and momentum entries on a period grid
  8. 1992TRIX lookback and momentum derivative parameters
  9. 1994Seeding TEMA and DEMA with time-trend regression
  10. 1997Constructing the TRIX oscillator from triple smoothing
  11. 2002Constructing TRIX from triple-smoothing to signal rules
  12. 2002Lock the TRIX construction before reading a zero-line cross
  13. 2003Constructing TRIX from nested exponential averages
  14. 2004Construct TRIX entry, exit, and rest windows as one recipe
  15. 2004TRIX momentum and fundamental overlays for medium-term stock selection
All 15 readings tagged TRIX
Also on TRIX5 readings