Skip to content
All library documents

Combining SMA Crossovers with TRAMA Signals and Fixed Percentage Exits

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses two separate moving-average signal systems. A short and long simple moving average crossover supplies directional entries, while price crossing a TRAMA line can trigger additional long or short entries. The document describes the SMA periods as 4 and 28, and sets take profit at 2% and stop loss at 1%. The code defines TRAMA through a recursive smoothing calculation, so it behaves as a responsive moving average rather than providing independent confirmation of the SMA crossover.

The text presents multiple signals and fixed exits as risk controls, while warning that ranging markets, price noise, slippage, and trading costs can undermine performance. It suggests volatility-adjusted exits, market filters, volume confirmation, and adaptive parameters as possible refinements. The published settings identify a BTC-USDT futures backtest spanning 2019–2024, but no results are included. The code also permits TRAMA entries independent of SMA crossovers, and its fixed percentage exits may not suit all market conditions.

Key ideas

  • The strategy combines 4-period and 28-period SMA crossovers with price crossings of a smoothed TRAMA line.
  • The described profit target is 2% and the stop loss is 1%.
  • TRAMA crossing signals can initiate positions independently of the SMA crossover system.
  • Ranging conditions, slippage, and trading costs may reduce the usefulness of the signals.
  • The document reports a historical test period but provides no performance measurements.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.