Question: From April 28, 2022 to June 04, 2022, how many times did a golden cross occur between the 5-day and 10-day Double Exponential Moving Average lines for D. R. Horton? (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
2022-02-15,84.80999755859375
2022-02-16,85.30000305175781
2022-02-17,82.75
2022-02-18,83.44000244140625
2022-02-22,80.4000015258789
2022-02-23,78.1500015258789
2022-02-24,82.30999755859375
2022-02-25,86.0199966430664
2022-02-28,85.4000015258789
2022-03-01,85.83000183105469
2022-03-02,87.58000183105469
2022-03-03,86.51000213623047
2022-03-04,85.4000015258789
2022-03-07,80.08999633789062
2022-03-08,80.36000061035156
2022-03-09,82.6500015258789
2022-03-10,82.4000015258789
2022-03-11,80.95999908447266
2022-03-14,77.37999725341797
2022-03-15,80.41000366210938
2022-03-16,81.73999786376953
2022-03-17,83.19999694824219
2022-03-18,85.73999786376953
2022-03-21,82.91999816894531
2022-03-22,82.79000091552734
2022-03-23,78.54000091552734
2022-03-24,78.83000183105469
2022-03-25,77.76000213623047
2022-03-28,78.2699966430664
2022-03-29,80.80999755859375
2022-03-30,78.88999938964844
2022-03-31,74.51000213623047
2022-04-01,76.18000030517578
2022-04-04,76.66000366210938
2022-04-05,74.05000305175781
2022-04-06,71.12999725341797
2022-04-07,70.38999938964844
2022-04-08,70.83000183105469
2022-04-11,72.16999816894531
2022-04-12,71.66000366210938
2022-04-13,74.0999984741211
2022-04-14,72.51000213623047
2022-04-18,71.3499984741211
2022-04-19,74.12000274658203
2022-04-20,74.58999633789062
2022-04-21,73.26000213623047
2022-04-22,71.3499984741211
2022-04-25,74.19000244140625
2022-04-26,72.20999908447266
2022-04-27,70.08999633789062
2022-04-28,72.86000061035156
2022-04-29,69.58999633789062
2022-05-02,70.76000213623047
2022-05-03,71.72000122070312
2022-05-04,75.56999969482422
2022-05-05,71.1500015258789
2022-05-06,70.0199966430664
2022-05-09,69.93000030517578
2022-05-10,68.20999908447266
2022-05-11,64.86000061035156
2022-05-12,67.55999755859375
2022-05-13,68.52999877929688
2022-05-16,68.37000274658203
2022-05-17,70.45999908447266
2022-05-18,65.70999908447266
2022-05-19,66.5199966430664
2022-05-20,68.75
2022-05-23,67.44000244140625
2022-05-24,65.62999725341797
2022-05-25,69.0
2022-05-26,72.86000061035156
2022-05-27,74.77999877929688
2022-05-31,75.1500015258789
2022-06-01,75.06999969482422
2022-06-02,76.27999877929688
2022-06-03,76.0

Indicator data:
date,5-day,10-day
2022-03-14,78.92477503582174,80.22126187270352
2022-03-15,79.40300695113599,80.05234656382625
2022-03-16,80.4663286600839,80.39076190630956
2022-03-17,81.8915454891773,81.14455157531694
2022-03-18,84.08147030618566,82.55677290839458
2022-03-21,83.67238456746301,82.67514348697159
2022-03-22,83.33474949851879,82.71950336677254
2022-03-23,80.76305073643341,81.34657064329234
2022-03-24,79.5341795929211,80.43058888385546
2022-03-25,78.3153283918059,79.41078013576818
2022-03-28,77.99524411115519,78.84212029841463
2022-03-29,79.29462410970464,79.28220372960521
2022-03-30,78.97383550952246,78.99260047741167
2022-03-31,76.3886158664455,77.34740908968067
2022-04-01,75.95867126002369,76.70434955693521
2022-04-04,76.05884541603844,76.4152166240255
2022-04-05,74.72016228474646,75.36694684032788
2022-04-06,72.42850442365136,73.65638601745695
2022-04-07,70.85460131993342,72.18315546985794
2022-04-08,70.34791219347505,71.28312075068347
2022-04-11,70.92072495138606,71.108613028237
2022-04-12,71.03078625305535,70.85828769576787
2022-04-13,72.50516810592089,71.52382740168385
2022-04-14,72.45432100483303,71.52889803766169
2022-04-18,71.79346260666625,71.18125333868736
2022-04-19,72.98936523300986,71.86981475044978
2022-04-20,73.90761145250872,72.5605087173062
2022-04-21,73.65265575862833,72.65029709525086
2022-04-22,72.43460079102096,72.09915273403647
2022-04-25,73.35051164092056,72.64428371249414
2022-04-26,72.75085802041124,72.4057576785551
2022-04-27,71.2464705592017,71.53878451335946
2022-04-28,71.9882480365523,71.82622411514224
2022-04-29,70.59811927220751,70.97182364263648
2022-05-02,70.51827382776344,70.74096814215422
2022-05-03,71.04297848921387,70.90441280179179
2022-05-04,73.49029335009126,72.31351453791684
2022-05-05,72.35351278825969,71.90329350069327
2022-05-06,71.08677301895197,71.23022517650428
2022-05-09,70.35524889199979,70.70990036734159
2022-05-10,69.02732098109442,69.7672064944576
2022-05-11,66.48520699100011,67.97723151670232
2022-05-12,66.67479836879848,67.56849582336436
2022-05-13,67.39630623596562,67.61525999368392
2022-05-16,67.75405555245734,67.62391298235949
2022-05-17,69.14260290240676,68.34527748364243
2022-05-18,67.26722352261383,67.32783459940474
2022-05-19,66.71069528213116,66.86102209246896
2022-05-20,67.68105141365031,67.2744453934436
2022-05-23,67.50331644914559,67.16692145510825
2022-05-24,66.41172980406785,66.50562126850079
2022-05-25,67.71194475984,67.14803696013504
2022-05-26,70.57738010595183,68.91533900638214
2022-05-27,73.17119707634889,70.86352114621441
2022-05-31,74.70831744495405,72.41946142490883
2022-06-01,75.3961126005176,73.52486018305709
2022-06-02,76.33778628262027,74.71591655360243
2022-06-03,76.5943322080206,75.47237889860304

Answer: 8.0