Type/to search

Quantitative Trading Strategy Based on TRSI and SUPER Trend Indicators

Cryptocurrency
Created: 2023-12-15 16:05:51
Last modified: 2 years ago
1
Follow
1779
Followers

img

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

  1. Calculate the TRSI indicator to determine whether the market is in an overbought or oversold state, and issue buy and sell signals
  2. Use the Super Trend indicator to filter out noise signals and confirm the underlying trend
  3. 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:

  1. Multi-indicator combination improves signal accuracy. TRSI determines timing and Super Trend filters direction.
  2. Applicable to medium and long term trend trading. Overbought and oversold signals tend to form trend reversals.
  3. 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:

  1. Medium-to-long-term trading fails to capture short-term trading opportunities.
  2. Improper TRSI parameter settings may miss overbought and oversold zones.
  3. Improper Super Trend parameter settings may issue wrong signals.
  4. Excessively large stop loss space fails to effectively control risks.

To address these risks, we can optimize from the following aspects:

Optimization Directions

  1. Incorporate more short-term indicators to identify more trading opportunities.
  2. Adjust TRSI parameters to narrow the error interval.
  3. Test and optimize Super Trend parameters.
  4. 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.

Source
Pine
/*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"])
Strategy parameters
Strategy parameters
Strategy Direction
length
overSold
overBought
HTF
SuperTrend Multiplier
SuperTrend Period
stop loss
qty_percent1
qty_percent2
qty_percent3
Take profit1
Take profit2
Take profit3
Take profit4
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)