Skip to content
All library documents

Using Close-Series Counts to Manage Short-Term Trend Trades

Article ProRealCode

Summary

The Close Series indicator counts consecutive bars in three categories: closes within the previous bar’s range, opens beyond the previous bar’s high or low, and bars that close in the same direction as the prior bar. The author interprets long internal-close runs as sideways or “creeping” movement that may precede a breakout, while runs of external or same-direction bars may mark the end of a short-term trend. The indicator is intended to complement other tools, especially on higher timeframes.

The guidance suggests defending or closing a position after several external closes, and also gives a broader threshold for acting after a longer run of closes. These are heuristics, not validated signals: the document supplies no backtest or performance evidence and explicitly says the patterns do not establish a reversal. There is also a terminology mismatch between the prose, which describes external closes by closing price, and the code, which counts opens outside the previous bar’s range. That implementation detail should be checked before use.

Key ideas

  • The indicator tracks consecutive internal closes, outside opens, and bars closing in the same direction as the prior bar.
  • A long internal-close sequence is interpreted as consolidation that could precede a breakout.
  • Several external or directionally aligned bars are presented as reasons to protect or exit a short-term position.
  • The patterns indicate possible trend exhaustion, not a confirmed reversal.
  • The code’s definition of external bars differs from the prose description and needs verification.

Tags

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