Skip to content
All library documents

EMA Crossover Strategy with Volume, Capped Risk, and Timed Exit

Article Strategy library · Author: chinmayp5394

Summary

This intraday strategy enters when a fast EMA crosses both medium and slower EMAs, provided current volume exceeds its moving average. It takes long or short positions on bullish or bearish alignment changes and closes an opposing position when a new signal appears. The signal candle's high or low anchors the initial stop, while a percentage risk cap limits the calculated stop distance relative to entry. A target is placed at a risk multiple that depends on the signal candle's size.

The strategy also closes all positions at a configurable hour and minute and includes alerts for entry signals. The excerpt does not include backtest results, market details, or enough context to establish how the stop and risk calculations behave in all cases. In particular, the stop distance is capped, but the code shown does not adjust position quantity to enforce a fixed account-level loss. EMA crossovers and volume filters can lag or generate false signals, and the timed exit depends on the chart's time settings.

Key ideas

  • Entries require a fast EMA to cross both slower averages while volume is above its average.
  • Signal-candle extremes define stop references, with a percentage cap on calculated price risk.
  • Profit targets use a risk multiple selected according to signal-candle size.
  • A configured time of day closes all open positions, and entry conditions can trigger alerts.
  • No performance results or market-specific validation are provided in the excerpt.

Tags

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