Back to builder reference
Condition
band_distanceentryexitgate
Price distance from band (z-score or band multiple). Example band: {"band":"bollinger","length":20,"mult":2}
Category
Bands
Discriminator
type = "band_distance"
Roles
entry, exit, gate
Required fields
FieldTypeDescription
bandreqBandSpec-modereqenum: z, band_mult-sidereqenum: away_upper, away_lower-threshreqnumber-Optional fields
FieldTypeDescription
firingenum: level, crossFiring mode. 'level' (default) = true every bar the distance threshold holds. 'cross' = edge, fires once on the bar price first moves beyond the threshold distance from the band.typestring-