Question: For Costco from July 28, 2022 to August 13, 2022, what percentage of days were the 10, 20, 30-day Simple Moving Average lines in short alignment? (Unit: %) Using unadjusted prices, write down the indicator formula, collect the raw data, calculate the answer, and keep four decimal places. Please list the raw data and key calculation process.
Formula: SMA_n = 1 / n * \sum_{i=0}^{n-1} P_{t-i}
Data:
date,close,low,open
2022-06-15,458.7900085449219,451.3900146484375,458.5
2022-06-16,451.760009765625,447.9700012207031,450.30999755859375
2022-06-17,446.6900024414063,443.2000122070313,451.0499877929688
2022-06-21,463.1099853515625,449.1400146484375,450.5499877929688
2022-06-22,459.9599914550781,458.5,459.3900146484375
2022-06-23,475.0,465.7099914550781,466.3699951171875
2022-06-24,484.3699951171875,476.6799926757813,480.0
2022-06-27,481.75,477.3500061035156,485.80999755859375
2022-06-28,468.6099853515625,467.8900146484375,483.5
2022-06-29,469.8399963378906,466.4200134277344,470.9500122070313
2022-06-30,479.2799987792969,464.7200012207031,468.2999877929688
2022-07-01,485.760009765625,478.0,481.1799926757813
2022-07-05,488.260009765625,478.4599914550781,485.55999755859375
2022-07-06,492.6499938964844,487.7799987792969,488.260009765625
2022-07-07,494.9500122070313,489.2200012207031,492.05999755859375
2022-07-08,501.5400085449219,497.0,497.3200073242188
2022-07-11,498.8999938964844,494.8399963378906,501.1199951171875
2022-07-12,490.5700073242188,488.0400085449219,497.010009765625
2022-07-13,492.2200012207031,483.8200073242188,484.3200073242188
2022-07-14,511.9400024414063,493.6199951171875,496.0899963378906
2022-07-15,522.9500122070312,515.780029296875,516.9199829101562
2022-07-18,516.2999877929688,515.6699829101562,521.8599853515625
2022-07-19,520.22998046875,516.969970703125,522.4099731445312
2022-07-20,524.2000122070312,516.8099975585938,521.260009765625
2022-07-21,529.4600219726562,521.5999755859375,524.0399780273438
2022-07-22,529.719970703125,526.0700073242188,530.7100219726562
2022-07-25,529.1400146484375,526.0,531.4199829101562
2022-07-26,511.9299926757813,508.760009765625,515.0
2022-07-27,522.3099975585938,511.1700134277344,513.0999755859375
2022-07-28,536.1799926757812,520.280029296875,520.280029296875
2022-07-29,541.2999877929688,531.9000244140625,532.0
2022-08-01,546.8099975585938,541.25,541.4199829101562
2022-08-02,543.4600219726562,540.77001953125,544.030029296875
2022-08-03,547.010009765625,542.1199951171875,545.0
2022-08-04,543.280029296875,540.6699829101562,547.0
2022-08-05,540.6699829101562,533.3499755859375,537.239990234375
2022-08-08,541.9000244140625,538.6699829101562,543.8400268554688
2022-08-09,535.8200073242188,533.8900146484375,543.6400146484375
2022-08-10,539.8200073242188,537.2899780273438,544.47998046875
2022-08-11,532.2000122070312,531.8900146484375,543.239990234375
2022-08-12,537.2100219726562,533.72998046875,536.1799926757812

Indicator data:
date,10-day,20-day,30-day
2022-07-28,524.2419982910156,508.9245010375977,494.6123331705729
2022-07-29,526.0769958496094,512.0255004882813,497.3626658121745
2022-08-01,529.1279968261719,515.0779998779296,500.5309987386068
2022-08-02,531.4510009765625,517.8380004882813,503.7566660563151
2022-08-03,533.7320007324219,520.5560012817383,506.55333353678384
2022-08-04,535.1140014648438,522.9725021362304,509.33066813151044
2022-08-05,536.2090026855469,524.9290008544922,511.51966756184896
2022-08-08,537.4850036621094,527.0790023803711,513.4373352050782
2022-08-09,539.8740051269531,529.3415023803711,515.239668782552
2022-08-10,541.6250061035156,531.7215026855469,517.6133361816406
2022-08-11,541.2270080566407,532.7345031738281,519.6920033772786
2022-08-12,540.8180114746094,533.4475036621094,521.6230041503907

Answer: 0.0