The "Ichimoku_v38" strategy is a trading strategy that uses the Ichimoku Cloud indicator to generate buy and sell signals. The strategy is implemented as a class that inherits from the Freqtrade IStrategy interface. Here are the key components of the strategy:
ROI table: The strategy aims for a fixed ROI of 100% for all trades.
Stoploss: The strategy uses a fixed stoploss level of -0.99, which means that if the price drops by 99% from the entry point, the trade will be closed with a loss.
Timeframe: The strategy operates on the 4-hour timeframe.
Informative timeframe: The strategy also uses the 1-day timeframe for additional information. Candle count: The strategy requires at least 150 candles before producing valid signals. Indicators: The strategy populates various indicators using the pandas and talib libraries. It calculates the Heiken Ashi candlestick data and the Ichimoku Cloud components (senkou span A, senkou span B, cloud colors). Buy signal: The strategy generates a buy signal when the current day's closing price crosses above the senkou span A or senkou span B of the previous day, and the previous day's closing price is below the corresponding senkou span. The buy signal is also subject to the condition that the cloud color is green or red. Sell signal: The strategy generates a sell signal when the current day's closing price is below either senkou span A or senkou span B of the previous day. The strategy focuses on capturing trends indicated by the Ichimoku Cloud indicator and aims to generate a fixed ROI for each trade while using a stoploss to limit potential losses.