Question: From May 28, 2021 to October 28, 2021, how many times did Huntington Ingalls Industries's price break below the 20-day Simple Moving Average line? 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-05-03,215.13999938964844,211.3999938964844,213.2100067138672
2021-05-04,214.38999938964844,213.3999938964844,214.57000732421875
2021-05-05,212.8699951171875,209.7400054931641,214.02999877929688
2021-05-06,218.30999755859372,214.63999938964844,214.7400054931641
2021-05-07,216.9900054931641,214.67999267578125,216.32000732421875
2021-05-10,219.3699951171875,218.1999969482422,218.9600067138672
2021-05-11,214.6999969482422,212.83999633789065,218.3600006103516
2021-05-12,212.13999938964844,212.08999633789065,215.83999633789065
2021-05-13,215.2899932861328,210.1100006103516,211.0399932861328
2021-05-14,216.2100067138672,214.3999938964844,216.2899932861328
2021-05-17,216.83999633789065,214.44000244140625,216.4600067138672
2021-05-18,213.3699951171875,213.22000122070312,216.33999633789065
2021-05-19,213.17999267578125,209.4600067138672,212.7100067138672
2021-05-20,212.55999755859372,211.72999572753903,213.17999267578125
2021-05-21,213.6699981689453,212.6499938964844,213.4199981689453
2021-05-24,215.9499969482422,213.1199951171875,214.55999755859372
2021-05-25,211.8800048828125,211.16000366210935,215.9199981689453
2021-05-26,212.77999877929688,208.4600067138672,211.6000061035156
2021-05-27,215.6199951171875,212.7899932861328,214.3500061035156
2021-05-28,216.2100067138672,214.5500030517578,216.3699951171875
2021-06-01,218.08999633789065,216.4199981689453,218.88999938964844
2021-06-02,218.9199981689453,216.02999877929688,218.0
2021-06-03,220.6100006103516,214.3000030517578,218.75
2021-06-04,222.25,219.8600006103516,219.8699951171875
2021-06-07,221.27999877929688,219.1199951171875,222.3699951171875
2021-06-08,222.66000366210935,219.25999450683597,220.8999938964844
2021-06-09,221.02999877929688,220.6699981689453,222.8600006103516
2021-06-10,220.75,220.5,223.41000366210935
2021-06-11,221.0,219.8699951171875,221.4900054931641
2021-06-14,219.8000030517578,218.25,221.0
2021-06-15,220.08999633789065,219.1699981689453,219.80999755859372
2021-06-16,216.7899932861328,216.63999938964844,219.82000732421875
2021-06-17,211.63999938964844,210.13999938964844,216.8000030517578
2021-06-18,207.17999267578125,207.1100006103516,208.9900054931641
2021-06-21,213.0500030517578,208.67999267578125,208.67999267578125
2021-06-22,211.6000061035156,208.8500061035156,211.8600006103516
2021-06-23,209.4900054931641,209.4900054931641,211.3000030517578
2021-06-24,211.07000732421875,208.1699981689453,209.97000122070312
2021-06-25,213.27999877929688,210.6499938964844,210.91000366210935
2021-06-28,211.16000366210935,209.8500061035156,212.6999969482422
2021-06-29,207.8300018310547,207.6499938964844,211.42999267578125
2021-06-30,210.75,205.8500061035156,207.7700042724609
2021-07-01,212.1499938964844,210.47000122070312,212.0800018310547
2021-07-02,211.97000122070312,210.25,212.82000732421875
2021-07-06,205.8600006103516,204.02999877929688,211.9199981689453
2021-07-07,206.88999938964844,204.1699981689453,204.1699981689453
2021-07-08,203.5500030517578,202.42999267578125,203.5
2021-07-09,206.22000122070312,204.9600067138672,207.07000732421875
2021-07-12,204.69000244140625,202.67999267578125,204.4499969482422
2021-07-13,202.66000366210935,202.22999572753903,205.1300048828125
2021-07-14,201.66000366210935,199.94000244140625,202.3300018310547
2021-07-15,201.3800048828125,199.67999267578125,199.8300018310547
2021-07-16,200.7400054931641,200.3500061035156,202.4499969482422
2021-07-19,195.30999755859372,193.72999572753903,197.8999938964844
2021-07-20,202.88999938964844,196.0,196.0
2021-07-21,204.75999450683597,202.4499969482422,204.5399932861328
2021-07-22,202.1699981689453,201.5399932861328,204.2100067138672
2021-07-23,203.75,200.8300018310547,203.7700042724609
2021-07-26,205.1699981689453,203.5,204.1199951171875
2021-07-27,204.42999267578125,203.1699981689453,204.77999877929688
2021-07-28,204.8600006103516,202.8999938964844,205.80999755859372
2021-07-29,207.22999572753903,204.8999938964844,207.02999877929688
2021-07-30,205.1300048828125,204.58999633789065,206.22000122070312
2021-08-02,203.4199981689453,203.22000122070312,205.77999877929688
2021-08-03,204.3600006103516,199.58999633789065,203.1300048828125
2021-08-04,200.41000366210935,198.50999450683597,202.2899932861328
2021-08-05,203.1999969482422,200.5,202.50999450683597
2021-08-06,205.5800018310547,204.88999938964844,205.9900054931641
2021-08-09,205.1300048828125,203.75,204.6300048828125
2021-08-10,206.94000244140625,204.0,204.6100006103516
2021-08-11,208.92999267578125,205.42999267578125,207.3800048828125
2021-08-12,207.4900054931641,206.1300048828125,209.1000061035156
2021-08-13,205.94000244140625,205.75,207.8500061035156
2021-08-16,205.75,203.0,205.0
2021-08-17,205.6699981689453,204.07000732421875,205.0500030517578
2021-08-18,201.1699981689453,201.1199951171875,204.3600006103516
2021-08-19,200.16000366210935,199.1699981689453,200.1699981689453
2021-08-20,202.72999572753903,200.47000122070312,200.47000122070312
2021-08-23,205.97999572753903,203.5399932861328,204.1100006103516
2021-08-24,206.0399932861328,205.66000366210935,206.6499938964844
2021-08-25,206.22000122070312,204.6300048828125,205.32000732421875
2021-08-26,204.4199981689453,202.69000244140625,205.0800018310547
2021-08-27,206.9900054931641,204.9600067138672,205.47000122070312
2021-08-30,207.00999450683597,206.5399932861328,207.00999450683597
2021-08-31,204.1699981689453,203.75999450683597,206.92999267578125
2021-09-01,202.9900054931641,200.97000122070312,204.1000061035156
2021-09-02,205.1300048828125,203.5500030517578,204.02999877929688
2021-09-03,203.1699981689453,202.25999450683597,204.47000122070312
2021-09-07,199.2400054931641,199.1999969482422,201.52999877929688
2021-09-08,199.4900054931641,198.0200042724609,198.7899932861328
2021-09-09,199.3300018310547,198.97999572753903,199.3999938964844
2021-09-10,198.17999267578125,197.3800048828125,200.6999969482422
2021-09-13,200.97999572753903,198.0500030517578,200.0
2021-09-14,197.75,196.5200042724609,201.55999755859372
2021-09-15,199.1999969482422,197.75999450683597,197.77999877929688
2021-09-16,195.0800018310547,194.97000122070312,200.1100006103516
2021-09-17,194.9900054931641,193.5500030517578,194.13999938964844
2021-09-20,193.6300048828125,190.42999267578125,192.47000122070312
2021-09-21,189.32000732421875,189.0,194.1300048828125
2021-09-22,191.47000122070312,190.6000061035156,190.6000061035156
2021-09-23,194.5399932861328,191.82000732421875,191.82000732421875
2021-09-24,195.3699951171875,194.6499938964844,194.6499938964844
2021-09-27,197.05999755859372,196.2100067138672,196.94000244140625
2021-09-28,196.5399932861328,195.75999450683597,197.7100067138672
2021-09-29,197.3300018310547,196.47999572753903,197.75999450683597
2021-09-30,193.05999755859372,192.7700042724609,197.66000366210935
2021-10-01,194.17999267578125,190.47999572753903,194.05999755859372
2021-10-04,195.05999755859372,194.50999450683597,194.77999877929688
2021-10-05,194.92999267578125,193.77999877929688,195.7700042724609
2021-10-06,196.77999877929688,191.9600067138672,193.7100067138672
2021-10-07,202.8600006103516,197.9199981689453,198.0
2021-10-08,206.38999938964844,202.8699951171875,202.8699951171875
2021-10-11,210.82000732421875,206.0800018310547,207.47000122070312
2021-10-12,212.1699981689453,209.3800048828125,210.77999877929688
2021-10-13,207.97000122070312,205.0200042724609,210.6199951171875
2021-10-14,208.4600067138672,205.44000244140625,209.30999755859372
2021-10-15,210.5200042724609,208.3600006103516,209.08999633789065
2021-10-18,207.4499969482422,206.25999450683597,209.6699981689453
2021-10-19,209.4199981689453,206.0399932861328,207.7400054931641
2021-10-20,211.72000122070312,209.1999969482422,209.25999450683597
2021-10-21,211.1300048828125,209.1999969482422,211.50999450683597
2021-10-22,212.8300018310547,211.52999877929688,211.5500030517578
2021-10-25,212.47999572753903,210.1199951171875,212.75999450683597
2021-10-26,204.33999633789065,200.75,205.7899932861328
2021-10-27,202.63999938964844,202.3800048828125,205.22000122070312
2021-10-28,204.5200042724609,201.6100006103516,202.7400054931641

