Type/to search

Quant Trend Trading Strategy

Cryptocurrency
Created: 2023-09-15 12:25:12
Last modified: 3 years ago
1
Follow
1781
Followers

This strategy integrates multiple indicators including moving averages, range filters, ADX, parabolic SAR, volume-weighted RSI, MACD, and trading volume to construct long and short trading signals. Specifically, the strategy monitors fast line JMA, medium line MACD, slow line ADX, volume-weighted indicator RSI, stop-loss indicator SAR, and range filter at the same time. It only makes trading decisions when trend indicators on multiple timeframes give consistent signals. This filters out some false signals and avoids unnecessary loss trades.

The entry signal conditions include:

  1. Fast line JMA rising and medium line MACD above 0
  2. Slow line ADX +DI line above -DI line, indicating a trending state
  3. SAR below price, giving a bullish signal
  4. RSI above the median line, indicating an overbought state
  5. Price breaking through the upper band of the range filter
  6. Trading volume surging

As long as the above conditions are met at the same time, it indicates that the major trend has entered a bullish state. The strategy will then choose appropriate timing to build up multiple positions for trend tracking.

The take profit conditions also monitor multiple indicators simultaneously, including moving stop loss, volume contraction stop loss, time stop loss, etc. This ensures smooth tracking stop losses, avoiding premature exit or lagging stop loss.

Overall, this multi-indicator integrated quant strategy can fully discover trend opportunities in the market, greatly improving capital allocation efficiency. The strategy optimization space is also very large. Users can adjust the parameter combination according to their own needs to obtain a more reliable trading system.

Of course, this type of trend tracking strategy also carries certain risks, mainly:

  1. Drawdown risk: There may be some drawdown during tracking that requires psychological endurance.

  2. Whipsaw risk: Multiple small stop losses may occur in sideways markets, reducing profitability.

  3. Failed breakout risk: The tracked trend breakout signal may be a false one and needs to be stopped out in time to control losses.

  4. Parameter risk: Improper parameter settings may also lead to poor strategy performance.

  5. Overfitting risk: Excessive optimization for historical data may result in non-universal parameters.

  6. Transaction cost risk: High trading frequency may also have a certain impact on profits.

In summary, by adjusting parameters, this quantitative trend tracking strategy can obtain a stable and efficient trading system worth recommending. But users should also pay attention to controlling trading risks and proper optimization during use for long-term steady gains.

Source
Pine
/*backtest
start: 2023-08-15 00:00:00
end: 2023-09-14 00:00:00
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/
// © XaviZ

//@version=4
Strategy parameters
Strategy parameters
LONG / SHORT
JURIK MOVING AVERAGE
JMA LENGTH
JMA PHASE
JMA POWER
RANGE FILTER
SAMPLING PERIOD
RANGE MULTIPLIER
ORIGINAL AVERAGE DIRECTIONAL INDEX
ADX LENGTH
ADX THRESHOLD
PARABOLIC SAR
SAR STAR
SAR INC
SAR MAX
RSI VOLUME WEIGHTED
RSI LENGHT
RSI CENTER LINE
MOVING AVERAGE CONVERGENCE / DIVERGENCE
MACD FAST LENGTH
MACD SLOW LENGTH
MACD SIGNAL SMOOTHING
UNCONFIRMED FIRST ENTRY 🤞
UNCONFIRMED XL/XS
TAKE PROFIT 1 %
TAKE PROFIT 2 %
TAKE PROFIT FOR PUMPS %
ACTIVATE STOP LOSS
STOP LOSS %
BACKTEST 💹
BACKTEST START YEAR
BACKTEST START MONTH
BACKTEST START DAY
BACKTEST STOP YEAR
BACKTEST STOP MONTH
BACKTEST STOP DAY
CONTRACTS ₿ / CASH $
QUANTITY 1ST TP
QUANTITY 2ND TP
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)