Fibonacci Step Indicator
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Sofien-Kaabar

//@version=5
indicator("Fibonacci Step Indicator", overlay = true)

lower_fibonacci_step = (low[2]  + low[3]  + low[5]  + low[8]  + low[13]  + low[21] +  low[34] +  low[55] +  low[89] +  low[144] +  low[233] +  low[377])  / 12
upper_fibonacci_step = (high[2] + high[3] + high[5] + high[8] + high[13] + high[21] + high[34] + high[55] + high[89] + high[144] + high[233] + high[377]) / 12

plot(ta.lowest(lower_fibonacci_step, 13), color = color.orange)
plot(ta.highest(upper_fibonacci_step, 13), color = color.blue)
