logo
Developers

Trailing Sell

Script from: TradingViewLongTermTrend followingMomentum

This strategy demonstrates how to execute a trailing sell. Upon an exit signal, rather than selling immediately, it follows the price upward for longs, selling when the price drops by a small percentage. The order executes when the next bar closes. It may slightly increase profits. Improvements include using stop orders instead of market orders for trailing and refining entry/exit signal handling, among other updates.

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ 4 h

10.70

Risk Reward

51,446.88 %

Total ROI

106

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ 4 h

9.80

Risk Reward

1,249.91 %

Total ROI

18

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ 4 h

4.77

Risk Reward

6,471.42 %

Total ROI

91

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ 4 h

4.74

Risk Reward

466.24 %

Total ROI

19

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

4.10

Risk Reward

538.62 %

Total ROI

20

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.98

Risk Reward

65.00 %

Total ROI

31

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.80

Risk Reward

2,312.67 %

Total ROI

89

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.14

Risk Reward

1,654.03 %

Total ROI

174

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.10

Risk Reward

398.00 %

Total ROI

53

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.02

Risk Reward

4,119.97 %

Total ROI

36

Total Trades

Broadcom Inc. (AVGO)

+ Trailing Sell

@ Daily

2.99

Risk Reward

548.65 %

Total ROI

31

Total Trades

Costco Wholesale Corporation (COST)

+ Trailing Sell

@ Daily

2.82

Risk Reward

2,268.18 %

Total ROI

64

Total Trades
Create your account for free to see all 68+ backtests

Access filters, details, best timeframes, explore 100K+ backtests and more

Active Trades

Create your account to see on which symbols Trailing Sell is currently trading on.

Trailing Sell backtest statistics

Aggregated across every validated backtest TradeSearcher has run on this strategy. Figures update automatically as new backtests are added — they are not edited by hand. Classified as long-term by holding period.

68
Backtests run
2.2
Avg profit factor
>1,000%
Avg net profit
+27%
Avg annualized return
49%
Avg max drawdown
0.16
Avg Sharpe ratio

On average, backtests of this strategy lagged a buy-and-hold baseline by >1,000% over the same window.

Performance by asset class

MarketBacktestsAvg profit factorAvg net profitAvg max drawdownAvg Sharpe
Crypto561.3>1,000%71%0.14
Stocks7292.5>1,000%43%0.17
Forex671.8+134%18%0.14

Backtests use the validated-universe filter: non-repainting scripts, over 15 trades, non-excluded. Per-market rows appear only when at least one backtest exists for that asset class.

Explore the best Trading & TradingView strategies

Stop trading blindly. Explore quality-gated backtests and improve your trading skills with data.

Start for free