Completed Chart Candle
Prices or the average close of completed chart candles, built from contiguous minute data. Stock candles align to the regular trading session.
Completed Chart Candle
Definition
Prices or the average close of completed chart candles, built from contiguous minute data. Stock candles align to the regular trading session.
Parameters
Asset, candle minutes, line (open, high, low, close, sma), candle count, completed-candle offset
Output range: Same scale as price
Example
`ChartBar(AAPL, 5, 'sma', 20, 0)` averages the closes of twenty completed five-minute candles.
Usage notes
Returns no value until sufficient complete candles exist. Missing minutes invalidate the affected history; a forming candle is excluded.
Full indicator reference