Question: During October 03, 2022 to November 13, 2022, what percentage of trading days had Trimble Inc.'s high greater the 10-day Double Exponential Moving Average line? (Smoothing factor alpha = 2 / (n + 1); Require 5n data points to warm up; Use the first data point as the initial value) 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: DEMA = 2 * EMA1 - EMA2; EMA1 = EMA_n(P); EMA2 = EMA_n(EMA1)
Data:
date,close,high
2022-07-22,63.150001525878906,64.7300033569336
2022-07-25,64.18000030517578,64.25
2022-07-26,64.12999725341797,64.16999816894531
2022-07-27,65.83999633789062,66.16999816894531
2022-07-28,67.70999908447266,67.73999786376953
2022-07-29,69.43000030517578,69.68000030517578
2022-08-01,69.72000122070312,69.9800033569336
2022-08-02,68.55000305175781,69.80999755859375
2022-08-03,69.7300033569336,69.94999694824219
2022-08-04,70.30000305175781,70.54000091552734
2022-08-05,68.0999984741211,69.23999786376953
2022-08-08,68.23999786376953,69.11000061035156
2022-08-09,68.0999984741211,68.69000244140625
2022-08-10,70.0,70.38999938964844
2022-08-11,70.31999969482422,71.30000305175781
2022-08-12,71.73999786376953,71.76000213623047
2022-08-15,71.68000030517578,72.23999786376953
2022-08-16,71.91000366210938,72.08999633789062
2022-08-17,70.61000061035156,71.23999786376953
2022-08-18,71.44000244140625,71.58000183105469
2022-08-19,70.01000213623047,70.81999969482422
2022-08-22,67.25,69.0
2022-08-23,66.95999908447266,67.88999938964844
2022-08-24,68.16999816894531,68.25
2022-08-25,69.4000015258789,69.41999816894531
2022-08-26,66.0,69.44000244140625
2022-08-29,64.80999755859375,65.8499984741211
2022-08-30,63.90999984741211,65.33000183105469
2022-08-31,63.25,64.7699966430664
2022-09-01,62.79999923706055,62.97999954223633
2022-09-02,62.119998931884766,64.0199966430664
2022-09-06,60.220001220703125,62.18999862670898
2022-09-07,62.290000915527344,62.52000045776367
2022-09-08,61.38999938964844,61.65999984741211
2022-09-09,63.08000183105469,63.22999954223633
2022-09-12,64.43000030517578,64.44000244140625
2022-09-13,61.68000030517578,63.09999847412109
2022-09-14,61.220001220703125,62.130001068115234
2022-09-15,59.41999816894531,61.61000061035156
2022-09-16,58.68000030517578,58.959999084472656
2022-09-19,58.91999816894531,59.209999084472656
2022-09-20,58.459999084472656,58.86000061035156
2022-09-21,57.369998931884766,59.47999954223633
2022-09-22,56.790000915527344,57.40999984741211
2022-09-23,56.380001068115234,56.790000915527344
2022-09-26,55.43999862670898,57.209999084472656
2022-09-27,55.25,56.72999954223633
2022-09-28,56.91999816894531,57.27999877929688
2022-09-29,55.2599983215332,56.04999923706055
2022-09-30,54.27000045776367,56.130001068115234
2022-10-03,56.220001220703125,56.650001525878906
2022-10-04,58.790000915527344,58.880001068115234
2022-10-05,57.61000061035156,58.47999954223633
2022-10-06,57.72999954223633,58.25
2022-10-07,54.61000061035156,56.61000061035156
2022-10-10,53.81999969482422,54.91999816894531
2022-10-11,52.4900016784668,53.720001220703125
2022-10-12,52.0,52.650001525878906
2022-10-13,53.47999954223633,54.02999877929688
2022-10-14,52.29999923706055,54.61000061035156
2022-10-17,54.5,54.68000030517578
2022-10-18,55.7599983215332,56.720001220703125
2022-10-19,54.83000183105469,55.43000030517578
2022-10-20,53.4900016784668,55.59999847412109
2022-10-21,55.880001068115234,55.97999954223633
2022-10-24,56.09999847412109,56.40999984741211
2022-10-25,58.150001525878906,58.20000076293945
2022-10-26,58.02999877929688,59.2400016784668
2022-10-27,58.2400016784668,59.72999954223633
2022-10-28,60.2400016784668,60.41999816894531
2022-10-31,60.15999984741211,60.43000030517578
2022-11-01,59.88999938964844,60.93999862670898
2022-11-02,53.650001525878906,60.15999984741211
2022-11-03,52.060001373291016,52.93999862670898
2022-11-04,53.790000915527344,53.93999862670898
2022-11-07,57.20000076293945,57.459999084472656
2022-11-08,54.650001525878906,57.9900016784668
2022-11-09,54.04999923706055,54.220001220703125
2022-11-10,59.15999984741211,59.2599983215332
2022-11-11,62.0,62.400001525878906

