Skip to content

charton API


charton API / @chart-on/ta / balanceOfPowerBar

Function: balanceOfPowerBar() ​

balanceOfPowerBar(open, high, low, close, i): number

Defined in: oscillators.ts:222

Balance of power of one bar, unsmoothed (so not a single-bar form of balanceOfPower, which averages it): (close - open) / (high - low), -1 to 1; 0 for a bar without range.

Parameters ​

open ​

Series

high ​

Series

low ​

Series

close ​

Series

i ​

number

Returns ​

number