Type/to search

Best Trailing Stop Strategy

Cryptocurrency
Created: 2023-09-21 20:58:22
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This strategy uses a trailing stop loss mechanism to move the stop loss dynamically based on price fluctuation range, achieving dynamic stops. The trailing stop is activated after price reaches a profit target, aiming to protect profits while avoiding premature stop outs. It improves on common stop loss strategies.

Strategy Logic

The strategy enters based on double MA crossovers judging trend direction.

The innovation lies in the stop loss design:

  1. A stop trigger line is set. Trailing stop starts after price breaks this line.

  2. The stop loss line trails based on the Percentage parameter. E.g. 3% trailing means 3% below latest low.

  3. Position is closed when price reverses to touch the trailing stop loss line.

This ensures the stop will trail profits automatically, while reducing the chance of stopping out when profit is still good.

Advantages

  • Percentage-based automatic trailing stop
  • Trigger line avoids premature activation
  • Dynamic trailing protects profits
  • Avoids stopping out due to short retracements
  • Trigger line and percentage adjustable to markets

Risks

  • MA crossover may lag, generating false signals
  • Improper trigger line settings causes premature or late activation
  • Improper percentage settings gives too wide or tight stops
  • Cannot fully avoid whipsaw risks
  • Parameters need optimizing for market volatility

Risks can be reduced by:

  • Optimizing MA periods for better entries
  • Testing different trigger values for best positioning
  • Backtesting ideal percentages based on historical drawdowns
  • Considering re-entries to avoid missing trends
  • Adding filters to avoid false breakouts

Enhancement Directions

The strategy can be improved by:

  1. Optimizing the double MA periods

  2. Optimizing or removing trigger line

    Directly start trailing or use different values for different products

  3. Testing different trailing percentage values

    Find optimal values for different products

  4. Adding re-entry rules

    Set re-entry conditions after stops are hit

  5. Adjusting stop strictness by volatility

    Wider stops in increased volatility environments

Summary

This strategy uses a trailing percentage stop with a trigger line before activating. This dynamic mechanism balances protecting profits and avoiding unnecessary stops based on market movements. But parameters need optimization for different products, plus additional filters on entries to improve accuracy. Re-entries also help avoid missing trends after stopping out prematurely. Continuous improvements are needed for adaptivity.

Source
Pine
/*backtest
start: 2022-09-14 00:00:00
end: 2023-09-20 00:00:00
period: 2d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
//@author=Daveatt

SystemName = "BEST Trailing Stop Strategy"
Strategy parameters
Strategy parameters
Use stop Loss
Trail Loss (%)
Use stop Loss Trigger
SL Trigger (%)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)