Skip to content
All library documents

Shifted Moving-Average Bands for Limit-Order Entries

Article Strategy library · Author: ChaoZhang

Summary

This strategy constructs two price levels around a simple moving average: a lower band for long limit entries and an upper band for short entries. The band offsets are configurable, and the rules also include a date cutoff that closes open positions after the selected end date. The document discusses using stop exits, widening the band in consolidating conditions, and the possibility that limit orders may miss trades.

The supplied Pine Script source and published settings describe BTC_USDT futures over a one-week period on a one-minute interval. The description characterizes the method as trend and breakout trading, but the source places a long limit order at the lower level and a short limit order at the upper level; it does not clearly implement the claimed breakout-trigger behavior or a stop-loss exit. No performance statistics are provided. The brief test configuration and source-rule discrepancies limit what can be concluded about strategy behavior or effectiveness.

Key ideas

  • A simple moving average is shifted by configurable percentages to form upper and lower entry levels.
  • The source places limit orders for long entries at the lower level and short entries at the upper level.
  • A date cutoff closes positions after the chosen end date.
  • The published description mentions stop exits, but the supplied source does not show a stop-loss rule.
  • The document gives backtest settings but no reported results.

Tags

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