Indicator data:
date,10-day,high
2022-08-17,71.30124948958766,71.23999786376953
2022-08-18,71.51343413812657,71.58000183105469
2022-08-19,71.18032023347978,70.81999969482422
2022-08-22,70.00624102592106,69.0
2022-08-23,69.0333036991687,67.88999938964844
2022-08-24,68.71345924836855,68.25
2022-08-25,68.88799552477217,69.41999816894531
2022-08-26,67.89779223020989,69.44000244140625
2022-08-29,66.77880269767572,65.8499984741211
2022-08-30,65.66712268826365,65.33000183105469
2022-08-31,64.64667172940193,64.7699966430664
2022-09-01,63.76862838144338,62.97999954223633
2022-09-02,62.92403300979704,64.0199966430664
2022-09-06,61.70396466382789,62.18999862670898
2022-09-07,61.5224654737202,62.52000045776367
2022-09-08,61.12881792275614,61.65999984741211
2022-09-09,61.43261438470432,63.22999954223633
2022-09-12,62.1367218406386,64.44000244140625
2022-09-13,61.77478645046361,63.09999847412109
2022-09-14,61.37729988381706,62.130001068115234
2022-09-15,60.51097154810516,61.61000061035156
2022-09-16,59.65034011620364,58.959999084472656
2022-09-19,59.121475730440395,59.209999084472656
2022-09-20,58.60871631827751,58.86000061035156
2022-09-21,57.90021724865825,59.47999954223633
2022-09-22,57.21666998782726,57.40999984741211
2022-09-23,56.60944686127358,56.790000915527344
2022-09-26,55.884629058961764,57.209999084472656
2022-09-27,55.321912457435914,56.72999954223633
2022-09-28,55.49490611201835,57.27999877929688
2022-09-29,55.109061982699345,56.04999923706055
2022-09-30,54.528487241622614,56.130001068115234
2022-10-03,54.77592136852283,56.650001525878906
2022-10-04,55.838883942742726,58.880001068115234
2022-10-05,56.25792877080818,58.47999954223633
2022-10-06,56.622812041112844,58.25
2022-10-07,55.87226937684659,56.61000061035156
2022-10-10,55.06695476946938,54.91999816894531
2022-10-11,54.04696944591209,53.720001220703125
2022-10-12,53.150715318502236,52.650001525878906
2022-10-13,53.00195941846295,54.02999877929688
2022-10-14,52.52809925635452,54.61000061035156
2022-10-17,52.93061956469849,54.68000030517578
2022-10-18,53.66848402402406,56.720001220703125
2022-10-19,53.92413046019157,55.43000030517578
2022-10-20,53.68223658175773,55.59999847412109
2022-10-21,54.30403519183733,55.97999954223633
2022-10-24,54.84510500309182,56.40999984741211
2022-10-25,55.92647980198474,58.20000076293945
2022-10-26,56.684209849444436,59.2400016784668
2022-10-27,57.30536196126628,59.72999954223633
2022-10-28,58.413228737517265,60.41999816894531
2022-10-31,59.18880086477297,60.43000030517578
2022-11-01,59.65083491376241,60.93999862670898
2022-11-02,57.90522748666248,60.15999984741211
2022-11-03,56.07039185408607,52.93999862670898
2022-11-04,55.28143923861156,53.93999862670898
2022-11-07,55.831266335724884,57.459999084472656
2022-11-08,55.40160487368039,57.9900016784668
2022-11-09,54.890786002857695,54.220001220703125
2022-11-10,56.210294670743956,59.2599983215332
2022-11-11,58.129956066685885,62.400001525878906

Answer: 24.1935