Bentrix Docs
HomePricingDashboard

Declared condition

A rule a study states about itself — crosses above 70, price above the band — that alerts and strategies read, and that Bentrix evaluates only on bars that have happened.

Each study declares the conditions it can be asked about: an RSI declares crosses above 30, is above 70 and the like; Bollinger Bands declare price crosses above the upper band; an alligator declares its lines' alignment.

A condition is either an event (it happens on one bar: a crossing) or a state (it holds over a run of bars: above a level).

In Bentrix

The alert editor and the strategy engine read the same declared conditions, evaluated at each bar using only that bar and the ones before it. These Docs' figures show where each condition held over the fixture's bars.

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed