Quantitative Trading Strategy Based on TRSI and SUPER Trend Indicators
Overview
This strategy combines the Relative Strength Index (TRSI) and Super Trend indicators to form a relatively complete quantitative trading strategy. It is mainly used to capture medium-to-long-term trends, while using short-term indicators to filter out noise trading signals.
Strategy Logic
- Calculate the TRSI indicator to determine whether the market is in an overbought or oversold state, and issue buy and sell signals
- Use the Super Trend indicator to filter out noise signals and confirm the underlying trend
- Set stop loss and take profit points at different stages of profitable positions
Specifically, the strategy first calculates the TRSI indicator to judge whether the market has entered the overbought or oversold zone, and then calculates the Super Trend indicator to determine the major trend direction. Trading signals are issued by combining the two. Stop loss and take profit points are then set to withdraw different proportions of funds at different stages of profitability.
Advantage Analysis
This strategy has the following advantages:
- Multi-indicator combination improves signal accuracy. TRSI determines timing and Super Trend filters direction.
- Applicable to medium and long term trend trading. Overbought and oversold signals tend to form trend reversals.
- Stop loss and take profit settings are reasonable, withdrawing different proportions of funds at different profitability stages to effectively control risk.
Risk Analysis
This strategy also has some risks:
- Medium-to-long-term trading fails to capture short-term trading opportunities.
- Improper TRSI parameter settings may miss overbought and oversold zones.
- Improper Super Trend parameter settings may issue wrong signals.
- Excessively large stop loss space fails to effectively control risks.
To address these risks, we can optimize from the following aspects:
Optimization Directions
- Incorporate more short-term indicators to identify more trading opportunities.
- Adjust TRSI parameters to narrow the error interval.
- Test and optimize Super Trend parameters.
- Set floating stop losses to track stop loss lines in real time.
Summary
This strategy integrates multiple indicators such as TRSI and Super Trend to form a relatively complete quantitative trading strategy. It can effectively identify medium-to-long-term trends while setting stop loss and take profit to control risks. There is still much room for optimization, with subsequent improvements possible in areas like improving signal accuracy and identifying more trading opportunities. Overall, this is a good starting point for a quantitative strategy.
/*backtest
start: 2022-12-14 00:00:00
end: 2023-11-26 05:20:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
strategy(title = "SuperTREX strategy", overlay = true)
strat_dir_input = input(title="Strategy Direction", defval="long", options=["long", "short", "all"])- 1

