Single Exponential Smoothed Moving Average with Trailing Stop Loss Trend Following Strategy
Overview
This strategy combines Single Exponential Smoothed Moving Average (SESMA) and a trailing stop loss mechanism with the Chandelier Exit to form a very stable and efficient trend following strategy. SESMA serves as the main line to identify the trend direction of prices. The trailing stop loss mechanism can effectively reduce the risk of the strategy while protecting profits.
Strategy Logic
The strategy consists of two core indicators:
-
Single Exponential Smoothed Moving Average (SESMA): SESMA draws on the idea of EMA and improves the parameters to make the curve smoother and reduce lag. It uses the direction and level of SESMA to judge price trends.
-
Trailing stop loss mechanism: Combined with highest price, lowest price and ATR indicator to calculate long and short stop loss lines in real time. It is a dynamic adjustable stop loss mechanism that can adjust stop loss range based on market volatility and trends. The relationship between stop loss line and price level is used to determine the timing of exit orders.
The entry signal of this strategy is triggered when price crosses over SESMA. The exit signal is generated by the stop loss lines. Option to show entry/exit markings.
Advantages of the Strategy
- The SESMA calculation method is improved and can effectively reduce lag and improve trend-following ability.
- The trailing stop loss mechanism can adjust the stop loss range according to real-time fluctuations to avoid excessively wide or too tight stop loss.
- Comes with visual assistances to mark Entry and Exit signals.
- Customizable parameters suitable for different products and parameter optimizations.
Risks and Optimization Directions
- Stop loss may be triggered prematurely during trend reversals. Can appropriately loosen the stop loss range.
- SESMA parameters can be optimized to find the best length.
- The period parameter of ATR can also be tested.
- Test the effects of showing markings.
Conclusion
This strategy integrates trend judging and risk control indicators to form a relatively robust trend following strategy. Compared to simple moving average strategies, this strategy can capture trends more flexibly while reducing drawdowns. Through parameter optimization, the strategy can achieve better results in different markets.
- 1

