Type/to search

PresentTrend Trend Following Strategy

Cryptocurrency
Created: 2023-09-21 15:00:08
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

The PresentTrend strategy is a unique custom trend-following strategy. This combination allows the strategy to take advantage of both short-term and long-term market trends, making it suitable for various market conditions.

How it Works

The strategy consists of two parts:

  1. Custom RSI or MFI indicator: This indicator calculates a PresentTrend value based on RSI or MFI, generating buy and sell signals based on its crossover and crossunder, indicating potential trend reversals.

  2. ATR indicator: A popular trend-following indicator using Average True Range (ATR).

The strategy enters a long position when all buy signals from both strategies are true, and a short position when all sell signals are true. This ensures trades are entered only when both short-term and long-term trends align, potentially increasing the strategy's reliability.

Advantages

  • Combines short-term and long-term trends, adaptable to different market conditions
  • Uses custom indicator and ATR for increased signal reliability
  • Option for long-only, short-only or dual direction trading suits different trading styles
  • Default parameters optimized for balance of sensitivity and stability
  • Parameters can be adjusted based on personal preference for optimization

Risks and Solutions

  • Vulnerable to whipsaws like all trend-following strategies
  • Dual direction trading can increase number of trades and fees
  • Poor parameter tuning may generate excessive false signals
  • Can use shorter holding periods to reduce whipsaw risk
  • Option for long or short only reduces number of trades
  • Parameters should be thoroughly tested and tuned to ensure viability

Optimization Directions

  • Add stop loss mechanisms for better loss control
  • Filter signals with additional indicators to reduce false trades
  • Test different holding period parameters to find optimum
  • Explore machine learning for automated parameter optimization
  • Incorporate more data sources like order flow information
  • Optimize strategy code for improved execution efficiency

Conclusion

Overall, the PresentTrend strategy is a highly effective trend-following system. It combines short-term and long-term trend indicators to be sensitive while improving signal reliability. With adjustable direction, parameters, and additional logic, the strategy can adapt to different market environments and trader needs. While inherent trend-following risks remain, PresentTrend is a compelling option worth considering.

Source
Pine
/*backtest
start: 2023-08-21 00:00:00
end: 2023-09-20 00:00:00
period: 2h
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/
// © PresentTrading

//@version=5
Strategy parameters
Strategy parameters
Trade Direction
PresentTrend
Source
Length
Multiplier
Whether to use RSI or MFI
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)