Question: During December 21, 2024 to June 23, 2025, what percentage of trading days had Consolidated Edison's high less the 5-day Weighted Moving Average line? (Weights are 1, 2, ..., n) 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: WMA_n = \sum_{i=0}^{n-1} (n-i) * P_{t-i} / \sum_{j=1}^{n} j
Data:
date,close,open,low,high
2024-12-17,90.83999633789062,90.80999755859376,90.43000030517578,91.91999816894533
2024-12-18,88.87000274658203,90.6999969482422,88.76000213623047,90.79000091552734
2024-12-19,89.06999969482422,88.68000030517578,88.37000274658203,90.25
2024-12-20,90.02999877929688,88.77999877929688,88.77999877929688,90.52999877929688
2024-12-23,89.66999816894531,89.88999938964844,88.79000091552734,89.88999938964844
2024-12-24,89.58000183105469,89.4000015258789,89.0999984741211,89.7300033569336
2024-12-26,89.58999633789062,89.2300033569336,89.0,90.12999725341795
2024-12-27,89.55999755859375,89.0,88.83000183105469,89.95999908447266
2024-12-30,89.16000366210938,89.47000122070312,88.41000366210938,89.4800033569336
2024-12-31,89.2300033569336,89.30000305175781,88.58999633789062,89.63999938964844
2025-01-02,89.02999877929688,89.7300033569336,88.68000030517578,90.08999633789062
2025-01-03,89.23999786376953,89.12999725341797,88.73999786376953,89.8499984741211
2025-01-06,88.37000274658203,88.44000244140625,87.69999694824219,88.83000183105469
2025-01-07,88.0,88.69999694824219,87.72000122070312,89.16999816894531
2025-01-08,89.01000213623047,87.87999725341797,87.5199966430664,89.04000091552734
2025-01-10,88.1500015258789,88.22000122070312,87.79000091552734,89.11000061035156
2025-01-13,88.47000122070312,88.37000274658203,87.27999877929688,88.4800033569336
2025-01-14,89.37000274658203,88.47000122070312,88.26000213623047,89.58000183105469
2025-01-15,90.2300033569336,89.81999969482422,89.41999816894531,90.5500030517578
2025-01-16,92.22000122070312,90.05000305175781,90.0199966430664,92.2300033569336
2025-01-17,93.6500015258789,91.98999786376952,91.73999786376952,93.83000183105467
2025-01-21,93.20999908447266,93.87000274658205,92.88999938964844,94.95999908447266
2025-01-22,90.7699966430664,92.87000274658205,90.66000366210938,92.87000274658205
2025-01-23,90.76000213623048,91.23999786376952,90.3499984741211,91.44000244140624
2025-01-24,90.5999984741211,90.4000015258789,90.36000061035156,91.05999755859376
2025-01-27,94.88999938964844,91.95999908447266,91.7699966430664,96.06999969482422
2025-01-28,93.38999938964844,94.4000015258789,93.31999969482422,94.81999969482422
2025-01-29,92.56999969482422,93.4000015258789,92.29000091552734,93.8499984741211
2025-01-30,93.86000061035156,93.0999984741211,92.6999969482422,94.02999877929688
2025-01-31,93.73999786376952,93.5500030517578,93.23999786376952,94.23999786376952
2025-02-03,95.62000274658205,93.73999786376952,93.66999816894533,96.05999755859376
2025-02-04,94.91000366210938,94.5999984741211,93.63999938964844,95.4000015258789
2025-02-05,96.19000244140624,95.80999755859376,95.19000244140624,96.44000244140624
2025-02-06,95.41999816894533,96.3000030517578,94.81999969482422,96.33999633789062
2025-02-07,96.08000183105467,95.11000061035156,94.63999938964844,96.20999908447266
2025-02-10,96.6999969482422,96.0,95.23999786376952,96.83000183105467
2025-02-11,96.30999755859376,96.56999969482422,95.75,96.7300033569336
2025-02-12,94.56999969482422,95.38999938964844,93.5199966430664,95.61000061035156
2025-02-13,95.66000366210938,94.5999984741211,94.48999786376952,95.9800033569336
2025-02-14,94.91999816894533,96.0,94.88999938964844,96.38999938964844
2025-02-18,95.76000213623048,94.79000091552734,94.54000091552734,96.06999969482422
2025-02-19,95.26000213623048,94.88999938964844,94.5,95.94000244140624
2025-02-20,95.76000213623048,95.01000213623048,94.5,96.0
2025-02-21,98.26000213623048,96.05999755859376,95.87000274658205,99.33999633789062
2025-02-24,99.68000030517578,98.80999755859376,98.3000030517578,100.75
2025-02-25,100.97000122070312,100.23999786376952,99.72000122070312,101.9499969482422
2025-02-26,99.95999908447266,100.19000244140624,99.0999984741211,100.43000030517578
2025-02-27,99.91999816894533,98.95999908447266,98.37000274658205,100.81999969482422
2025-02-28,101.5199966430664,101.11000061035156,99.83000183105467,101.63999938964844
2025-03-03,104.0199966430664,100.87999725341795,100.87999725341795,104.30999755859376
2025-03-04,102.1500015258789,104.8000030517578,102.11000061035156,105.86000061035156
2025-03-05,100.1999969482422,101.0199966430664,99.68000030517578,101.66000366210938
2025-03-06,100.91000366210938,100.23999786376952,98.97000122070312,101.5999984741211
2025-03-07,103.63999938964844,101.31999969482422,100.77999877929688,104.08000183105467
2025-03-10,106.66000366210938,104.27999877929688,104.0,107.97000122070312
2025-03-11,103.7699966430664,106.2300033569336,103.6999969482422,106.66000366210938
2025-03-12,102.63999938964844,102.41000366210938,101.91999816894533,103.38999938964844
2025-03-13,104.56999969482422,103.47000122070312,103.3499984741211,105.3499984741211
2025-03-14,106.41000366210938,103.87000274658205,103.8000030517578,106.70999908447266
2025-03-17,107.62000274658205,106.41000366210938,105.95999908447266,108.43000030517578
2025-03-18,107.80999755859376,107.22000122070312,106.54000091552734,108.01000213623048
2025-03-19,107.48999786376952,107.4000015258789,106.80999755859376,107.95999908447266
2025-03-20,108.4800033569336,107.77999877929688,107.02999877929688,108.62000274658205
2025-03-21,107.8000030517578,108.22000122070312,107.37000274658205,109.36000061035156
2025-03-24,106.83000183105467,107.22000122070312,106.80999755859376,108.3000030517578
2025-03-25,105.5500030517578,106.7699966430664,104.61000061035156,106.7699966430664
2025-03-26,107.45999908447266,105.87000274658205,105.2699966430664,107.77999877929688
2025-03-27,107.88999938964844,108.0,107.23999786376952,108.38999938964844
2025-03-28,108.7699966430664,108.87999725341795,108.12000274658205,109.44000244140624
2025-03-31,110.58999633789062,109.61000061035156,109.05999755859376,111.11000061035156
2025-04-01,110.05999755859376,110.19000244140624,109.12999725341795,110.68000030517578
2025-04-02,109.58000183105467,110.29000091552734,109.0500030517578,110.83999633789062
2025-04-03,112.72000122070312,112.43000030517578,111.38999938964844,113.4499969482422
2025-04-04,109.31999969482422,114.0,108.12000274658205,114.87000274658205
2025-04-07,105.4000015258789,107.04000091552734,105.20999908447266,109.31999969482422
2025-04-08,106.0500030517578,106.83000183105467,104.83000183105467,108.2699966430664
2025-04-09,105.7699966430664,105.16000366210938,103.27999877929688,108.70999908447266
2025-04-10,108.3000030517578,106.4800033569336,105.56999969482422,109.48999786376952
2025-04-11,109.83999633789062,108.18000030517578,106.95999908447266,110.63999938964844
2025-04-14,112.25,109.27999877929688,108.9000015258789,112.4499969482422
2025-04-15,111.80999755859376,112.41999816894533,111.58000183105467,112.87999725341795
2025-04-16,111.44000244140624,112.62999725341795,111.05999755859376,112.9800033569336
2025-04-17,112.0999984741211,111.47000122070312,111.4000015258789,113.41000366210938
2025-04-21,110.95999908447266,111.88999938964844,109.9800033569336,112.1500015258789
2025-04-22,113.3000030517578,111.5,111.47000122070312,113.55999755859376
2025-04-23,112.5199966430664,112.2300033569336,111.33999633789062,113.0999984741211
2025-04-24,111.29000091552734,112.27999877929688,110.77999877929688,112.5
2025-04-25,110.4499969482422,111.37999725341795,109.75,111.4800033569336
2025-04-28,111.12999725341795,110.26000213623048,108.86000061035156,111.2699966430664
2025-04-29,112.12999725341795,110.9499969482422,110.31999969482422,112.37999725341795
2025-04-30,112.75,112.80999755859376,110.6999969482422,113.2699966430664
2025-05-01,112.55999755859376,112.9000015258789,111.54000091552734,113.45999908447266
2025-05-02,110.02999877929688,110.36000061035156,109.25,111.88999938964844
2025-05-05,109.5199966430664,110.33999633789062,108.9000015258789,110.66999816894533
2025-05-06,110.47000122070312,109.83999633789062,109.02999877929688,111.33999633789062
2025-05-07,111.04000091552734,110.20999908447266,110.20999908447266,111.76000213623048
2025-05-08,107.75,110.6500015258789,107.5,110.9499969482422
2025-05-09,107.68000030517578,108.1999969482422,107.04000091552734,108.1999969482422
2025-05-12,103.54000091552734,105.62999725341795,102.9499969482422,106.5999984741211
2025-05-13,100.58000183105467,103.25,100.0999984741211,103.30999755859376
2025-05-14,99.2699966430664,99.2699966430664,97.77999877929688,99.5999984741211
2025-05-15,102.01000213623048,100.13999938964844,99.87000274658205,102.08999633789062
2025-05-16,104.29000091552734,102.02999877929688,101.6999969482422,104.43000030517578
2025-05-19,105.37999725341795,104.3499984741211,103.9000015258789,105.41000366210938
2025-05-20,105.70999908447266,105.0500030517578,105.01000213623048,106.08000183105467
2025-05-21,105.22000122070312,105.62000274658205,104.75,105.91000366210938
2025-05-22,103.41999816894533,104.9800033569336,102.9499969482422,104.9800033569336
2025-05-23,104.0999984741211,104.37999725341795,102.4499969482422,104.68000030517578
2025-05-27,103.97000122070312,104.2699966430664,103.47000122070312,104.4800033569336
2025-05-28,102.11000061035156,103.62999725341795,101.93000030517578,104.1500015258789
2025-05-29,103.37999725341795,101.69000244140624,101.4800033569336,103.7300033569336
2025-05-30,104.48999786376952,103.4800033569336,102.9499969482422,105.0999984741211
2025-06-02,103.86000061035156,103.63999938964844,103.16000366210938,104.80999755859376
2025-06-03,103.23999786376952,103.86000061035156,102.18000030517578,103.88999938964844
2025-06-04,102.20999908447266,103.2300033569336,101.88999938964844,103.8000030517578
2025-06-05,102.2699966430664,102.5,101.2699966430664,102.5
2025-06-06,101.61000061035156,102.11000061035156,101.08000183105467,102.5500030517578
2025-06-09,101.11000061035156,101.36000061035156,100.58000183105467,101.9800033569336
2025-06-10,102.4000015258789,101.4000015258789,100.91000366210938,102.7300033569336
2025-06-11,102.5500030517578,102.19000244140624,101.8000030517578,102.6999969482422
2025-06-12,103.76000213623048,103.13999938964844,102.66999816894533,103.7699966430664
2025-06-13,103.95999908447266,103.94000244140624,103.6999969482422,105.27999877929688
2025-06-16,101.62999725341795,104.0,100.93000030517578,104.5199966430664
2025-06-17,101.3499984741211,101.61000061035156,100.5,101.76000213623048
2025-06-18,100.7300033569336,101.5,100.58000183105467,101.88999938964844
2025-06-20,100.97000122070312,100.66999816894533,100.51000213623048,101.81999969482422
2025-06-23,101.1500015258789,101.80999755859376,100.63999938964844,102.47000122070312

