Question: What is the percentage of days where the open price is greater than the 20-day Weighted Moving Average line for Biogen from July 19, 2024 to March 22, 2025? (Unit: %) (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
2024-06-21,224.0,227.3500061035156
2024-06-24,226.6000061035156,225.7400054931641
2024-06-25,223.19000244140625,225.47999572753903
2024-06-26,224.4600067138672,221.7899932861328
2024-06-27,228.72000122070312,223.42999267578125
2024-06-28,231.82000732421875,229.5
2024-07-01,231.7700042724609,231.41000366210935
2024-07-02,228.82000732421875,231.7100067138672
2024-07-03,224.6100006103516,229.4499969482422
2024-07-05,225.6499938964844,225.02999877929688
2024-07-08,228.07000732421875,226.47000122070312
2024-07-09,229.05999755859372,227.7100067138672
2024-07-10,232.75,229.8500061035156
2024-07-11,236.8000030517578,234.5
2024-07-12,230.05999755859372,237.97999572753903
2024-07-15,221.5800018310547,230.05999755859372
2024-07-16,225.0200042724609,221.7899932861328
2024-07-17,228.3300018310547,223.38999938964844
2024-07-18,225.25,226.0
2024-07-19,226.3999938964844,225.6699981689453
2024-07-22,226.6300048828125,227.72999572753903
2024-07-23,224.2899932861328,226.2899932861328
2024-07-24,226.02999877929688,224.1000061035156
2024-07-25,227.44000244140625,227.1999969482422
2024-07-26,211.1699981689453,211.3800048828125
2024-07-29,214.42999267578125,210.94000244140625
2024-07-30,211.88999938964844,214.2899932861328
2024-07-31,213.1999969482422,212.0
2024-08-01,210.6999969482422,215.8000030517578
2024-08-02,205.66000366210935,212.4499969482422
2024-08-05,198.38999938964844,204.1199951171875
2024-08-06,200.1300048828125,198.75999450683597
2024-08-07,199.77999877929688,201.5200042724609
2024-08-08,204.07000732421875,199.8300018310547
2024-08-09,202.0,203.1199951171875
2024-08-12,201.0399932861328,202.0
2024-08-13,204.0500030517578,201.1000061035156
2024-08-14,200.58999633789065,203.7400054931641
2024-08-15,201.6300048828125,202.82000732421875
2024-08-16,201.91000366210935,201.9900054931641
2024-08-19,206.05999755859372,202.47000122070312
2024-08-20,205.4900054931641,205.38999938964844
2024-08-21,206.17999267578125,206.25
2024-08-22,203.32000732421875,206.75999450683597
2024-08-23,205.0,204.5
2024-08-26,204.8600006103516,206.22999572753903
2024-08-27,203.3000030517578,204.8600006103516
2024-08-28,204.1999969482422,203.75999450683597
2024-08-29,204.82000732421875,206.0
2024-08-30,204.75999450683597,205.82000732421875
2024-09-03,204.83999633789065,204.22000122070312
2024-09-04,204.9499969482422,205.72000122070312
2024-09-05,201.8000030517578,205.19000244140625
2024-09-06,200.80999755859372,202.52999877929688
2024-09-09,199.2700042724609,200.44000244140625
2024-09-10,200.63999938964844,199.4900054931641
2024-09-11,199.08999633789065,198.9499969482422
2024-09-12,197.88999938964844,199.0500030517578
2024-09-13,195.6300048828125,197.66000366210935
2024-09-16,199.5800018310547,197.25999450683597
2024-09-17,198.2100067138672,199.8300018310547
2024-09-18,197.58999633789065,198.1300048828125
2024-09-19,201.44000244140625,200.57000732421875
2024-09-20,199.3600006103516,200.00999450683597
2024-09-23,195.80999755859372,199.1999969482422
2024-09-24,194.1199951171875,199.9900054931641
2024-09-25,189.07000732421875,193.83999633789065
2024-09-26,193.6000061035156,191.1699981689453
2024-09-27,194.6699981689453,194.4900054931641
2024-09-30,193.83999633789065,193.3600006103516
2024-10-01,190.8000030517578,194.6100006103516
2024-10-02,188.7400054931641,190.0800018310547
2024-10-03,184.77999877929688,187.2100067138672
2024-10-04,185.67999267578125,186.67999267578125
2024-10-07,183.33999633789065,184.75999450683597
2024-10-08,182.3000030517578,182.72999572753903
2024-10-09,185.75999450683597,182.4600067138672
2024-10-10,188.58999633789065,184.55999755859372
2024-10-11,188.3800048828125,189.0
2024-10-14,191.55999755859372,188.58999633789065
2024-10-15,191.5500030517578,191.8699951171875
2024-10-16,189.0,191.67999267578125
2024-10-17,189.5500030517578,188.5500030517578
2024-10-18,190.16000366210935,188.22000122070312
2024-10-21,184.6499938964844,190.16000366210935
2024-10-22,185.8999938964844,183.80999755859372
2024-10-23,182.97999572753903,184.8800048828125
2024-10-24,183.8600006103516,184.7899932861328
2024-10-25,181.69000244140625,185.6999969482422
2024-10-28,185.00999450683597,182.47999572753903
2024-10-29,183.47000122070312,184.82000732421875
2024-10-30,181.17999267578125,184.6300048828125
2024-10-31,174.0,178.11000061035156
2024-11-01,173.7899932861328,173.64999389648438
2024-11-04,173.52000427246094,173.22000122070312
2024-11-05,176.92999267578125,172.7100067138672
2024-11-06,174.39999389648438,176.8699951171875
2024-11-07,173.9199981689453,175.69000244140625
2024-11-08,173.0399932861328,173.5800018310547
2024-11-11,172.02999877929688,173.9199981689453
2024-11-12,168.27999877929688,171.36000061035156
2024-11-13,165.7899932861328,167.74000549316406
2024-11-14,164.88999938964844,165.0
2024-11-15,159.99000549316406,165.4600067138672
2024-11-18,157.94000244140625,158.19000244140625
2024-11-19,155.42999267578125,157.02000427246094
2024-11-20,156.0,155.02999877929688
2024-11-21,158.00999450683594,157.1699981689453
2024-11-22,157.89999389648438,158.10000610351562
2024-11-25,158.7100067138672,159.99000549316406
2024-11-26,157.69000244140625,159.1999969482422
2024-11-27,159.8300018310547,158.64999389648438
2024-11-29,160.6300048828125,160.72000122070312
2024-12-02,164.22999572753906,160.16000366210938
2024-12-03,160.85000610351562,162.6199951171875
2024-12-04,160.9199981689453,160.85000610351562
2024-12-05,159.25999450683594,161.10000610351562
2024-12-06,157.77999877929688,159.05999755859375
2024-12-09,156.4600067138672,157.2100067138672
2024-12-10,156.32000732421875,157.33999633789062
2024-12-11,157.4600067138672,156.3699951171875
2024-12-12,155.3300018310547,156.6999969482422
2024-12-13,150.02999877929688,154.57000732421875
2024-12-16,150.49000549316406,149.0
2024-12-17,150.63999938964844,150.16000366210938
2024-12-18,146.7899932861328,150.00999450683594
2024-12-19,147.38999938964844,146.60000610351562
2024-12-20,146.47000122070312,145.63999938964844
2024-12-23,149.3800048828125,146.0
2024-12-24,149.02000427246094,148.6699981689453
2024-12-26,149.89999389648438,148.0
2024-12-27,151.30999755859375,148.74000549316406
2024-12-30,150.19000244140625,150.9199981689453
2024-12-31,152.9199981689453,150.8000030517578
2025-01-02,150.0,153.83999633789062
2025-01-03,152.2100067138672,149.72999572753906
2025-01-06,153.27000427246094,151.92999267578125
2025-01-07,153.14999389648438,153.11000061035156
2025-01-08,150.75,152.27000427246094
2025-01-10,148.82000732421875,149.17999267578125
2025-01-13,150.17999267578125,148.9199981689453
2025-01-14,143.05999755859375,149.9199981689453
2025-01-15,141.0,145.4600067138672
2025-01-16,141.22999572753906,140.49000549316406
2025-01-17,140.5500030517578,143.1300048828125
2025-01-21,140.97999572753906,141.0
2025-01-22,142.75,140.75
2025-01-23,143.6699981689453,143.13999938964844
2025-01-24,146.1999969482422,143.4499969482422
2025-01-27,148.75999450683594,146.5500030517578
2025-01-28,145.49000549316406,148.2899932861328
2025-01-29,144.41000366210938,145.10000610351562
2025-01-30,146.22999572753906,145.83999633789062
2025-01-31,143.92999267578125,145.1999969482422
2025-02-03,142.33999633789062,142.80999755859375
2025-02-04,142.49000549316406,141.0800018310547
2025-02-05,145.52999877929688,142.89999389648438
2025-02-06,142.3699951171875,145.17999267578125
2025-02-07,141.35000610351562,141.83999633789062
2025-02-10,142.5399932861328,141.6300048828125
2025-02-11,139.38999938964844,140.66000366210938
2025-02-12,133.42999267578125,136.75999450683594
2025-02-13,138.4499969482422,132.14999389648438
2025-02-14,137.3300018310547,140.13999938964844
2025-02-18,136.57000732421875,138.13999938964844
2025-02-19,136.67999267578125,135.9499969482422
2025-02-20,137.0800018310547,137.19000244140625
2025-02-21,140.63999938964844,138.0
2025-02-24,141.27000427246094,141.27999877929688
2025-02-25,143.4600067138672,140.0
2025-02-26,140.49000549316406,143.08999633789062
2025-02-27,139.8800048828125,140.05999755859375
2025-02-28,140.5,141.05999755859375
2025-03-03,141.7100067138672,140.41000366210938
2025-03-04,142.64999389648438,143.41000366210938
2025-03-05,143.77000427246094,142.85000610351562
2025-03-06,147.3699951171875,143.64999389648438
2025-03-07,150.3800048828125,147.4199981689453
2025-03-10,150.7100067138672,150.2899932861328
2025-03-11,143.66000366210938,151.1300048828125
2025-03-12,140.19000244140625,142.00999450683594
2025-03-13,139.97999572753906,140.36000061035156
2025-03-14,139.44000244140625,139.66000366210938
2025-03-17,143.5399932861328,140.0500030517578
2025-03-18,143.08999633789062,143.1699981689453
2025-03-19,141.42999267578125,143.08999633789062
2025-03-20,141.3800048828125,141.13999938964844
2025-03-21,140.89999389648438,141.24000549316406

Indicator data:
date,20-day,open
2024-07-19,227.8462866646903,225.6699981689453
2024-07-22,227.74933457147506,227.72999572753903
2024-07-23,227.41700039818173,226.2899932861328
2024-07-24,227.26138109479632,224.1000061035156
2024-07-25,227.22652406238373,227.1999969482422
2024-07-26,225.6279523577009,211.3800048828125
2024-07-29,224.42342776343935,210.94000244140625
2024-07-30,223.05980864025298,214.2899932861328
2024-07-31,221.91561787923177,212.0
2024-08-01,220.60771288190568,215.8000030517578
2024-08-02,218.88604663667223,212.4499969482422
2024-08-05,216.56718946184432,204.1199951171875
2024-08-06,214.55538046700613,198.75999450683597
2024-08-07,212.6479994274321,201.5200042724609
2024-08-08,211.30619063604445,199.8300018310547
2024-08-09,209.9230954124814,203.1199951171875
2024-08-12,208.58219001406715,202.0
2024-08-13,207.62576177687873,201.1000061035156
2024-08-14,206.43966623942057,203.7400054931641
2024-08-15,205.4847143990653,202.82000732421875
2024-08-16,204.66890527634393,201.9900054931641
2024-08-19,204.36495266868954,202.47000122070312
2024-08-20,204.10466751825243,205.38999938964844
2024-08-21,203.99961918422153,206.25
2024-08-22,203.71671513148718,206.75999450683597
2024-08-23,203.7086675008138,204.5
2024-08-26,203.71666753859748,206.22999572753903
2024-08-27,203.62166777111236,204.8600006103516
2024-08-28,203.65328645252046,203.75999450683597
2024-08-29,203.78681088402158,206.0
2024-08-30,203.94261975969587,205.82000732421875
2024-09-03,204.11033361525762,204.22000122070312
2024-09-04,204.2578094482422,205.72000122070312
2024-09-05,204.08233351934524,205.19000244140625
2024-09-06,203.80295228504,202.52999877929688
2024-09-09,203.3924288795108,200.44000244140625
2024-09-10,203.12538117908295,199.4900054931641
2024-09-11,202.71261887323288,198.9499969482422
2024-09-12,202.20919022333055,199.0500030517578
2024-09-13,201.50338112967356,197.66000366210935
2024-09-16,201.20233365013485,197.25999450683597
2024-09-17,200.78190569196428,199.8300018310547
2024-09-18,200.33981003534225,198.1300048828125
2024-09-19,200.30200071788968,200.57000732421875
2024-09-20,200.08866737002418,200.00999450683597
2024-09-23,199.55609566824776,199.1999969482422
2024-09-24,198.90633326939175,199.9900054931641
2024-09-25,197.82676253545853,193.83999633789065
2024-09-26,197.2463821411133,191.1699981689453
2024-09-27,196.81838189987909,194.4900054931641
2024-09-30,196.359667242141,193.3600006103516
2024-10-01,195.6634294055757,194.6100006103516
2024-10-02,194.83785843622115,190.0800018310547
2024-10-03,193.71233440580824,187.2100067138672
2024-10-04,192.75357171921502,186.67999267578125
2024-10-07,191.64399988083613,184.75999450683597
2024-10-08,190.51123824346632,182.72999572753903
2024-10-09,189.79533291771298,182.4600067138672
2024-10-10,189.4124277750651,184.55999755859372
2024-10-11,189.0538091750372,189.0
2024-10-14,189.0325708298456,188.58999633789065
2024-10-15,189.04857112339565,191.8699951171875
2024-10-16,188.85342828659785,191.67999267578125
2024-10-17,188.75157143729075,188.5500030517578
2024-10-18,188.7644289289202,188.22000122070312
2024-10-21,188.2963330950056,190.16000366210935
2024-10-22,188.00042775472005,183.80999755859372
2024-10-23,187.4655702136812,184.8800048828125
2024-10-24,187.04352271670388,184.7899932861328
2024-10-25,186.46118970598494,185.6999969482422
2024-10-28,186.25685591924758,182.47999572753903
2024-10-29,185.9479037330264,184.82000732421875
2024-10-30,185.455760265532,184.6300048828125
2024-10-31,184.31580803280784,178.11000061035156
2024-11-01,183.20718848818825,173.64999389648438
2024-11-04,182.12947474888392,173.22000122070312
2024-11-05,181.42328367687406,172.7100067138672
2024-11-06,180.5017118181501,176.8699951171875
2024-11-07,179.5885213216146,175.69000244140625
2024-11-08,178.6613779703776,173.5800018310547
2024-11-11,177.71109234037854,173.9199981689453
2024-11-12,176.49666384742375,171.36000061035156
2024-11-13,175.15590151832217,167.74000549316406
2024-11-14,173.83994932628812,165.0
2024-11-15,172.17475963774183,165.4600067138672
2024-11-18,170.45799822126116,158.19000244140625
2024-11-19,168.62937869117374,157.02000427246094
2024-11-20,167.00014081682477,155.02999877929688
2024-11-21,165.69080716087706,157.1699981689453
2024-11-22,164.494092523484,158.10000610351562
2024-11-25,163.48780771891276,159.99000549316406
2024-11-26,162.509617687407,159.1999969482422
2024-11-27,161.85799902053105,158.64999389648438
2024-11-29,161.38423774355934,160.72000122070312
2024-12-02,161.31699938092913,160.16000366210938
2024-12-03,160.97338104248047,162.6199951171875
2024-12-04,160.69676193963915,160.85000610351562
2024-12-05,160.33828531901042,161.10000610351562
2024-12-06,159.91095195951917,159.05999755859375
2024-12-09,159.43476220993767,157.2100067138672
2024-12-10,159.02419150216238,157.33999633789062
2024-12-11,158.79700164794923,156.3699951171875
2024-12-12,158.4184779575893,156.6999969482422
2024-12-13,157.58500155494326,154.57000732421875
2024-12-16,156.86609722319105,149.0
2024-12-17,156.2067161196754,150.16000366210938
2024-12-18,155.2154296875,150.00999450683594
2024-12-19,154.32242954799108,146.60000610351562
2024-12-20,153.3828105381557,145.63999938964844
2024-12-23,152.77528708321708,146.0
2024-12-24,152.17404923211961,148.6699981689453
2024-12-26,151.702762785412,148.0
2024-12-27,151.4028576805478,148.74000549316406
2024-12-30,151.03685782296316,150.9199981689453
2024-12-31,150.98057185581752,150.8000030517578
2025-01-02,150.7000479561942,153.83999633789062
2025-01-03,150.68166758219402,149.72999572753906
2025-01-06,150.8057155064174,151.92999267578125
2025-01-07,150.94685763404482,153.11000061035156
2025-01-08,150.88147655668712,152.27000427246094
2025-01-10,150.65947716122582,149.17999267578125
2025-01-13,150.60271446591332,148.9199981689453
2025-01-14,149.90252373105002,149.9199981689453
2025-01-15,149.0645713442848,145.4600067138672
2025-01-16,148.2915233067104,140.49000549316406
2025-01-17,147.49780934651693,143.1300048828125
2025-01-21,146.7930946713402,141.0
2025-01-22,146.2846184866769,140.75
2025-01-23,145.88585641043528,143.13999938964844
2025-01-24,145.74137994675408,143.4499969482422
2025-01-27,145.85585566929407,146.5500030517578
2025-01-28,145.66014200846354,148.2899932861328
2025-01-29,145.3825709751674,145.10000610351562
2025-01-30,145.31118963332403,145.83999633789062
2025-01-31,145.03961755661737,145.1999969482422
2025-02-03,144.6594268072219,142.80999755859375
2025-02-04,144.32999885195778,141.0800018310547
2025-02-05,144.33637978690012,142.89999389648438
2025-02-06,144.07866516113282,145.17999267578125
2025-02-07,143.7751420520601,141.83999633789062
2025-02-10,143.6297129313151,141.6300048828125
2025-02-11,143.2141892206101,140.66000366210938
2025-02-12,142.28242674328033,136.75999450683594
2025-02-13,141.87461707705543,132.14999389648438
2025-02-14,141.37228408086867,140.13999938964844
2025-02-18,140.81614205496652,138.13999938964844
2025-02-19,140.2894271850586,135.9499969482422
2025-02-20,139.8212846301851,137.19000244140625
2025-02-21,139.719189453125,138.0
2025-02-24,139.69152330671037,141.27999877929688
2025-02-25,139.89590497698103,140.0
2025-02-26,139.84266742524647,143.08999633789062
2025-02-27,139.75514410109747,140.05999755859375
2025-02-28,139.7482393537249,141.05999755859375
2025-03-03,139.883859034947,140.41000366210938
2025-03-04,140.11957266671317,143.41000366210938
2025-03-05,140.46047777448382,142.85000610351562
2025-03-06,141.13814392089844,143.64999389648438
2025-03-07,142.09371577671595,147.4199981689453
2025-03-10,143.04257347470238,150.2899932861328
2025-03-11,143.27543087913875,151.1300048828125
2025-03-12,143.17247859409878,142.00999450683594
2025-03-13,143.04571613130116,140.36000061035156
2025-03-14,142.83633524576823,139.66000366210938
2025-03-17,143.01271536690848,140.0500030517578
2025-03-18,143.11666724795387,143.1699981689453
2025-03-19,143.03147597539993,143.08999633789062
2025-03-20,142.91890491303943,141.13999938964844
2025-03-21,142.74014231363932,141.24000549316406

Answer: 73.9645