• One TPO profile over all of bars, a period every periodBars bars. A periodBars below 1 counts as 1; otherwise the arguments are taken as given: a tickSize that is not a positive finite number gives an empty profile, and valueAreaPercent is a fraction that is not clamped.

    Parameters

    • bars: readonly Bar[]
    • periodBars: number
    • tickSize: number
    • valueAreaPercent: number = 0.7
    • ibPeriods: number = 2

    Returns TpoResult