Evaluates the Balance of Power (BOP) indicator, created by Igor Livshin; which captures the struggle between the Bulls and Bears over a number of trading periods.
An array is returned where the first term corresponds to the BOP of the last trading period, the second term gives the BOP on the previous trading period and so on.
An array is returned where the first term corresponds to the BOP of the last trading period, the second term gives the BOP on the previous trading period and so on.
The BOP indicator for each trading period lies within the range [-1,1].
When the BOP indicator is towards the high if its range it will signifies that the
Bulls are in control, conversely when the indicator is towards the lows of its range
it signifies that the bear are in control. If the indicator move from a high positive
range to a lower positive range it signifies that the buying pressure is decreasing.
Conversely, if the indicator move from a low negative range to a higher negative range
it signifies that the selling pressure is decreasing.
The BOP indicator for each trading periods is evaluated by the following formulae:BOP = (Close - Open)/(High - Low),
where Close is the periods closing price, Open is the periods opening
price, High is the highest traded price during the period and Low
is the lowest traded price during the period.
| Exception Type | Condition |
|---|---|
| ArgumentException | Thrown if any elements from the arrays high, low, close or open are strictly negative, or if the length of these arrays are not equal. |
MarketStrength Class | WebCab.COM.Finance.Trading.Indicators Namespace | BalanceOfPower - evaluates the Balance of Power (BOP) indicator for a single trading period.