The Obelisk_Ichimoku_Slow_v1 strategy is a trading strategy that utilizes the Ichimoku Cloud indicator and SSL Channels to generate buy and sell signals. Here is a summary of what the strategy does:
Populating Indicators:
Calculates the Ichimoku Cloud indicator with specific parameters (conversion line period, base line periods, lagging span, and displacement). Adds various components of the Ichimoku Cloud to the dataframe, such as chikou_span, tenkan_sen, kijun_sen, senkou_a, senkou_b, leading_senkou_span_a, leading_senkou_span_b, cloud_green, and cloud_red.
Determines the future direction based on the relationship between leading_senkou_span_a and leading_senkou_span_b.
Determines if chikou_span is higher than senkou_a and senkou_b, shifted by the displacement.
Calculates SSL Channels and adds ssl_down, ssl_up, and ssl_high to the dataframe. Buy Criteria:
Combines multiple conditions to generate a buy signal:
tenkan_sen is higher than kijun_sen. Close price is higher than senkou_a and senkou_b. Future direction is positive. chikou_high is positive. ssl_high is positive. Open price is lower than ssl_up. Close price is lower than ssl_up. Sell Criteria:
Determines the sell signal based on the ssl_high indicator being zero. Populate Buy Trend:
Assigns a buy signal of 1 to the 'buy' column in the dataframe when go_long is greater than 0. Populate Sell Trend:
Assigns a sell signal of 1 to the 'sell' column in the dataframe when go_long is equal to 0. The strategy combines multiple technical indicators to identify potential buying opportunities based on the Ichimoku Cloud and SSL Channels, and it generates corresponding buy and sell signals accordingly.