Lenght - A number for the calculation
Show - Show/Hide lines
Fib Factor - Fib level for the breakout confirmation. For example if new high larger than old high to low fib 1+fib_factor when the down trend then it's a breakout.
- Added alert to msb
- Added timeframe option. You can only select current timeframe or higher timeframe. Zigzag only shows in current timeframe.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.