Type/to search

Momentum Trading Strategy Based on Multi-factor Model

Cryptocurrency
Created: 2024-02-04 15:34:49
Last modified: 2 years ago
1
Follow
1789
Followers

img

Overview

This strategy is a momentum trading strategy based on multiple technical indicators. The strategy adopts Bollinger Bands, RSI, ATR and other technical indicators to implement a multi-factor model to quickly judge entry when a trend appears. At the same time, the strategy also adopts stop loss, advanced stop profit and other risk control means to effectively control risks.

Strategy Principle

The trading signals of this strategy mainly come from Bollinger Bands. When the price approaches the lower rail of the Bollinger Bands, it is bullish, and when the price approaches the upper rail, it is bearish. In order to filter false breakouts, the strategy additionally incorporates RSI indicator rules. Only when the RSI indicator also confirms that it is currently in the overbought or oversold area will a trading signal be generated.

In addition, the ATR indicator is used in the strategy to implement stop loss and take profit. Specifically, when opening a position, a purchase price will be recorded. Afterwards, trailing stops will be used based on the ATR indicator value to lock in profits and effectively control risks.

Advantage Analysis

The biggest advantage of this strategy is that by using a multi-factor model to synthesize the market, it can effectively judge the structural opportunities in the market. This avoids false signals from a single indicator. At the same time, the built-in stop loss and advanced stop profit mechanism of the strategy can also effectively control risks and avoid excessive losses.

Risk Analysis

The biggest risk of this strategy is that if there is a violent market reversal, the probability that multiple indicators will generate wrong signals at the same time will be relatively large. This will lead to significant losses for the strategy. In addition, when technical indicators issue signals, it may also be the general consensus of the market, prone to herding effects, and thus being trapped.

In order to reduce these risks, we can appropriately adjust the parameters and choose clearer signals. At the same time, more filtering conditions can be added to avoid making wrong trades near market tops and bottoms.

Optimization Directions

The strategy can be optimized in the following directions:

  1. Add more technical indicators to form a more three-dimensional multi-factor model to improve judgment accuracy

  2. Optimize the stop loss logic and choose different stop loss strategies according to different market stages

  3. Use machine learning and other technologies to dynamically optimize parameters and evaluate signal reliability

  4. Incorporate industry, concepts and other information to form an embedded multi-factor model

Summary

By reasonably applying the idea of ​​a multi-factor model, this strategy captures the direction of the trend very well. At the same time, scientific risk control measures also enable the strategy to profit in a controllable manner. Through continuous optimization, it is expected to further improve the stability and profitability of the strategy.

Source
Pine
/*backtest
start: 2023-01-28 00:00:00
end: 2024-02-03 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=3
// THIS SCRIPT IS MEANT TO ACCOMPANY COMMAND EXECUTION BOTS
// THE INCLUDED STRATEGY IS NOT MEANT FOR LIVE TRADING
// THIS STRATEGY IS PURELY AN EXAMLE TO START EXPERIMENTATING WITH YOUR OWN IDEAS
Strategy parameters
Strategy parameters
main strat profit
Shorts on/off
Flipping on/off -> Go directly from long -> short or short -> long without closing
Stoploss on/off
Stoploss %
Trailing on/off
Trailing use ATR on/off
Multiplier for ATR
Trailing %
backtest date on/off
Backtest Start Year
Backtest Start Month
Backtest Start Day
Backtest Stop Year
Backtest Stop Month
Backtest Stop Day
Color Background?
ATR Length
1 for added ATR when selling
OC2 Length
1 for added OC2 when selling
OC2 multiplayer
DI Length
ADX Smoothing
smoothKRSI
smoothDRSI
lengthRSI
lengthStochRSI
RSI Source
RSI Buy Value
RSI Sell Value
lengthbb
Sourcebb
multbb
BB Buy Value
BB Sell Value
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)