Bears Power
Bears Power compares the lowest price with an EMA to estimate the strength of sellers.
Role in the strategy
| Slot | Available | Role |
|---|---|---|
| Entry Point | No | — |
| Entry Rule | Yes | Filters entries by the Bears Power direction or its level position. |
| Exit Point | No | — |
| Exit Rule | Yes | Triggers 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:
| Rule | Long signal is 1 when | Short signal is 1 when |
|---|---|---|
| Bears Power rises | Bears Power rose on the previous bar | Bears Power fell on the previous bar |
| Bears Power falls | Bears Power fell on the previous bar | Bears Power rose on the previous bar |
| Bears Power is higher than the Level line | Bears Power is above Level | Bears Power is below −Level |
| Bears Power is lower than the Level line | Bears Power is below Level | Bears Power is above −Level |
| Bears Power crosses the Level line upward | Bears Power crossed above Level from below | Bears Power crossed below −Level from above |
| Bears Power crosses the Level line downward | Bears Power crossed below Level from above | Bears Power crossed above −Level from below |
| Bears Power changes its direction upward | Bears Power formed a valley (down then up) | Bears Power formed a peak (up then down) |
| Bears Power changes its direction downward | Bears 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
| Parameter | Type | Default | Range | Purpose |
|---|---|---|---|---|
| Period | number | 13 | 1 to 1000 | Period of the EMA of the close price |
| Level | number | 0 | −100 to 100 | Long 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.