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.

Fetch.AI / TetherUS (FETUSDT)

+ Trailing Sell

@ Daily

2.30

Risk Reward

25,007.26 %

Total ROI

18

Total Trades

Fantom / TetherUS (FTMUSDT)

+ Trailing Sell

@ Daily

1.91

Risk Reward

15,741.01 %

Total ROI

18

Total Trades

Cardano / TetherUS (ADAUSDT)

+ Trailing Sell

@ Daily

1.51

Risk Reward

2,892.04 %

Total ROI

53

Total Trades

Cronos/Tether (CROUSDT)

+ Trailing Sell

@ 4 h

1.48

Risk Reward

1,253.47 %

Total ROI

196

Total Trades

SHIB / TetherUS (SHIBUSDT)

+ Trailing Sell

@ 4 h

1.24

Risk Reward

380.62 %

Total ROI

231

Total Trades

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

Costco Wholesale Corporation (COST)

+ Trailing Sell

@ Daily

2.82

Risk Reward

2,268.18 %

Total ROI

64

Total Trades

Globe Life Inc. (GL)

+ Trailing Sell

@ 5 min

2.80

Risk Reward

67.88 %

Total ROI

19

Total Trades

Constellation Energy Corporation (CEG)

+ Trailing Sell

@ 4 h

2.72

Risk Reward

180.01 %

Total ROI

19

Total Trades

Mastercard Incorporated (MA)

+ Trailing Sell

@ Daily

2.71

Risk Reward

775.86 %

Total ROI

28

Total Trades

Rocket Lab Corporation (RKLB)

+ Trailing Sell

@ 2 h

2.69

Risk Reward

558.39 %

Total ROI

42

Total Trades
Create your account for free to see all 64+ 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.

Guide

How does the Trailing Sell strategy work ?

The "Trailing Sell" strategy uses a trailing stop mechanism, which allows traders to follow price movements upwards in long positions. Initially, when an exit signal is triggered, instead of selling immediately, the strategy monitors the price increase. If the price climbs by a predetermined small percentage, it sells at that point, utilizing stop orders instead of market orders at the candle's start. This method can lead to slight profit improvements in certain trading scenarios.

  • Entry Condition: The strategy opens a long position when the fast moving average (MA) crosses above the slow MA.
  • Exit Condition: The trailing stop mechanism activates upon a price decrease of a set percentage, and the order executes on the next bar's close.
  • Order Types: Traders can switch between limit, stop, and market orders depending on their preference.
  • Adaptability: The strategy allows customization, making it a flexible template for individual modifications.

How to use the Trailing Sell strategy ?

This trading strategy involves taking a long position when a fast moving average (MA) crosses above a slow moving average (MA). The exit strategy varies depending on the order type: either using trailing stop or trailing limit orders, where the strategy adapts to price movements by adjusting the exit point along with the high or low price. This allows the strategy to lock-in profits or minimize losses based on defined percentage parameters.

To trade this strategy manually:

  • Indicators:
    • Add a Simple Moving Average (SMA) with periods 21 (fast) and 49 (slow) on your TradingView chart.
  • Entry Conditions:
    • Go long (buy) when the fast SMA crosses above the slow SMA.
  • Exit Conditions:
    • If using a trailing stop, set a stop-loss that trails the price by a specified percentage (e.g., 3%).
    • If using trailing limit, set a limit-order that rises with the price, allowing for a percentage pullback before exiting.
    • Optionally, exit when the fast SMA crosses back below the slow SMA.
  • Configuration:
    • Configure trailing order percentage according to your risk preferences, e.g., 3% distance from high/low for stop/limit orders respectively.

How to optimize the Trailing Sell trading strategy ?

