We have dataset from NSE website. The Stock price data is from 1-Jan-2015 to 31-July-2018 for six stocks Eicher Motors, Hero, Bajaj Auto, TVS Motors, Infosys and TCS.
When the shorter-term moving average crosses above the longer-term moving average, it is a signal to BUY, as it indicates that the trend is shifting up. This is known as a Golden Cross. When the shorter term moving average crosses below the longer term moving average, it is a signal to SELL, as it indicates the trend is shifting down. This is known as the Death Cross.