ElderRay.BearPower

Calculates the Bull Power Line of the ElderRay indicator.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
periodNumber14-

Returns: Series<Number>

ElderRay.BearPower is a built-in function - you can use it directly. Below is an example implementation:

12
function ElderRay.BearPower(period):
low[period] - EMA(close, 13)