Course Name: Volatility Trading Strategies for Beginners, Section No: 16, Unit No: 14, Unit type: Notebook
Hi,
For this notebook is it suppossed that the signal for entry in trades is 5-SMA (Close) > Upperband (60-SMA, 1.5stdev) but in the code were we generate the signals with numpy we find the following:
prices["signals"] = np.where(prices["VIXY_ma5"] >= prices["VIXY_stdev"], 1, 0)