Bears Power

Bears Power compares the lowest price with an EMA to estimate the strength of sellers.

Role in the strategy

SlotAvailableRole
Entry PointNo—
Entry RuleYesFilters entries by the Bears Power direction or its level position.
Exit PointNo—
Exit RuleYesTriggers exits by the Bears Power direction or its level position.

The Bears Power produces conditions, not order prices. As an entry rule it is ANDed with the entry point and the other entry rules; as an exit rule it is ORed with the other exit rules. See Indicators for the slot semantics.

Logic rules

The indicator offers the standard oscillator rule set, evaluated on the Bears Power value:

RuleLong signal is 1 whenShort signal is 1 when
Bears Power risesBears Power rose on the previous barBears Power fell on the previous bar
Bears Power fallsBears Power fell on the previous barBears Power rose on the previous bar
Bears Power is higher than the Level lineBears Power is above LevelBears Power is below −Level
Bears Power is lower than the Level lineBears Power is below LevelBears Power is above −Level
Bears Power crosses the Level line upwardBears Power crossed above Level from belowBears Power crossed below −Level from above
Bears Power crosses the Level line downwardBears Power crossed below Level from aboveBears Power crossed above −Level from below
Bears Power changes its direction upwardBears Power formed a valley (down then up)Bears Power formed a peak (up then down)
Bears Power changes its direction downwardBears Power formed a peak (up then down)Bears Power formed a valley (down then up)

The Level parameter sets the long threshold; the short threshold is always −Level.

Parameters

ParameterTypeDefaultRangePurpose
Periodnumber131 to 1000Period of the EMA of the close price
Levelnumber0−100 to 100Long threshold; the short threshold is −Level

Calculation

tech.BearsPower in engine/indicator-engine/tech.ts computes Bears Power = Low − EMA(Close, Period). The line is drawn in a separate chart pane; negative values mark selling pressure.

Backtesting

  • The rule is evaluated on the previous (closed) bar with the standard dead zone (SIGMA = 0.000001).
  • The indicator contributes only long/short signal arrays — it never changes the entry or exit order price.
  • An entry happens only when the entry point allows the direction and every entry rule passes; an exit happens when the exit point is reached and any exit rule passes.