The Obelisk_TradePro_Ichi_v2 strategy is a trading strategy that utilizes the Ichimoku Cloud indicator and SSL Channels to generate buy and sell signals. Here is a brief description of what the strategy does:
It calculates the Ichimoku Cloud indicator using a set of parameters, including conversion line period, base line periods, lagging span, and displacement. The strategy creates several additional columns in the dataframe to store the calculated values of different components of the Ichimoku Cloud, 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.
It determines the future market direction by comparing the leading_senkou_span_a and leading_senkou_span_b values.
The strategy calculates the chikou_high column by checking if the chikou_span is higher than the senkou_a and senkou_b values, with a shift of displacement.
SSL Channels are calculated using a period of 10, resulting in ssl_down and ssl_up values. The strategy sets the ssl_high column based on whether ssl_up is higher than ssl_down. The go_long column is calculated by combining multiple conditions, including the tenkan_sen being higher than the kijun_sen, the close price being higher than senkou_a and senkou_b, the future market direction being positive, the chikou_high being positive, and the ssl_high being positive. The buy signal is generated when the go_long value crosses above 0. The sell signal is generated when the ssl_high is 0 and either the tenkan_sen is lower than the kijun_sen or the close price is lower than the kijun_sen. Overall, the strategy aims to identify potential buying opportunities when various conditions are met, and it generates sell signals when certain criteria are fulfilled.