Indicator data:
date,20-day,close
2021-05-28,214.87349853515624,216.2100067138672
2021-06-01,215.02099838256837,218.08999633789065
2021-06-02,215.24749832153321,218.9199981689453
2021-06-03,215.6344985961914,220.6100006103516
2021-06-04,215.8314987182617,222.25
2021-06-07,216.04599838256837,221.27999877929688
2021-06-08,216.21049880981445,222.66000366210935
2021-06-09,216.5269989013672,221.02999877929688
2021-06-10,216.95749893188477,220.75
2021-06-11,217.2429992675781,221.0
2021-06-14,217.42249908447266,219.8000030517578
2021-06-15,217.58499908447266,220.08999633789065
2021-06-16,217.75599899291993,216.7899932861328
2021-06-17,217.6789993286133,211.63999938964844
2021-06-18,217.40999908447264,207.17999267578125
2021-06-21,217.37899932861328,213.0500030517578
2021-06-22,217.16149978637696,211.6000061035156
2021-06-23,217.04199981689453,209.4900054931641
2021-06-24,216.9565002441406,211.07000732421875
2021-06-25,216.8395004272461,213.27999877929688
2021-06-28,216.5870002746582,211.16000366210935
2021-06-29,216.0740005493164,207.8300018310547
2021-06-30,215.66550064086914,210.75
2021-07-01,215.24250030517578,212.1499938964844
2021-07-02,214.72850036621094,211.97000122070312
2021-07-06,213.95750045776367,205.8600006103516
2021-07-07,213.16900024414062,206.88999938964844
2021-07-08,212.29500045776368,203.5500030517578
2021-07-09,211.56850051879883,206.22000122070312
2021-07-12,210.75300064086915,204.69000244140625
2021-07-13,209.89600067138673,202.66000366210935
2021-07-14,208.97450103759766,201.66000366210935
2021-07-15,208.20400161743163,201.3800048828125
2021-07-16,207.65900192260742,200.7400054931641
2021-07-19,207.06550216674805,195.30999755859372
2021-07-20,206.55750198364257,202.88999938964844
2021-07-21,206.2155014038086,204.75999450683597
2021-07-22,205.84950103759766,202.1699981689453
2021-07-23,205.4835006713867,203.75
2021-07-26,205.07800064086913,205.1699981689453
2021-07-27,204.74150009155272,204.42999267578125
2021-07-28,204.59300003051757,204.8600006103516
2021-07-29,204.41699981689453,207.22999572753903
2021-07-30,204.06600036621094,205.1300048828125
2021-08-02,203.63850021362305,203.4199981689453
2021-08-03,203.56350021362306,204.3600006103516
2021-08-04,203.2395004272461,200.41000366210935
2021-08-05,203.2220001220703,203.1999969482422
2021-08-06,203.19000015258788,205.5800018310547
2021-08-09,203.2120002746582,205.1300048828125
2021-08-10,203.42600021362304,206.94000244140625
2021-08-11,203.78949966430665,208.92999267578125
2021-08-12,204.09499969482422,207.4900054931641
2021-08-13,204.35499954223633,205.94000244140625
2021-08-16,204.87699966430665,205.75
2021-08-17,205.0159996032715,205.6699981689453
2021-08-18,204.83649978637695,201.1699981689453
2021-08-19,204.73600006103516,200.16000366210935
2021-08-20,204.68499984741212,202.72999572753903
2021-08-23,204.7254997253418,205.97999572753903
2021-08-24,204.80599975585938,206.0399932861328
2021-08-25,204.87399978637694,206.22000122070312
2021-08-26,204.73349990844727,204.4199981689453
2021-08-27,204.82649993896484,206.9900054931641
2021-08-30,205.00599975585936,207.00999450683597
2021-08-31,204.99649963378906,204.1699981689453
2021-09-01,205.1254997253418,202.9900054931641
2021-09-02,205.2220001220703,205.1300048828125
2021-09-03,205.10149993896485,203.1699981689453
2021-09-07,204.80699996948243,199.2400054931641
2021-09-08,204.43450012207032,199.4900054931641
2021-09-09,203.954500579834,199.3300018310547
2021-09-10,203.48899993896484,198.17999267578125
2021-09-13,203.2409996032715,200.97999572753903
2021-09-14,202.84099960327148,197.75
2021-09-15,202.51749954223632,199.1999969482422
2021-09-16,202.2129997253418,195.0800018310547
2021-09-17,201.95449981689453,194.9900054931641
2021-09-20,201.4995002746582,193.6300048828125
2021-09-21,200.6665008544922,189.32000732421875
2021-09-22,199.9380012512207,191.47000122070312
2021-09-23,199.3540008544922,194.5399932861328
2021-09-24,198.9015007019043,195.3699951171875
2021-09-27,198.40500030517578,197.05999755859372
2021-09-28,197.88150024414062,196.5399932861328
2021-09-29,197.53950042724608,197.3300018310547
2021-09-30,197.0430000305176,193.05999755859372
2021-10-01,196.49549942016603,194.17999267578125
2021-10-04,196.08999938964843,195.05999755859372
2021-10-05,195.8744987487793,194.92999267578125
2021-10-06,195.73899841308594,196.77999877929688
2021-10-07,195.91549835205078,202.8600006103516
2021-10-08,196.32599868774415,206.38999938964844
2021-10-11,196.81799926757813,210.82000732421875
2021-10-12,197.53899917602538,212.1699981689453
2021-10-13,197.97749938964844,207.97000122070312
2021-10-14,198.64649963378906,208.4600067138672
2021-10-15,199.4229995727539,210.5200042724609
2021-10-18,200.1139991760254,207.4499969482422
2021-10-19,201.1189987182617,209.4199981689453
2021-10-20,202.13149871826172,211.72000122070312
2021-10-21,202.96099929809571,211.1300048828125
2021-10-22,203.83399963378906,212.8300018310547
2021-10-25,204.60499954223633,212.47999572753903
2021-10-26,204.99499969482423,204.33999633789065
2021-10-27,205.2604995727539,202.63999938964844
2021-10-28,205.83349990844727,204.5200042724609

Answer: 8.0