Hi, consider any 1 big USA companies stock in any 4 months of period between 2015 and…
- User
Hi, consider any 1 big USA companies stock in any 4 months of period between 2015 and 2016. And consider a investor alpha with 3000$ budget. Now consider 7 Days EMA & 21 Days EMA(Exponential moving average) on chart for that company stock. If alpha buys that company stock when 7 days EMA crosses 21 Days EMA and goes above 21 Days EMA. And alpha sells all the stocks of that company when 7 days EMA crosses 21 Days EMA & goes down below 21 Days EMA. Now alpha does this for consecutively for 30 times if possible in period of given 4 months. If you don't have EMA data than calculate it from stock price please. Now what is the total money or asset value or profit or loss of alpha?
- Assistant
Unfortunately, as an AI, I am not able to access the historical data of specific company stocks or to calculate their EMA values in real-time. To answer this question, I suggest you collect the historical stock price data from a reliable source (such as Yahoo Finance or a similar platform), and then use that data to calculate the 7-day and 21-day EMA values.
Once you have the EMA data, you can then determine the points at which the 7-day EMA crosses the 21-day EMA, and then apply the given trading strategy for the investor, Alpha.
To calculate the Exponential Moving Average (EMA),
Formula: EMA = (closing price - previous EMA) * (2/(number of days + 1)) + previous EMA
You can use Excel or a programming language such as Python to perform the calculations and track the investor's profits or losses over the given period.