{
  "kind": "illustrative",
  "source": {
    "label": "Constructed mean-deviation calculations",
    "note": "For each N, use N−1 typical prices of100 and a newest typical price110. All points are separate windows, not market observations. Mean deviation uses the same window including newest price."
  },
  "x": [
    "2",
    "3",
    "4",
    "5",
    "6",
    "7",
    "8",
    "9",
    "10",
    "11",
    "12",
    "13",
    "14",
    "15",
    "16",
    "17",
    "18",
    "19",
    "20"
  ],
  "panels": [
    {
      "label": "CCI of the same newest price",
      "series": [
        {
          "id": "cci",
          "label": "CCI",
          "color": "blue",
          "values": [
            66.66666666666667,
            100.0,
            133.33333333333334,
            166.66666666666669,
            200.0,
            233.33333333333334,
            266.6666666666667,
            300.0,
            333.33333333333337,
            366.6666666666667,
            400.0,
            433.33333333333337,
            466.6666666666667,
            500.0,
            533.3333333333334,
            566.6666666666667,
            600.0,
            633.3333333333334,
            666.6666666666667
          ]
        }
      ],
      "guides": [
        {
          "value": 100,
          "label": "+100 threshold"
        }
      ]
    }
  ],
  "description": "The latest price is110 in every window. Its maximum normalized deviation grows with the number of observations.",
  "precision": 3,
  "annotations": [
    {
      "index": 0,
      "title": "Two observations",
      "text": "The mean is105 and mean absolute deviation5, so CCI is66.6667."
    },
    {
      "index": 1,
      "title": "Three observations",
      "text": "The newest value reaches100 exactly; a strict greater-than100 condition cannot be met."
    }
  ]
}
