charton API / @chart-on/ta / brar
Function: brar()
brar(
open,high,low,close,length,out?):Brar
Defined in: ratios.ts:44
BRAR: AR compares how far each bar rose above its open with how far it fell below, summed over length bars; BR does the same against the previous close. Both in percent; 100 is balance. NaN while a window's downside sum is 0. Lookback length (AR starts a bar earlier).
Parameters
open
high
low
close
length
number