The dual indicators breakthrough strategy combines the RSI indicator and the closing price indicator to achieve low buying and high selling for trading. This strategy is simple and practical with low pullback risk and is suitable for medium and long term holds.
The strategy is mainly based on the following two indicators for judgment:
The entry condition is oversold RSI, indicating that the stock is highly undervalued and has a strong reversal potential. The exit condition is that the closing price breaks through the highest price of the previous day, indicating that the stock is entering a bullish trend and profits should be taken appropriately.
The dual indicator breakthrough strategy has the following advantages:
The strategy also has some risks:
The above risks can be avoided through optimization of RSI parameters, evaluation of market conditions, and use of other indicators for judgment.
The main optimization directions of this strategy are focused on the following aspects:
In general, the dual indicator breakthrough strategy is a very useful quantitative strategy. The strategy is simple to operate with low pullback risks. Through parameter optimization and rule refinement, it can become an intelligent and stable quantitative program. If implemented effectively, it can provide us with good medium and long term trading opportunities.
/*backtest start: 2023-12-01 00:00:00 end: 2023-12-31 23:59:59 period: 1h basePeriod: 15m exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}] */ // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © hobbiecode // If RSI(2) is less than 15, then enter at the close. // Exit on close if today’s close is higher than yesterday’s high. //@version=5 strategy("Hobbiecode - RSI + Close previous day", overlay=true) // RSI parameters rsi_period = 2 rsi_lower = 15 // Calculate RSI rsi_val = ta.rsi(close, rsi_period) // Check if RSI is lower than the defined threshold if (rsi_val < rsi_lower) strategy.entry("Buy", strategy.long) // Check if today's close is higher than yesterday's high if (strategy.position_size > 0 and close > ta.highest(high[1], 1)) strategy.close("Buy") // Plot RSI on chart plot(rsi_val, title="RSI", color=color.red) hline(rsi_lower, title="Oversold Level", color=color.blue)