How it works: For each possible buy-day, we compare the price horizon days later. If the forward return is positive, we shade green; otherwise red. Shading is grouped into contiguous runs for performance.
Expected CSV format (in the same folder as this HTML): Date,Close with ISO dates like 1990-01-02.
Filenames used: sp500.csv and msci_world.csv (URTH proxy).