Skip to content
All library documents

Multi-Asset Crypto Futures Breakouts Using EMA and ATR Bands

Article Strategy library · Author: 发明者量化-小小梦

Summary

This educational strategy applies an exponential moving average to typical price and adds or subtracts a multiple of Average True Range to form upper and lower bands. A close crossing above the upper band opens a long position; a close crossing below the lower band opens a short. Positions can be closed at the central EMA or when a percentage stop based on entry price is reached. The code is structured to run the same logic across configured futures instruments, with per-instrument parameters.

The published configuration uses daily signals for ETH and LTC perpetual futures over a stated historical interval, with a shorter base period for data updates. It offers a concrete indicator and position-management example, but reports no returns, drawdowns, or comparison against a benchmark. The article presents it as a teaching implementation, and the supplied parameter values are examples rather than evidence of robust settings. The code also relies on a trading library for order handling, so its sizing and execution behavior depend partly on that library.

Key ideas

  • The strategy builds upper and lower price bands around a typical-price EMA using ATR.
  • A close above the upper band signals a long, while a close below the lower band signals a short.
  • Positions may exit at the central EMA or at a percentage stop from entry.
  • Per-instrument settings allow the logic to be applied across multiple crypto futures markets.
  • The document supplies a backtest configuration but no performance results.

Tags

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