dotnetCHARTING Send comments on this topic.
BalanceOfPowerOverPeriod(String,Series) Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class > BalanceOfPowerOverPeriod Method : BalanceOfPowerOverPeriod(String,Series) Method


seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
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.
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.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function BalanceOfPowerOverPeriod( _
   ByVal seriesName As String, _
   ByVal s As Series _
) As Series
Visual Basic (Usage)Copy Code
Dim seriesName As String
Dim s As Series
Dim value As Series
 
value = FinancialEngine.BalanceOfPowerOverPeriod(seriesName, s)
C# 
public static Series BalanceOfPowerOverPeriod( 
   string seriesName,
   Series s
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
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.

Return Value

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.

Exceptions

ExceptionDescription
ArgumentExceptionThrown if any elements from the highs, lows, closes or opens are strictly negative.

Remarks

An array 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.

Interpretation

The BOP indicator for each trading day 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.

Evaluation

The BOP indicator for each trading days is evaluated by the following formulae:

BOP = (Close - Open)/(High - Low)

where close is the days closing price, open is the days opening price, high is the highest traded price during the day and low is the lowest traded price during the day.

See Also

© 2018 All Rights Reserved.