Question: How many times did the price break above the 60-day Simple Moving Average line for American Tower from September 07, 2021 to January 17, 2022? 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-06-14,270.94000244140625,267.3599853515625,268.42999267578125
2021-06-15,270.4700012207031,268.6199951171875,270.8599853515625
2021-06-16,266.5299987792969,265.760009765625,271.5899963378906
2021-06-17,269.510009765625,263.7799987792969,264.5199890136719
2021-06-18,265.94000244140625,265.9200134277344,268.760009765625
2021-06-21,267.739990234375,264.010009765625,265.989990234375
2021-06-22,266.6099853515625,266.4800109863281,267.7799987792969
2021-06-23,264.2200012207031,263.5199890136719,266.0
2021-06-24,264.1499938964844,262.3299865722656,265.5400085449219
2021-06-25,266.5400085449219,263.8099975585937,264.4100036621094
2021-06-28,271.7900085449219,268.3699951171875,268.3699951171875
2021-06-29,272.7900085449219,270.260009765625,271.4100036621094
2021-06-30,270.1400146484375,270.0299987792969,272.9700012207031
2021-07-01,270.3299865722656,267.6499938964844,268.6300048828125
2021-07-02,272.8699951171875,271.29998779296875,271.29998779296875
2021-07-06,275.7300109863281,271.57000732421875,272.8699951171875
2021-07-07,278.1700134277344,274.010009765625,275.25
2021-07-08,277.9200134277344,276.1199951171875,277.95001220703125
2021-07-09,278.45001220703125,275.32000732421875,277.6700134277344
2021-07-12,279.989990234375,277.739990234375,279.1700134277344
2021-07-13,278.5299987792969,277.6400146484375,278.1400146484375
2021-07-14,281.3699951171875,277.010009765625,278.0
2021-07-15,281.2799987792969,279.0299987792969,282.1000061035156
2021-07-16,282.4599914550781,281.1400146484375,282.239990234375
2021-07-19,280.8900146484375,278.5599975585937,282.8999938964844
2021-07-20,283.0,279.69000244140625,283.1099853515625
2021-07-21,280.260009765625,279.92999267578125,282.67999267578125
2021-07-22,281.6000061035156,276.8900146484375,279.70001220703125
2021-07-23,285.260009765625,280.7300109863281,282.25
2021-07-26,284.6099853515625,282.489990234375,283.3699951171875
2021-07-27,286.8800048828125,284.0299987792969,285.010009765625
2021-07-28,284.9800109863281,283.75,286.94000244140625
2021-07-29,283.0,282.260009765625,286.0
2021-07-30,282.79998779296875,282.7300109863281,284.69000244140625
2021-08-02,283.6199951171875,283.1700134277344,283.5
2021-08-03,284.3500061035156,282.8099975585937,283.70001220703125
2021-08-04,284.8699951171875,281.7099914550781,284.7900085449219
2021-08-05,282.760009765625,281.1300048828125,286.42999267578125
2021-08-06,282.1199951171875,281.010009765625,281.3999938964844
2021-08-09,280.0599975585937,278.95001220703125,282.0
2021-08-10,275.29998779296875,275.0,281.54998779296875
2021-08-11,277.2200012207031,275.3699951171875,276.4100036621094
2021-08-12,280.04998779296875,276.1499938964844,278.0
2021-08-13,282.9200134277344,279.2099914550781,280.42999267578125
2021-08-16,283.20001220703125,281.7699890136719,282.9200134277344
2021-08-17,286.5299987792969,281.1400146484375,281.1400146484375
2021-08-18,283.3800048828125,283.3299865722656,285.9599914550781
2021-08-19,289.1400146484375,281.5899963378906,281.5899963378906
2021-08-20,290.82000732421875,287.75,289.3999938964844
2021-08-23,288.510009765625,287.3099975585937,289.3800048828125
2021-08-24,284.6000061035156,283.3900146484375,289.489990234375
2021-08-25,282.8999938964844,281.7200012207031,284.6499938964844
2021-08-26,283.17999267578125,281.7200012207031,282.2200012207031
2021-08-27,285.5,282.2099914550781,284.82000732421875
2021-08-30,291.67999267578125,285.2200012207031,285.5
2021-08-31,292.1700134277344,288.79998779296875,289.8299865722656
2021-09-01,297.9599914550781,291.989990234375,292.8500061035156
2021-09-02,300.8900146484375,295.69000244140625,298.1000061035156
2021-09-03,302.010009765625,297.1700134277344,300.04998779296875
2021-09-07,299.2200012207031,295.1000061035156,300.5
2021-09-08,303.6199951171875,298.3699951171875,298.6600036621094
2021-09-09,296.82000732421875,296.69000244140625,302.5
2021-09-10,293.8800048828125,290.0599975585937,296.489990234375
2021-09-13,294.6099853515625,293.17999267578125,296.510009765625
2021-09-14,296.3999938964844,294.8099975585937,295.2900085449219
2021-09-15,297.260009765625,294.25,296.6199951171875
2021-09-16,297.1400146484375,292.8399963378906,296.7900085449219
2021-09-17,293.75,293.57000732421875,293.8399963378906
2021-09-20,291.19000244140625,287.6099853515625,291.5400085449219
2021-09-21,291.8699951171875,290.6700134277344,292.25
2021-09-22,293.54998779296875,290.19000244140625,292.1000061035156
2021-09-23,288.0,285.42999267578125,293.5
2021-09-24,282.17999267578125,281.3599853515625,287.8900146484375
2021-09-27,274.1000061035156,273.6700134277344,280.9100036621094
2021-09-28,268.75,266.7699890136719,270.79998779296875
2021-09-29,270.010009765625,268.19000244140625,269.8999938964844
2021-09-30,265.4100036621094,265.2699890136719,271.3699951171875
2021-10-01,266.6099853515625,265.0899963378906,267.010009765625
2021-10-04,265.2300109863281,262.1499938964844,265.9100036621094
2021-10-05,264.54998779296875,262.3099975585937,265.3999938964844
2021-10-06,267.9599914550781,261.1099853515625,263.3800048828125
2021-10-07,266.1099853515625,265.6099853515625,269.20001220703125
2021-10-08,262.0799865722656,261.4100036621094,266.0799865722656
2021-10-11,261.6000061035156,260.5199890136719,261.9200134277344
2021-10-12,264.54998779296875,261.57000732421875,262.7699890136719
2021-10-13,264.17999267578125,259.32000732421875,263.29998779296875
2021-10-14,267.8699951171875,265.07000732421875,265.45001220703125
2021-10-15,269.3299865722656,267.0799865722656,269.7900085449219
2021-10-18,268.0,266.92999267578125,268.44000244140625
2021-10-19,272.8999938964844,269.0400085449219,269.7200012207031
2021-10-20,276.0400085449219,274.1000061035156,274.1000061035156
2021-10-21,279.0400085449219,273.2799987792969,275.7900085449219
2021-10-22,284.45001220703125,279.0,279.7799987792969
2021-10-25,284.5799865722656,280.6199951171875,284.5
2021-10-26,286.94000244140625,285.3999938964844,286.0
2021-10-27,285.4200134277344,285.3099975585937,288.2200012207031
2021-10-28,286.010009765625,282.8500061035156,285.5
2021-10-29,281.9700012207031,279.6400146484375,284.2300109863281
2021-11-01,282.1000061035156,276.4100036621094,282.8599853515625
2021-11-02,282.6499938964844,279.510009765625,282.8099975585937
2021-11-03,280.6000061035156,276.4599914550781,283.7200012207031
2021-11-04,278.95001220703125,277.6400146484375,281.79998779296875
2021-11-05,277.8299865722656,276.70001220703125,280.94000244140625
2021-11-08,278.760009765625,273.42999267578125,278.25
2021-11-09,279.9200134277344,278.79998779296875,279.8900146484375
2021-11-10,275.8800048828125,275.5599975585937,278.6300048828125
2021-11-11,272.4800109863281,270.3699951171875,276.1300048828125
2021-11-12,272.1000061035156,271.6000061035156,274.489990234375
2021-11-15,260.5,259.1400146484375,267.3299865722656
2021-11-16,259.0400085449219,258.6300048828125,262.1300048828125
2021-11-17,257.5299987792969,254.6999969482422,259.1000061035156
2021-11-18,258.9599914550781,253.3999938964844,257.6000061035156
2021-11-19,260.9800109863281,259.6099853515625,260.8999938964844
2021-11-22,257.6300048828125,256.6300048828125,260.0
2021-11-23,262.0,256.75,258.260009765625
2021-11-24,265.4800109863281,260.5,262.8800048828125
2021-11-26,262.8699951171875,262.2699890136719,266.5799865722656
2021-11-29,266.94000244140625,261.489990234375,264.1300048828125
2021-11-30,262.4800109863281,262.3599853515625,264.1600036621094
2021-12-01,258.95001220703125,258.510009765625,263.9800109863281
2021-12-02,266.239990234375,259.2699890136719,259.7300109863281
2021-12-03,266.9599914550781,263.4599914550781,265.7200012207031
2021-12-06,269.57000732421875,267.3399963378906,268.5299987792969
2021-12-07,276.8099975585937,271.25,271.25
2021-12-08,275.8500061035156,273.5400085449219,276.3900146484375
2021-12-09,271.0599975585937,270.92999267578125,275.8800048828125
2021-12-10,272.57000732421875,269.45001220703125,270.9100036621094
2021-12-13,276.0199890136719,270.3500061035156,272.0
2021-12-14,273.4100036621094,271.010009765625,274.4700012207031
2021-12-15,274.3500061035156,271.1199951171875,274.1600036621094
2021-12-16,279.4700012207031,274.7099914550781,274.79998779296875
2021-12-17,278.8599853515625,277.82000732421875,279.25
2021-12-20,278.4599914550781,275.010009765625,275.8500061035156
2021-12-21,277.8500061035156,276.5799865722656,280.29998779296875
2021-12-22,281.25,277.7099914550781,278.95001220703125
2021-12-23,278.739990234375,276.4599914550781,280.0
2021-12-27,285.760009765625,278.4599914550781,280.0599975585937
2021-12-28,288.489990234375,284.7200012207031,285.760009765625
2021-12-29,288.8800048828125,286.79998779296875,286.79998779296875
2021-12-30,291.1400146484375,287.4100036621094,289.6099853515625
2021-12-31,292.5,289.94000244140625,291.3999938964844
2022-01-03,286.3800048828125,280.2799987792969,292.3699951171875
2022-01-04,282.7699890136719,282.4599914550781,287.19000244140625
2022-01-05,264.57000732421875,262.2300109863281,278.9700012207031
2022-01-06,264.8900146484375,256.7699890136719,263.9100036621094
2022-01-07,266.5799865722656,261.0,264.0299987792969
2022-01-10,264.4100036621094,258.6099853515625,267.3500061035156
2022-01-11,260.489990234375,256.1000061035156,259.4100036621094
2022-01-12,259.3900146484375,258.8500061035156,259.8800048828125
2022-01-13,255.44000244140625,255.05999755859372,260.0
2022-01-14,250.6199951171875,246.08999633789065,253.63999938964844

