Skip to content
All library documents

A Smoothed Bear-Bull Power Indicator Displayed as Candlesticks

Article MQL5 code base

Summary

This indicator presents Bear-Bulls-Power calculations as colored candlesticks derived from open, high, low, and close price series. Candle color distinguishes rising from falling bars, while brighter and paler shades distinguish whether the close has risen or fallen relative to the preceding candle. The design therefore adds a visual cue about the direction of the indicator and changes in closing values.

The implementation exposes two smoothing stages, each with a selectable method and depth, plus smoothing parameters, a maximum gap size for omitted bars, and a horizontal shift. It relies on a separate smoothing-algorithm library. The document explains the display conventions and inputs, but gives no entry or exit rules, backtest, or evidence that the colors predict returns. Traders would need to define and validate any trading use independently; smoothing choices can also alter how quickly the display responds to price changes.

Key ideas

  • The indicator maps Bear-Bulls-Power values derived from OHLC prices into colored candlesticks.
  • Color brightness indicates whether the close moved up or down relative to the prior candle.
  • Two configurable smoothing stages affect the indicator’s calculation and response.
  • The document describes visualization and settings but provides no tested trading rules or performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.