Skip to content

charton API


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 ​

Series

high ​

Series

low ​

Series

close ​

Series

length ​

number

out? ​

Brar

Returns ​

Brar