Indicator Spec
data class IndicatorSpec(val name: String, val inputKind: IndicatorInput, val arity: Int, val seriesCount: Int = 1, val requiresVolume: Boolean = false, val factory: (List<BigDecimal>) -> IndicatorOutput)
One registered DSL indicator: its uppercase name, the inputKind it consumes, its call arity including the series arguments, and the factory that builds a runtime instance from the constant arguments.
Constructors
Link copied to clipboard
constructor(name: String, inputKind: IndicatorInput, arity: Int, seriesCount: Int = 1, requiresVolume: Boolean = false, factory: (List<BigDecimal>) -> IndicatorOutput)