The AwesomeMacd strategy is designed to backtest trading decisions based on the MACD (Moving Average Convergence Divergence) indicator and the Awesome Oscillator. Key Features:
Minimal ROI (Return on Investment): The strategy aims for a minimum ROI of 0.8 (80%). Stoploss: The optimal stoploss for this strategy is set at -0.016, indicating a maximum acceptable loss of 1.6%.
Timeframe: The strategy is designed to work with 1-hour candlestick data.
Indicators:
ADX (Average Directional Index): The strategy calculates the ADX indicator with a time period of 14.
AO (Awesome Oscillator): The strategy calculates the Awesome Oscillator using qtpylib. MACD: The strategy calculates the MACD indicator with fast period = 12, slow period = 26, and signal period = 5. The MACD line, MACD signal line, and MACD histogram are recorded. Buy Signal:
The strategy generates a buy signal when the following conditions are met:
The MACD line is above the MACD signal line. The Awesome Oscillator value is higher than its previous value. Sell Signal:
The strategy generates a sell signal when the following conditions are met:
The MACD line is below the MACD signal line. The Awesome Oscillator value is lower than its previous value. Note: The strategy code provided is written in Python and utilizes the Freqtrade library for backtesting.