=======================================================================
  BOLLINGER BANDS
  Didactic Python code · Kardex Tauro · kardex-tauro.muisca.co
=======================================================================
-----------------------------------------------------------------------
  Educational material: this is not a buy or sell recommendation. The
  sample prices are made up and the historical ones are quoted only
  for practice. A past result guarantees nothing. Ask an authorised
  professional.
-----------------------------------------------------------------------
  Data: sample series (made-up prices, for practice)
  Closes read: 180   Window: 20   Factor: 2.00 deviations (population)
  Rows with a band: 161

LAST 10 DAYS
-----------------------------------------------------------------------
Date            Close   Lower band         Mean   Upper band    Width %
-----------------------------------------------------------------------
2026-06-21     120.85       116.01       120.12       124.23       6.84
2026-06-22     116.96       115.66       119.99       124.32       7.22
2026-06-23     118.49       115.63       119.76       123.89       6.90
2026-06-24     116.43       115.42       119.40       123.37       6.66
2026-06-25     117.39       115.38       119.13       122.87       6.29
2026-06-26     115.28       115.02       118.76       122.50       6.30
2026-06-27     115.53       114.80       118.42       122.04       6.11
2026-06-28     117.18       114.97       118.17       121.37       5.42
2026-06-29     116.97       114.86       118.11       121.35       5.49
2026-06-30     117.24       114.84       118.09       121.35       5.51
-----------------------------------------------------------------------

=======================================================================
SUMMARY
=======================================================================
  Closes above the upper band: 15
  Closes below the lower band: 5
  Average band width: 9.80 %
  Smallest width: 3.02 %   Largest width: 22.74 %
  Check (lower band < mean < upper band in every row): TIES

  The bands predict nothing: when the close leaves the band, all they
  say is that the price moved more than usual over the last 20 days.
  And remember: the width measures that agitation, not the future.

  File written: salida/bollinger.csv
-----------------------------------------------------------------------
  Educational material: this is not a buy or sell recommendation. The
  sample prices are made up and the historical ones are quoted only
  for practice. A past result guarantees nothing. Ask an authorised
  professional.
-----------------------------------------------------------------------
