Balance of Power (BOP)
<< Click to Display Table of Contents >> Balance of Power (BOP) |
The balance of power (BOP) indicator measures the strength of the bulls vs. bears by assessing the ability of each to push price to an extreme level.
BOP(int smooth)
BOP(ISeries<double> input, int smooth)
Returns default value
BOP(int smooth)[int barsAgo]
BOP(ISeries<double> input, int smooth)[int barsAgo]
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
input |
Indicator source data (?) |
smooth |
The smoothing period |
// Prints the current value of BOP using default price type and 3 period smoothing |
You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.