# Plotting the data plt.figure(figsize=(12,6)) plt.plot(data['Close'], label='Close Price') plt.plot(data['Short_MA'], label=f'{short_window} Days Moving Average') plt.plot(data['Long_MA'], label=f'{long_window} Days Moving Average')
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.