It is used to define what a "peak" is. Price is constantly moving up and down. The change parameter draws a line in the sand that says that price must rise *at least* "change" percent above the last valley before we're willing to treat it as a new peak.
Be careful with this indicator. It looks into the future. This indicator cannot be used in a backtest without adding a delay to prevent acting on price data that hasn't happened yet. Mike --- In [email protected], "lucianomt" <lucian...@...> wrote: > > What exactly is the second parameter in Peakbars? The manual says Change, but > how exactly does that work? > > SYNTAX peakbars(ARRAY, change, n = 1) >