Indicator data:
date,60-day,close
2021-09-07,280.54516855875653,299.2200012207031
2021-09-08,281.08983510335287,303.6199951171875
2021-09-09,281.5290018717448,296.82000732421875
2021-09-10,281.9848353068034,293.8800048828125
2021-09-13,282.4031682332357,294.6099853515625
2021-09-14,282.91083475748695,296.3999938964844
2021-09-15,283.4028350830078,297.260009765625
2021-09-16,283.9116689046224,297.1400146484375
2021-09-17,284.403835550944,293.75
2021-09-20,284.85450236002606,291.19000244140625
2021-09-21,285.2766688028971,291.8699951171875
2021-09-22,285.6393351236979,293.54998779296875
2021-09-23,285.89283498128253,288.0
2021-09-24,286.09350128173827,282.17999267578125
2021-09-27,286.15633494059244,274.1000061035156
2021-09-28,286.087668355306,268.75
2021-09-29,285.9923350016276,270.010009765625
2021-09-30,285.7796681722005,265.4100036621094
2021-10-01,285.5911677042643,266.6099853515625
2021-10-04,285.37083435058594,265.2300109863281
2021-10-05,285.1135009765625,264.54998779296875
2021-10-06,284.9373341878255,267.9599914550781
2021-10-07,284.68300069173176,266.1099853515625
2021-10-08,284.3630004882813,262.0799865722656
2021-10-11,284.0153340657552,261.6000061035156
2021-10-12,283.7430002848307,264.54998779296875
2021-10-13,283.42933349609376,264.17999267578125
2021-10-14,283.22283325195315,267.8699951171875
2021-10-15,283.01833292643227,269.3299865722656
2021-10-18,282.7306660970052,268.0
2021-10-19,282.5354995727539,272.8999938964844
2021-10-20,282.3548329671224,276.0400085449219
2021-10-21,282.2558329264323,279.0400085449219
2021-10-22,282.2799997965495,284.45001220703125
2021-10-25,282.3096664428711,284.5799865722656
2021-10-26,282.36499989827473,286.94000244140625
2021-10-27,282.3828333536784,285.4200134277344
2021-10-28,282.401833597819,286.010009765625
2021-10-29,282.388666788737,281.9700012207031
2021-11-01,282.3883336385091,282.1000061035156
2021-11-02,282.43150024414064,282.6499938964844
2021-11-03,282.5198338826497,280.6000061035156
2021-11-04,282.5486673990885,278.95001220703125
2021-11-05,282.5116673787435,277.8299865722656
2021-11-08,282.442333984375,278.760009765625
2021-11-09,282.3876673380534,279.9200134277344
2021-11-10,282.2101674397787,275.8800048828125
2021-11-11,282.0285008748372,272.4800109863281
2021-11-12,281.7445007324219,272.1000061035156
2021-11-15,281.2391672770182,260.5
2021-11-16,280.7480005900065,259.0400085449219
2021-11-17,280.29683380126954,257.5299987792969
2021-11-18,279.89783376057943,258.9599914550781
2021-11-19,279.5278340657552,260.9800109863281
2021-11-22,279.06333414713544,257.6300048828125
2021-11-23,278.56866760253905,262.0
2021-11-24,278.12383422851565,265.4800109863281
2021-11-26,277.5390009562174,262.8699951171875
2021-11-29,276.9731674194336,266.94000244140625
2021-11-30,276.3143341064453,262.4800109863281
2021-12-01,275.6431676228841,258.95001220703125
2021-12-02,275.0201675415039,266.239990234375
2021-12-03,274.5225006103516,266.9599914550781
2021-12-06,274.117333984375,269.57000732421875
2021-12-07,273.82066752115884,276.8099975585937
2021-12-08,273.47816772460936,275.8500061035156
2021-12-09,273.0415008544922,271.0599975585937
2021-12-10,272.6320007324219,272.57000732421875
2021-12-13,272.3365005493164,276.0199890136719
2021-12-14,272.0401672363281,273.4100036621094
2021-12-15,271.74816741943357,274.3500061035156
2021-12-16,271.5135009765625,279.4700012207031
2021-12-17,271.3611673990885,278.8599853515625
2021-12-20,271.2991673787435,278.4599914550781
2021-12-21,271.3616673787435,277.8500061035156
2021-12-22,271.5700007120768,281.25
2021-12-23,271.715500386556,278.739990234375
2021-12-27,272.05466715494794,285.760009765625
2021-12-28,272.41933390299477,288.489990234375
2021-12-29,272.8135004679362,288.8800048828125
2021-12-30,273.256667582194,291.1400146484375
2021-12-31,273.66566772460936,292.5
2022-01-03,274.0035013834635,286.3800048828125
2022-01-04,274.34833475748695,282.7699890136719
2022-01-05,274.39783477783203,264.57000732421875
2022-01-06,274.4035018920898,264.8900146484375
2022-01-07,274.44350179036456,266.5799865722656
2022-01-10,274.3858352661133,264.4100036621094
2022-01-11,274.2385019938151,260.489990234375
2022-01-12,274.0950022379557,259.3900146484375
2022-01-13,273.8040023803711,255.44000244140625
2022-01-14,273.3803354899089,250.6199951171875

Answer: 4.0