Indicator data:
date,5-day,high
2024-12-23,89.6173324584961,89.88999938964844
2024-12-24,89.57866668701172,89.7300033569336
2024-12-26,89.62733205159505,90.12999725341795
2024-12-27,89.61799825032553,89.95999908447266
2024-12-30,89.44266662597656,89.4800033569336
2024-12-31,89.34866790771484,89.63999938964844
2025-01-02,89.217333984375,90.08999633789062
2025-01-03,89.19266662597656,89.8499984741211
2025-01-06,88.90133412679036,88.83000183105469
2025-01-07,88.56600036621094,89.16999816894531
2025-01-08,88.64466756184896,89.04000091552734
2025-01-10,88.45133463541667,89.11000061035156
2025-01-13,88.42333475748698,88.4800033569336
2025-01-14,88.74666849772136,89.58000183105469
2025-01-15,89.29000244140624,90.5500030517578
2025-01-16,90.34800211588542,92.2300033569336
2025-01-17,91.66866861979166,93.83000183105467
2025-01-21,92.4760009765625,94.95999908447266
2025-01-22,92.15399932861328,92.87000274658205
2025-01-23,91.73533325195312,91.44000244140624
2025-01-24,91.22799936930339,91.05999755859376
2025-01-27,92.2586659749349,96.06999969482422
2025-01-28,92.7066660563151,94.81999969482422
2025-01-29,92.86933288574218,93.8499984741211
2025-01-30,93.34199981689453,94.02999877929688
2025-01-31,93.56799926757813,94.23999786376952
2025-02-03,94.21133371988932,96.05999755859376
2025-02-04,94.5693349202474,95.4000015258789
2025-02-05,95.25266876220704,96.44000244140624
2025-02-06,95.43800099690755,96.33999633789062
2025-02-07,95.73933461507161,96.20999908447266
2025-02-10,96.0913330078125,96.83000183105467
2025-02-11,96.2413319905599,96.7300033569336
2025-02-12,95.71799875895182,95.61000061035156
2025-02-13,95.66600036621094,95.9800033569336
2025-02-14,95.35133310953776,96.38999938964844
2025-02-18,95.39400075276693,96.06999969482422
2025-02-19,95.33266805013021,95.94000244140624
2025-02-20,95.50800170898438,96.0
2025-02-21,96.43733520507814,99.33999633789062
2025-02-24,97.66666819254559,100.75
2025-02-25,99.0086680094401,101.9499969482422
2025-02-26,99.66666717529297,100.43000030517578
2025-02-27,99.99799957275391,100.81999969482422
2025-02-28,100.58533172607422,101.63999938964844
2025-03-03,101.78866424560547,104.30999755859376
2025-03-04,102.07933197021484,105.86000061035156
2025-03-05,101.64133148193359,101.66000366210938
2025-03-06,101.4240000406901,101.5999984741211
2025-03-07,102.05066680908203,104.08000183105467
2025-03-10,103.54266815185547,107.97000122070312
2025-03-11,103.89533335367838,106.66000366210938
2025-03-12,103.76333312988281,103.38999938964844
2025-03-13,104.11199951171875,105.3499984741211
2025-03-14,104.83000081380209,106.70999908447266
2025-03-17,105.76666819254557,108.43000030517578
2025-03-18,106.70266723632812,108.01000213623048
2025-03-19,107.26266632080078,107.95999908447266
2025-03-20,107.82933400472005,108.62000274658205
2025-03-21,107.9086680094401,109.36000061035156
2025-03-24,107.57200164794922,108.3000030517578
2025-03-25,106.86133575439453,106.7699966430664
2025-03-26,106.93800150553385,107.77999877929688
2025-03-27,107.16000061035156,108.38999938964844
2025-03-28,107.71466573079427,109.44000244140624
2025-03-31,108.81133117675782,111.11000061035156
2025-04-01,109.4806640625,110.68000030517578
2025-04-02,109.6893320719401,110.83999633789062
2025-04-03,110.80333302815755,113.4499969482422
2025-04-04,110.46200002034506,114.87000274658205
2025-04-07,108.77733408610025,109.31999969482422
2025-04-08,107.65533498128255,108.2699966430664
2025-04-09,106.70733337402343,108.70999908447266
2025-04-10,106.856667582194,109.48999786376952
2025-04-11,107.81399943033854,110.63999938964844
2025-04-14,109.53999938964844,112.4499969482422
2025-04-15,110.66266530354818,112.87999725341795
2025-04-16,111.27799987792969,112.9800033569336
2025-04-17,111.73533274332682,113.41000366210938
2025-04-21,111.55933278401693,112.1500015258789
2025-04-22,112.08866729736329,113.55999755859376
2025-04-23,112.28799947102864,113.0999984741211
2025-04-24,112.02999979654948,112.5
2025-04-25,111.50199890136719,111.4800033569336
2025-04-28,111.31066487630208,111.2699966430664
2025-04-29,111.44133097330729,112.37999725341795
2025-04-30,111.8566650390625,113.2699966430664
2025-05-01,112.19333140055339,113.45999908447266
2025-05-02,111.60199839274088,111.88999938964844
2025-05-05,110.86866455078125,110.66999816894533
2025-05-06,110.55933227539063,111.33999633789062
2025-05-07,110.55066630045573,111.76000213623048
2025-05-08,109.55933329264323,110.9499969482422
2025-05-09,108.8653335571289,108.1999969482422
2025-05-12,106.94800059000652,106.5999984741211
2025-05-13,104.44266764322917,103.30999755859376
2025-05-14,102.15999959309896,99.5999984741211
2025-05-15,101.57533365885416,102.08999633789062
2025-05-16,102.13333384195964,104.43000030517578
2025-05-19,103.28066609700521,105.41000366210938
2025-05-20,104.4153325398763,106.08000183105467
2025-05-21,105.04466654459635,105.91000366210938
2025-05-22,104.67733256022136,104.9800033569336
2025-05-23,104.44266560872396,104.68000030517578
2025-05-27,104.17733306884766,104.4800033569336
2025-05-28,103.38600006103516,104.1500015258789
2025-05-29,103.25799916585287,103.7300033569336
2025-05-30,103.62266540527344,105.0999984741211
2025-06-02,103.70599924723307,104.80999755859376
2025-06-03,103.59866536458334,103.88999938964844
2025-06-04,103.19666544596355,103.8000030517578
2025-06-05,102.80799814860026,102.5
2025-06-06,102.27333221435546,102.5500030517578
2025-06-09,101.76399943033854,101.9800033569336
2025-06-10,101.86800028483073,102.7300033569336
2025-06-11,102.0780014038086,102.6999969482422
2025-06-12,102.66866861979166,103.7699966430664
2025-06-13,103.22666778564454,105.27999877929688
2025-06-16,102.85133310953776,104.5199966430664
2025-06-17,102.3479990641276,101.76000213623048
2025-06-18,101.70800018310547,101.88999938964844
2025-06-20,101.26933390299479,101.81999969482422
2025-06-23,101.07666778564453,102.47000122070312

Answer: 87.8049