iBullsPower Indicator

Calculates the Bulls Power indicator and returns its value.

Function Signature

double iBullsPower(string symbol, int timeframe, int period, int applied_price, int shift);

Parameters

  • **symbol** (string): Symbol name. NULL for the current symbol.
  • **timeframe** (int): Timeframe. ENUM_TIMEFRAMES value. 0 for the current chart timeframe.
  • **period** (int): Averaging period for calculation.
  • **applied_price** (int): Applied price. ENUM_APPLIED_PRICE value.
  • **shift** (int): Index of the value taken from the indicator buffer (shift relative to the current bar).
  • Returned Value

  • **double**: Numerical value of the Bulls Power indicator.
  • Example

    double val = iBullsPower(NULL, 0, 13, PRICE_CLOSE, 0);
    

    Related Indicators

  • [iBandsOnArray](/indicators/ibandsonarray)
  • [iCCI](/indicators/icci)