To enhance the “Trailing Sell” strategy for manual trading, you can adopt a multifaceted approach considering technical indicators, risk management, trade execution, and market conditions. Here’s a detailed plan:

  • Refine Entry Criteria:
    • Combine Indicators: Integrate additional indicators such as Relative Strength Index (RSI) or Stochastic Oscillator to confirm entry signals. This will provide insight into overbought/oversold conditions, helping verify if the MA crossover aligns with momentum.
    • Timeframe Analysis: Use multiple timeframes to confirm trends. For instance, a long position triggered on a 1-hour chart should be validated by an upward trend on a 4-hour chart.
  • Optimize Exit Strategy:
    • Dynamic Trailing Stop: Adjust the trailing stop percentage based on volatility. Utilize the Average True Range (ATR) to set appropriate trailing distances that adapt to market conditions.
    • Partial Exits and Scale-outs: Consider taking partial profits at intermediate targets (e.g., when price moves by a set distance) to secure gains, leaving a remaining portion riding the trend with a trailing stop.
  • Enhance Risk Management:
    • Position Sizing: Adjust position size based on account equity and risk tolerance. Use a fixed percentage of account balance to determine the dollar amount risked per trade.
    • Risk-Reward Ratio: Aim for a favorable risk-reward ratio (e.g., 1:2) by setting defined targets relative to stop-loss levels.
  • Improve Market Condition Awareness:
    • News and Events: Incorporate a fundamental analysis layer by tracking economic calendars and news events to avoid trades during high volatility events.
    • Market Sentiment: Utilize sentiment analysis tools or social media sentiment indicators to gauge the emotional context in the market and adjust strategies accordingly.
  • Execution and Discipline:
    • Evaluate Execution Timing: Manually assess if the automated signals evaluate well with current market volatilities and execute accordingly.
    • Maintain Trading Journal: Keep a detailed trading journal to log trades, review performance, and refine strategy based on historical insights.
    • Routine Adjustments: Regularly review and adjust strategy parameters in response to changing market conditions.

For which kind of traders is the Trailing Sell strategy suitable ?

This strategy caters to traders who prefer a trend-following approach, capitalizing on momentum once a clear trend direction is confirmed. It is best suited for:

  • Intermediate to Advanced Traders: The trailing sell mechanism requires a good understanding of moving averages, stop orders, and volatility adaptations.
  • Active Swing Traders: Those who take positions for several days can benefit, as the SMA crossovers are tailored for medium-term trends.
  • Traders with Moderate Risk Appetite: The strategy involves adjustments based on market volatility, beneficial for those comfortable with a dynamic risk approach.

The trading style involves:

  • Manual Monitoring: While it utilizes a systematic method for entries and exits, traders should still be engaged in monitoring market conditions for optimal adjustments.
  • Technical Analysis Focus: Heavy reliance on technical indicators like SMAs and potentially ATR for exit refinements.

Key Takeaways of Trailing Sell

  • Strategy Overview: A trend-following approach using moving average crossovers to identify long entry points and a trailing mechanism for exits.
  • How it Works: The fast SMA crossing above the slow SMA triggers a buy signal, while the trailing mechanism defines the exit based on percentage price movement.
  • Usage: Can be automated for consistent execution but is often improved by combining alerts with manual market analysis for precision.
  • Enhancing the Strategy: Use additional indicators like RSI or Stochastic for entry confirmations and ATR for dynamic trailing stop distances.
  • Optimizing Trade Execution: Employ multiple timeframes for trend confirmation and refine exit points with partial profits or scale-out strategies.
  • Risk Management: Implement calculated position sizing based on equity and ensure a favorable risk-reward ratio, aiming for a minimum of 1:2.
  • Trader Suitability: Best for intermediate to advanced traders with a moderate risk appetite who engage in active swing trading.
  • Monitoring and Discipline: Requires diligent monitoring of market conditions and maintaining a trading journal to adapt to changing scenarios.
Explore the best Trading & TradingView strategies

Stop trading blindly. Explore the best strategies among 100K+ backtests and improve your trading skills with data.

Start for free