Skip to content

Destination Bars

v.2.1.0.0

Destination Bars

Overview

Finds runs of bars that all closed the same way - N or more up bars, or down bars, in a row. Each run is wrapped in a capsule that grows with it and deepens in colour the longer it gets, labelled with its length and its move in ticks (for example 9▲ +34t).

Parameters

Parameter Default What it does
Bullish bars period 7 indicates the period of bars to determine the bullish direction
Bearish bars period 7 indicates the period of bars to determine the bearish direction
Show direction on chart On A capsule around each run of N bars or more, with its length and move.
Bullish color olive The colour of an up run's capsule and label.
Bearish color medium purple The colour of a down run's capsule and label.
Label distance (ticks) 4 Ticks between the capsule and its label: over an up run, under a down run.

For strategies

Value Meaning
BullishDirection / BearishDirection 1 while the last N bars all closed up / down, else 0.

Version history

v.2.1.0.0 - October 2026

  • New: run capsules with length and move labels instead of arrows.
Earlier versions

v.2.0.0.0 - October 2026

  • Fixed: one mark per run (it was every bar of a run); drawn directly on the chart - no drawing objects left on it.