% Generated by roxygen2: do not edit by hand % Please edit documentation in R/indicators.R \name{Resampler} \alias{Resampler} \title{Resample candles to a higher timeframe} \usage{ Resampler(timeframe) } \arguments{ \item{timeframe}{Integer number of input candles per higher-timeframe bar.} } \value{ A \code{wickra_indicator} resampler. } \description{ Aggregates a stream of candles into higher-timeframe bars. Feed candles with \code{\link[=update]{update()}} (it returns a completed higher-timeframe bar, or \code{NULL} while the current bar is still open) and emit the final, still-open bar with \code{\link[=flush]{flush()}}. } \keyword{internal}