Fast Scalping with EMA Crossovers and Fixed and Trailing Stops
Summary
This short-term strategy uses crossovers between a 5-period and a 13-period exponential moving average to trigger long and short entries. On entry, it places a stop at a fixed percentage from the signal-bar close and specifies a trailing distance based on another percentage of that close, converted into instrument ticks. It also sends a direction-specific alert once per bar close. The script plots both averages and sizes orders as a percentage of equity.
The page description mentions MACD, but the provided code contains no MACD calculation or filter; its signals come only from the EMA crossover. No backtest results, trading costs, slippage assumptions, or evidence of scalping performance are provided. The stop and trail parameters are fixed proportions of price, so their practical distance varies with the instrument’s price and volatility. The document does not explain trade frequency controls, session restrictions, or position-risk limits beyond the stated order sizing.
Key ideas
- A fast and slow EMA crossover generates long and short signals.
- Entries include a percentage-based stop and a trailing distance converted to ticks.
- The strategy sends alerts at bar close and sizes orders as a share of equity.
- Although the page description mentions MACD, the supplied code uses no MACD logic.
- No performance evidence, trading costs, or slippage assumptions are given.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.