Question: Calculate the percentage of days with long alignment in the 5, 10, 20-day Simple Moving Average lines for Arch Capital Group from December 09, 2021 to April 16, 2022. 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
2021-11-11,41.470001220703125,41.18000030517578,41.7599983215332
2021-11-12,42.02000045776367,40.959999084472656,41.52000045776367
2021-11-15,42.36000061035156,42.18000030517578,42.18000030517578
2021-11-16,42.68999862670898,42.54999923706055,42.59999847412109
2021-11-17,42.150001525878906,41.97999954223633,42.369998931884766
2021-11-18,41.66999816894531,41.619998931884766,42.15999984741211
2021-11-19,42.060001373291016,41.25,41.7400016784668
2021-11-22,43.11000061035156,42.040000915527344,42.18000030517578
2021-11-23,43.7400016784668,43.220001220703125,43.22999954223633
2021-11-24,43.790000915527344,43.52000045776367,43.72999954223633
2021-11-26,41.88999938964844,41.77999877929688,42.66999816894531
2021-11-29,41.72999954223633,41.650001525878906,42.2599983215332
2021-11-30,40.380001068115234,40.2400016784668,41.290000915527344
2021-12-01,40.72999954223633,40.720001220703125,41.08000183105469
2021-12-02,42.290000915527344,40.869998931884766,40.869998931884766
2021-12-03,42.25,41.959999084472656,42.31999969482422
2021-12-06,43.13999938964844,42.79999923706055,42.79999923706055
2021-12-07,43.36000061035156,43.22999954223633,43.31999969482422
2021-12-08,43.38999938964844,43.16999816894531,43.43000030517578
2021-12-09,43.470001220703125,43.0,43.0
2021-12-10,43.43000030517578,43.220001220703125,43.59999847412109
2021-12-13,43.34999847412109,43.040000915527344,43.400001525878906
2021-12-14,43.75,43.25,43.43999862670898
2021-12-15,43.93999862670898,43.209999084472656,43.790000915527344
2021-12-16,44.09000015258789,43.9900016784668,44.38999938964844
2021-12-17,43.220001220703125,42.84000015258789,44.0
2021-12-20,42.43000030517578,41.93000030517578,42.68999862670898
2021-12-21,42.93000030517578,42.5,42.58000183105469
2021-12-22,43.29999923706055,42.86000061035156,42.93000030517578
2021-12-23,43.47999954223633,43.36000061035156,43.43000030517578
2021-12-27,43.93000030517578,43.09999847412109,43.31999969482422
2021-12-28,44.27000045776367,44.0,44.0
2021-12-29,44.59999847412109,44.220001220703125,44.22999954223633
2021-12-30,44.33000183105469,44.27999877929688,44.29999923706055
2021-12-31,44.45000076293945,44.20000076293945,44.20000076293945
2022-01-03,44.54999923706055,44.02999877929688,44.5
2022-01-04,45.130001068115234,45.0099983215332,45.08000183105469
2022-01-05,44.59999847412109,44.4900016784668,46.56999969482422
2022-01-06,44.86000061035156,44.7599983215332,45.369998931884766
2022-01-07,45.06999969482422,44.7599983215332,45.119998931884766
2022-01-10,46.02000045776367,45.0099983215332,45.34999847412109
2022-01-11,46.369998931884766,45.59000015258789,46.13999938964844
2022-01-12,46.470001220703125,46.130001068115234,46.59000015258789
2022-01-13,46.7400016784668,46.54999923706055,46.61000061035156
2022-01-14,47.40999984741211,46.08000183105469,46.66999816894531
2022-01-18,46.59000015258789,46.52000045776367,47.56999969482422
2022-01-19,45.91999816894531,45.900001525878906,46.65999984741211
2022-01-20,45.630001068115234,45.59000015258789,46.18000030517578
2022-01-21,45.18999862670898,45.04999923706055,45.5
2022-01-24,45.70000076293945,43.810001373291016,44.86000061035156
2022-01-25,45.25,43.9900016784668,45.27000045776367
2022-01-26,45.02999877929688,44.41999816894531,45.459999084472656
2022-01-27,44.77999877929688,44.369998931884766,45.41999816894531
2022-01-28,45.380001068115234,44.27999877929688,44.75
2022-01-31,46.31999969482422,45.0,45.08000183105469
2022-02-01,47.31999969482422,46.130001068115234,46.36000061035156
2022-02-02,47.93999862670898,47.0,47.31999969482422
2022-02-03,47.790000915527344,47.630001068115234,47.88999938964844
2022-02-04,47.63999938964844,46.93999862670898,47.459999084472656
2022-02-07,47.59000015258789,47.4900016784668,47.720001220703125
2022-02-08,48.20000076293945,47.5099983215332,47.810001373291016
2022-02-09,48.2599983215332,48.09000015258789,48.29999923706055
2022-02-10,47.38999938964844,47.02999877929688,48.47999954223633
2022-02-11,46.560001373291016,46.369998931884766,47.54999923706055
2022-02-14,46.41999816894531,46.040000915527344,46.43999862670898
2022-02-15,47.68000030517578,46.560001373291016,46.68999862670898
2022-02-16,47.650001525878906,47.38999938964844,47.43000030517578
2022-02-17,46.970001220703125,46.540000915527344,47.04999923706055
2022-02-18,47.09999847412109,46.7400016784668,46.790000915527344
2022-02-22,46.83000183105469,46.43999862670898,46.869998931884766
2022-02-23,46.290000915527344,46.2400016784668,47.060001373291016
2022-02-24,45.93000030517578,44.70000076293945,45.0
2022-02-25,47.540000915527344,46.220001220703125,46.220001220703125
2022-02-28,47.11000061035156,46.619998931884766,46.790000915527344
2022-03-01,45.83000183105469,45.61000061035156,46.84000015258789
2022-03-02,47.119998931884766,46.13999938964844,46.27000045776367
2022-03-03,46.560001373291016,46.4900016784668,47.2599983215332
2022-03-04,46.02000045776367,45.20000076293945,45.7400016784668
2022-03-07,44.27000045776367,44.2599983215332,45.47999954223633
2022-03-08,44.06999969482422,43.59000015258789,44.63999938964844
2022-03-09,45.560001373291016,45.040000915527344,45.16999816894531
2022-03-10,45.20000076293945,44.720001220703125,44.88999938964844
2022-03-11,45.72999954223633,45.459999084472656,45.47999954223633
2022-03-14,46.33000183105469,45.9900016784668,46.09000015258789
2022-03-15,46.810001373291016,46.58000183105469,46.58000183105469
2022-03-16,46.650001525878906,46.0,46.9900016784668
2022-03-17,46.5,45.97999954223633,46.22999954223633
2022-03-18,45.84000015258789,45.77000045776367,46.31999969482422
2022-03-21,47.150001525878906,46.20000076293945,46.29999923706055
2022-03-22,47.11000061035156,46.790000915527344,47.5
2022-03-23,46.59999847412109,46.59000015258789,46.95000076293945
2022-03-24,47.130001068115234,46.63999938964844,46.79999923706055
2022-03-25,47.66999816894531,47.25,47.25
2022-03-28,47.59999847412109,47.150001525878906,47.63999938964844
2022-03-29,48.560001373291016,47.75,47.900001525878906
2022-03-30,48.43999862670898,48.20000076293945,48.56999969482422
2022-03-31,48.41999816894531,48.40999984741211,48.75
2022-04-01,48.619998931884766,48.040000915527344,48.45000076293945
2022-04-04,47.08000183105469,47.02000045776367,48.290000915527344
2022-04-05,47.4900016784668,47.04999923706055,47.08000183105469
2022-04-06,47.29999923706055,47.02000045776367,47.31999969482422
2022-04-07,47.36000061035156,46.560001373291016,47.150001525878906
2022-04-08,48.31999969482422,47.47999954223633,47.810001373291016
2022-04-11,48.02000045776367,47.97999954223633,48.34000015258789
2022-04-12,47.68999862670898,47.52999877929688,47.959999084472656
2022-04-13,47.83000183105469,47.18000030517578,47.52000045776367
2022-04-14,48.97999954223633,47.61000061035156,47.61000061035156

