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 days.
|Visual Basic (Declaration)|| |
Public Overloads Shared Function BalanceOfPowerOverPeriod( _
ByVal seriesName As String, _
ByVal s As Series _
) As Series
- The name of the series which will be displayed on the chart, i.e. its label.
- A series where the first element is the high in the last trading period, the second
term is the high in the previous period and so on.
A series is returned where the first term corresponds to the BOP of the last trading day,
the second term gives the BOP on the previous trading day and so on.
|ArgumentException||Thrown if any elements from the highs, lows, closes or
opens are strictly negative.|