ElderRay.BullPower

Calculates the Bull Power Line of the ElderRay indicator.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
periodNumber14-

Returns: Series<Number>

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

12
function ElderRay.BullPower(period):
high[period] - EMA(close, 13)