Type/to search

Rate of Change Quantitative Strategy

Cryptocurrency
Created: 2023-12-12 15:56:56
Last modified: 3 years ago
1
Follow
1782
Followers

img

Overview

This strategy uses the Rate of Change (ROC) indicator to determine market direction and generate trading signals. The core idea of the strategy is to follow long-term trends and outperform the market by taking on greater risk.

Strategy Logic

Entry Rules

  • Go long if ROC>0; go short if ROC<0. Use the positive/negative of ROC to judge market direction.
  • To filter out volatility, only issue trading signals if ROC stays on the same side for two consecutive days.

Stop Loss

A 6% stop loss is set. When stop loss is triggered, reverse position. This indicates we may be on the wrong side of the market so we exit immediately.

Anti-Bubble Mechanism

If ROC goes above 200, market is considered a bubble. When ROC falls back below bubble territory, go short signal is triggered. Require the bubble persists for at least 1 week.

Money Management

Use fixed position sizing + incremental method. Increase/decrease position by $200 for every $400 gain/loss. This allows us to pyramid profits but also increases drawdown.

Advantage Analysis

Advantages of this strategy:

  1. Adheres to trend following philosophy so likely to produce long term positive returns.
  2. Use stop loss to control risk and reduce short term volatility.
  3. Anti-bubble mechanism avoids chasing tops.
  4. Fixed position + incremental method creates exponential growth in uptrends.

Risk Analysis

Some risks also exist:

  1. ROC indicator prone to whipsaws which generates false signals. Consider combining with other indicators for filtering.
  2. Trading costs not considered which lowers actual returns.
  3. Poor anti-bubble parameter tuning also misses trends.
  4. Incremental sizing increases drawdown when losing.

Optimization Directions

Some ways to optimize the strategy:

  1. Add other indicators to filter signals, such as MA, Volatility etc.
  2. Optimize anti-bubble parameters for better bubble detection.
  3. Adjust fixed position and incremental ratios for better risk/reward balance.
  4. Add automatic stop loss when large loss occurs.
  5. Consider trading costs and set entry rules accordingly.

Conclusion

In summary, this is a long term trend following strategy centered around the ROC indicator. It aims to generate alpha by taking on higher risk. Further optimizations can improve its viability. The key is finding suitable risk tolerance.

Source
Pine
/*backtest
start: 2022-12-05 00:00:00
end: 2023-12-11 00:00:00
period: 1d
basePeriod: 1h
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/
// © gsanson66

Strategy parameters
Strategy parameters
Technical parameters
ROC Length
ROC Bubble signal
Risk Management
Stop Loss (in %)
Money Management
Fixed Ratio Value ($)
Increasing Order Amount ($)
Backtesting Period
Start Date
End Date
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)