The AlligatorStrat strategy is a proof of concept strategy for buying and selling assets based on crossover signals. Here is a short description of what the strategy does:
The strategy uses three Simple Moving Averages (SMAs) with different time periods (5, 8, and 13) to generate crossover signals. It also calculates the Moving Average Convergence Divergence (MACD) indicator and its components (macd, macdsignal, macdhist) to further refine the signals.
The buy signal is generated when the following conditions are met:
The SMAShort (5-period SMA) crosses above the SMAMedium (8-period SMA).
The MACD is greater than the MACD signal line (macd > macdsignal).
Alternatively, a buy signal is also generated when the MACD crosses above the MACD signal line. The sell signal is generated when the following conditions are met:
The close price is below the SMAMedium. The MACD is below the MACD signal line. Alternatively, a sell signal is also generated when the MACD crosses below the MACD signal line. Please note that the strategy is described as not performing well and is primarily a proof of concept.