This is a C++ program that helps in predicting stock market prices by the help of moving averages [SMA - Simple moving average, EMA- exponential moving average ]
User giver input in form of a (.txt) file you just neex to run the executable and get output as (.txt) file
Input format
- First line contais time frame for SMA and EMA calculations
- Next further lines will contain input of prices
- int(-1) input at price gives command to stop the program.
You can see Output in the form of (.txt) file