Back to builder reference
Condition
trend_ma_relationgate
MA spread (fast vs slow, >0 = uptrend)
Category
Trend
Discriminator
type = "trend_ma_relation"
Roles
gate
Required fields
FieldTypeDescription
opreqenum: >, >=, <, <=, between, ==, !=-Optional fields
FieldTypeDescription
ma_fastinteger-ma_slowinteger-modeenum: level, crossFiring mode. 'level' (default) = true every bar the EMA difference comparison holds. 'cross' = edge, fires once on the bar the difference first crosses the threshold in the op direction.typestring-valuenumber-