Indicator data:
date,5-day,10-day,20-day
2021-12-09,43.12200012207031,42.263000106811525,42.38450031280517
2021-12-10,43.35800018310547,42.417000198364256,42.48250026702881
2021-12-13,43.4,42.579000091552736,42.54900016784668
2021-12-14,43.47799987792969,42.91599998474121,42.6185001373291
2021-12-15,43.58799972534179,43.236999893188475,42.6810001373291
2021-12-16,43.711999511718744,43.41699981689453,42.778000068664554
2021-12-17,43.66999969482421,43.513999938964844,42.85550022125244
2021-12-20,43.486000061035156,43.44300003051758,42.87400016784668
2021-12-21,43.322000122070314,43.4,42.86500015258789
2021-12-22,43.194000244140625,43.390999984741214,42.84300003051758
2021-12-23,43.072000122070314,43.39199981689453,42.82749996185303
2021-12-27,43.21399993896485,43.44199981689453,42.92950000762939
2021-12-28,43.581999969482425,43.53400001525879,43.05650005340576
2021-12-29,43.91599960327149,43.6189998626709,43.267499923706055
2021-12-30,44.12200012207031,43.65800018310547,43.44750003814697
2021-12-31,44.316000366210936,43.694000244140625,43.55550003051758
2022-01-03,44.44000015258789,43.827000045776366,43.67049999237061
2022-01-04,44.6120002746582,44.09700012207031,43.77000007629395
2022-01-05,44.6120002746582,44.26399993896484,43.831999969482425
2022-01-06,44.71800003051758,44.42000007629394,43.90550003051758
2022-01-07,44.84199981689453,44.57900009155273,43.985499954223634
2022-01-10,45.136000061035155,44.788000106811516,44.11499996185303
2022-01-11,45.38399963378906,44.99799995422363,44.265999984741214
2022-01-12,45.758000183105466,45.18500022888183,44.40200004577637
2022-01-13,46.13400039672852,45.42600021362305,44.542000198364256
2022-01-14,46.6020004272461,45.72200012207031,44.70800018310547
2022-01-18,46.716000366210935,45.92600021362305,44.87650012969971
2022-01-19,46.626000213623044,46.00499992370605,45.05100002288818
2022-01-20,46.45800018310547,46.10800018310547,45.18600006103516
2022-01-21,46.1479995727539,46.140999984741214,45.28050003051758
2022-01-24,45.805999755859375,46.204000091552736,45.391500091552736
2022-01-25,45.5379997253418,46.12700004577637,45.45750007629395
2022-01-26,45.35999984741211,45.99300003051758,45.495499992370604
2022-01-27,45.189999389648435,45.82399978637695,45.504500007629396
2022-01-28,45.22799987792969,45.6879997253418,45.55699996948242
2022-01-31,45.35199966430664,45.57899971008301,45.65049991607666
2022-02-01,45.76599960327148,45.65199966430664,45.78899993896484
2022-02-02,46.347999572753906,45.85399971008301,45.929499816894534
2022-02-03,46.95,46.06999969482422,46.08899993896485
2022-02-04,47.40199966430664,46.31499977111817,46.22799987792969
2022-02-07,47.655999755859376,46.50399971008301,46.35399990081787
2022-02-08,47.831999969482425,46.79899978637695,46.46299991607666
2022-02-09,47.895999908447266,47.121999740600586,46.55749988555908
2022-02-10,47.815999603271486,47.38299980163574,46.603499794006346
2022-02-11,47.6,47.50099983215332,46.59449977874756
2022-02-14,47.36599960327148,47.51099967956543,46.54499969482422
2022-02-15,47.26199951171875,47.54699974060058,46.59949970245361
2022-02-16,47.14000015258789,47.51800003051758,46.68599987030029
2022-02-17,47.056000518798825,47.43600006103516,46.75299987792969
2022-02-18,47.16399993896484,47.38199996948242,46.848499870300294
2022-02-22,47.24600067138672,47.3060001373291,46.90499992370606
2022-02-23,46.96800079345703,47.11500015258789,46.956999969482425
2022-02-24,46.624000549316406,46.88200035095215,47.00200004577637
2022-02-25,46.73800048828125,46.89700050354004,47.14000015258789
2022-02-28,46.74000091552735,46.95200042724609,47.22650012969971
2022-03-01,46.540000915527344,46.893000793457034,47.20200023651123
2022-03-02,46.70600051879883,46.83700065612793,47.192000198364255
2022-03-03,46.832000732421875,46.72800064086914,47.12300033569336
2022-03-04,46.52800064086914,46.6330005645752,47.03450031280518
2022-03-07,45.960000610351564,46.35000076293945,46.86600036621094
2022-03-08,45.60800018310547,46.07400054931641,46.69000034332275
2022-03-09,45.29600067138672,46.001000595092776,46.55800037384033
2022-03-10,45.024000549316405,45.92800064086914,46.40500049591064
2022-03-11,44.966000366210935,45.747000503540036,46.32200050354004
2022-03-14,45.37800064086914,45.66900062561035,46.31050052642822
2022-03-15,45.9260009765625,45.76700057983398,46.330000686645505
2022-03-16,46.14400100708008,45.7200008392334,46.27850074768067
2022-03-17,46.40400085449219,45.7140007019043,46.22100067138672
2022-03-18,46.4260009765625,45.69600067138672,46.164500617980956
2022-03-21,46.59000091552734,45.984000778198244,46.16700077056885
2022-03-22,46.650000762939456,46.288000869750974,46.18100070953369
2022-03-23,46.64000015258789,46.39200057983398,46.196500587463376
2022-03-24,46.76600036621094,46.585000610351564,46.25650062561035
2022-03-25,47.13199996948242,46.779000473022464,46.26300048828125
2022-03-28,47.22199935913086,46.9060001373291,46.28750038146973
2022-03-29,47.51199951171875,47.0810001373291,46.424000358581544
2022-03-30,47.87999954223633,47.25999984741211,46.49000034332275
2022-03-31,48.13799896240234,47.45199966430664,46.58300018310546
2022-04-01,48.327999114990234,47.72999954223633,46.71300010681152
2022-04-04,48.22399978637695,47.722999572753906,46.85350017547607
2022-04-05,48.00999984741211,47.76099967956543,47.024500274658195
2022-04-06,47.78199996948242,47.830999755859374,47.11150016784667
2022-04-07,47.57000045776367,47.85399971008301,47.21950016021728
2022-04-08,47.51000061035156,47.9189998626709,47.349000167846675
2022-04-11,47.69800033569336,47.96100006103516,47.433500099182126
2022-04-12,47.737999725341794,47.873999786376956,47.47749996185302
2022-04-13,47.844000244140624,47.81300010681152,47.53649997711181
2022-04-14,48.168000030517575,47.86900024414062,47.660499954223624

Answer: 48.8636