Skip to main content
Track Trend filter
30 / 33
Library

2019issue C016

A trend filter is not ready to compare until portfolio constraints are written down

Readers reconstructing a published trend-filter study asked for the exact position-sizing method used in the backtest. The recorded answers cover cash, capacity, ranking, and shrinking, and they also show which book settings were never written down with certainty.

  • Reconstructors asked for the exact position-sizing method used in the backtest, not only the trend-filter rule.
  • Listed settings included a 10000 cash allocation per name, no margin, a 200000 portfolio-size, no-compounding, a 500-name max-open-positions cap, a 100 min-position-value, and a 0.01 per-share commission.
  • The author confirmed that position-score ranking and position-shrinking were unused, but could not recall every tester setting, including round-lot size.
  • One reconstructor treated matching the published output as a code-and-settings check before adding extra rules.
Entries in this reading1 entry

The missing sizing question

A trend-filter is a quantitative rule that classifies ordered price, volume, or breadth observations over a stated lookback into a directional or participation state. Readers reconstructing a published trend-filter study asked for the exact position-sizing method used in the backtest. Position-size is the cash allocated to one open name in a multi-name backtest.

The author stated that each name was funded with a 10000 cash allocation and that margin was not used.

Listed replication settings

Replication settings listed a 200000 portfolio-size, the starting equity used to scale and constrain the simulated book. The same list used no-compounding, a funding rule that keeps later entries on the original cash budget rather than reinvesting open profits.

The list also set max-open-positions, the hard cap on concurrent holdings the test engine is allowed to carry, at 500 names. Min-position-value, the smallest dollar ticket the test will accept, was set at 100, with a 0.01 per-share commission.

Ranking and shrinking were off

The author confirmed that a position-score ranking function was not applied. Position-score is a ranking field some testers use to decide which signals receive capital when more names qualify than the book can hold.

The author also confirmed that position-shrinking was left disabled. Position-shrinking is a platform option that reduces a new order so it can still open when residual cash is below the target size.

What remained uncertain

Round-lot size was not recalled with certainty by the author, while one reader inferred a lot of 10. A round-lot is the share multiple used to snap order quantities before a fill is booked. The author could not reconstruct every tester setting from memory because the original run was no longer recent.

One reconstructor treated matching the published output as a code-and-settings check before adding extra rules.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
30 of 33 in the Trend filter track
20198-8 pp.Next on Trend filterLookback, threshold, and position-capacity for a stiffness trend-filterThe moving-average and the stiffness-period are free inputs that require parameter-retuning when the sampling interval, the instrument's volatility, or prevailing market conditions change.
All readings on this track · 33 readings
  1. 1988Opening-range brackets, a two-bar trend filter, and bounded stops
  2. 1990Bezier-curve price trend filter
  3. 1992Constructing a damping-index trend filter
  4. 1992Building a random walk index trend filter
  5. 1992Phase diagrams for moving-average trend filters
  6. 1993Volume-weighted change smoothing and trend ranking
  7. 1993Concurrent highest-low filter with a largest-low-fall trigger
  8. 1994Unit-invariant trend filters and the c-test
  9. 1995Constructing cup and cap entries with a three-bar net line
  10. 1997Why a daily timing evaluation depends on interval, lookbacks, and the fitting objective
  11. 2001A volume budget clock for trend-segment construction
  12. 2001Keep three jobs separate when you test a composite score
  13. 2002Evaluating the weekly four-percent close filter as a market-state procedure
  14. 2003Constructing a confirmed zigzag trend filter
  15. 2004Decompose high, low, and close into separate forecast streams
  16. 2005Three-state moving-average breakout bar coloring
  17. 2005Constructing a volume and move-adjusted trend filter
  18. 2005A fifty-day average breakout as a trend permission filter
  19. 2005Current-bar inclusion can mute a stochastic channel break
  20. 2006A stochastic oscillator gated by a long-term exponential average
  21. 2010A construction test for a modified volume-price trend filter
  22. 2011Constructing a Spearman rank trend filter
  23. 2013Constructing a repeated-median slope as a resistant trend filter
  24. 2014Combining a relative-strength index and trend filters for oversold setups
  25. 2014Price-rooted lookbacks for a relative strength index, a moving average, and a trend filter
  26. 2015Evaluating next-session intermarket range forecasts
  27. 2018Read the intermarket weight matrix first, then the predicted moving-average filter
  28. 2018Constructing the stiffness trend filter from moving-average holds
  29. 2018The averaging kernel and the lagged trend gate are separate specifications
  30. 2019A trend filter is not ready to compare until portfolio constraints are written down
  31. 2019Lookback, threshold, and position-capacity for a stiffness trend-filter
  32. 2020Combining a trend filter with a moving average and a stochastic oscillator
  33. 2020Constructing a relative-strength oscillator with a rank-agreement trend filter
All 137 readings tagged Trend filter
Also on Trend filter5 readings