The KeltnerRSI strategy is a backtesting strategy that operates on an 8-hour timeframe. It uses the Keltner Channel and RSI (Relative Strength Index) indicators to determine buy and sell signals. The Keltner Channel is a volatility-based indicator that consists of an upper band, lower band, and middle band.
The strategy calculates these bands using a window size of 20 and an average true range (ATR) of 1.
The upper and lower bands represent potential overbought and oversold levels, while the middle band serves as a reference point.
The RSI is a momentum oscillator that measures the speed and change of price movements. It is calculated with a time period of 14. The strategy considers the RSI value and a horizontal RSI line set at 55 for making buy decisions. The buy signal occurs when the close price crosses above the upper band of the Keltner Channel and the RSI value is above the horizontal RSI line. The sell signal occurs when the close price crosses below the middle band of the Keltner Channel. The strategy sets a stop loss at -0.10, meaning that if the trade's loss reaches this threshold, it will be closed. The minimal return on investment (ROI) is set to 100, which means that the strategy will not sell unless it achieves a profit of 100 or more. The strategy also includes plot configurations for visualizing the Keltner Channel and RSI indicators. Overall, the KeltnerRSI strategy aims to capture potential price reversals based on the Keltner Channel and RSI signals on an 8-hour timeframe.