Abstract:
Algorithmic trading has become increasingly popular in recent years as traders look to automate their trading decisions
using computer programs. One widely used approach is to employ technical indicators such as the Relative Strength Index (RSI) and
the Stochastic Oscillator (Stoch) to identify overbought and oversold conditions in the market. The strategy can be effective in certain
market conditions, but it can also result in losses. Therefore, it is crucial to backtest any trading strategy before committing actual funds.
Algorithmic trading can increase trading efficiency and avoid emotional biases associated with manual trading. This paper proposes
various strategies using RSI and Stoch indicators, specifically buying in an oversold market (RSI less than 30, Stoch less than 20) and
selling in an overbought market (RSI over 70, Stoch over 80), which is a popular trading strategy in Bitcoin algorithmic trading and
analyzes their impact on changing market conditions, such as bullish, bearish and sideways markets. The results of using RSI and
Stoch indicators are then compared with buying and holding in a long-term investment. The results show that, under the studied period
from July 2021 to December 2022, the strategy using 15-minute Stoch indicator performs the best in the overall market and during the
upward market trend. In the downward market and the sideways market, the strategies using the RSI and Stoch indicators with a
timeframe of 1 day lead to optimal returns. Trading strategies using appropriate indicators and timeframe consistently outperform buyand-
hold strategy in all market conditions