Skip to content
All library documents

Intraday EMA Crossover Entries with Stops and Time-Based Exits

Article Strategy library · Author: ChaoZhang

Summary

This intraday method generates long entries when a fast exponential moving average crosses above a slow one and short entries when it crosses below. The published defaults use lengths of 9 and 15. Entries are restricted to before a configured daily square-off time, and open positions are intended to close at that time when intraday mode is enabled.

The script attaches fixed point-based profit targets and stop losses to entries; it also submits a separate exit using a trailing-stop variable. However, the variable is initialized as missing and its update logic is commented out, so the document does not establish that the advertised trailing stop actually trails price. The text provides no performance measurements or backtest results, despite asserting profitability. It identifies whipsaws, volatility, and the uncertainty of future performance as risks. The published backtest settings specify BTC/USDT futures and a 45-minute period with 5-minute base data, but do not report outcomes.

Key ideas

  • Fast and slow EMA crossovers define potential long and short entries.
  • Entries are limited by a daily cutoff, with an optional intraday square-off.
  • The script specifies fixed point-based take-profit and stop-loss levels.
  • The trailing-stop variable has no active update logic in the provided source.
  • The document gives backtest settings but no evidence of realized strategy performance.

Tags

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