This file is from Wikimedia Commons and may be used by other projects.
The description on its file description page there is shown below.
Summary
DescriptionTrend scanning spans method.svg
English: Two-panel methods figure illustrating application of trend-scanning labels to SPY daily closing prices (2018-2025).
Top panel: price with markers colored by trend-scanning labels (green=+1, red=−1, gray=0).
Bottom panel: selected slope t-statistics over time — each start date picks the window with maximum |t-stat|, label assigned by sign.
Method described in López de Prado's Machine Learning for Asset Managers (2020). Data from Yahoo Finance via `yfinance`. Software: Python (Matplotlib). Author: Salmaan Mukhtar. Date: 2025. License: CC BY-SA 4.0.
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.