TrendMatrix Auto-Period Trend ScreenerTrendMatrix Auto-Period Trend Screener - Trend Smart.
Most traditional screeners force you to view the market through a rigid, fixed lens—asking questions like, "What are the best performers over the last 90 days?" The problem is that stocks do not all move on the same 90-day cycle. Forcing a fixed lookback period onto every ticker guarantees you will miss the true underlying trend for many of them.
The "TrendMatrix Auto-Period Trend Screener" solves this by dynamically adapting to the unique rhythm of every single stock. Instead of you telling the indicator what timeframe to look at, the indicator tells you which timeframe mathematically fits the stock best.
1. Per-Ticker Auto-Period Selection
You no longer have to guess the correct lookback window. For every ticker in your custom universe, the engine runs a regression analysis across multiple candidate periods (ranging from 1 month to 4 years). It calculates the Pearson R correlation of the log(close) against time.
The engine automatically locks onto the period with the strongest log-linear trend. This means the screener might evaluate Nvidia based on a 189-day cycle, while simultaneously measuring a gold miner on a 63-day cycle—because those are the windows where their respective trends are mathematically the cleanest.
2. TAR & Sharpe: The Ultimate Filtering Pair
Once the engine finds a stock's optimal trend period, it computes two vital metrics to help you rank them:
TAR (Trend Annualised Return): This is the Compound Annual Growth Rate (CAGR) computed strictly over the stock's auto-selected best window. It standardizes growth rates so you can directly compare a stock on a 3-month cycle against one on a 1-year cycle.
The Sharpe Ratio: Growth means nothing if the path to get there is violently volatile. The Sharpe ratio measures risk-adjusted return over that same best-fit period. By default, the screener ranks your list by Sharpe, surfacing the best combination of trend strength and trend quality (smoothness) directly to the top.
3. The Dual Stop System
Managing risk requires context. This screener replaces arbitrary stop-losses with a dynamic, dual-column system directly in your dashboard:
Stop (Trend) — Peak-Anchored: This stop adapts to each name's actual cycle. It anchors to the highest close within the stock's unique best-fit window. Short, aggressive cycles get tight stops; long, established cycles get deeper stops.
Stop (Event) — Entry-Anchored: This answers the question: "If I had entered this stock at the start of my recent target window, where would my stop be now?" It is anchored purely to the price at the start of your defined post-event window.
By tracking both, you always know exactly how much structural buffer remains in the macro trend, and how much risk remains on a recent tactical entry.
---
Additional Core Features
Four Thematic Universe Slots: The screener allows you to actively switch between 4 different ticker lists (e.g., AI Infrastructure, Gold Miners, Bioscience, Energy). You can use the curated defaults, build your own custom lists, or merge both together. Because custom tickers are stored in your script settings, updating the indicator never wipes your hard work.
Adaptive Regression Channel: The chart overlay features a regression channel that defaults to a long-term view, but automatically snaps to a short-term view if the price structurally breaks below the long-term lower bound.
Contextual Zig-Zag: A built-in, percentage-based zig-zag helps you instantly gauge the normal "swing scale" of a stock, ensuring you don't get shaken out by a routine 10% pullback on a highly volatile ticker.
Actionable Alerts: Built-in alerts fire immediately when any ticker breaches—or recovers—either its Trend Stop or its Event Stop.
How to Use It
1. Select your Universe: Choose one of the 4 slots and define your tickers.
2. Calibrate your Filters: Set your minimum R values to remove choppy, trendless noise.
3. Read the Dashboard: Look for names at the top with a high Sharpe ratio (smooth trend), a strong TAR (high growth), and a green Action column (price is safely above its adaptive stop).
Chỉ báo






















