Skip to content
All library documents

Moving Average Percentage Envelopes for Long Entries and Exits

Article Strategy library · Author: ChaoZhang

Summary

The Dynamic Channel Percentage Envelope strategy places upper and lower percentage bands around a simple or exponential moving average. Its rules open a long position when the selected price source crosses upward through the lower band and close that position when price crosses upward through the moving average. The document gives a default moving average length of 10 and channel width of 10%, with the ability to change the price source and average type.

The accompanying code and published test settings describe a BTC/USDT futures configuration over a stated period, but no backtest results are reported. The strategy is long-only and does not include a stop-loss rule in the shown logic. The text warns that false breaks, moving-average lag, parameter sensitivity, and frequent signals can hurt performance, especially in choppy conditions. Suggested extensions include volatility-adjusted channel widths, additional signal filters, and improved position and exit management.

Key ideas

  • A percentage envelope is formed above and below a selected moving average.
  • A long entry occurs when price crosses upward through the lower band, and an exit occurs on an upward cross of the basis.
  • The baseline can use a simple or exponential moving average, and the price input is configurable.
  • The displayed rules are long-only and specify no stop-loss mechanism.
  • The document gives backtest settings but reports no performance results.

Tags

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