Auto Fibonacci Levels [MisterMoTA]

The script is different from others by letting users to define a consolidation range, user can input the time when range ends and the number of candles for looking back from the defined time, default value is 16 candles.
Users have total control over range definitions, fibonacci numbers, colors and option to show or hide the lines.
The user can choose to display Fibomacci Bullish Expansion levels and also Fibonacci Bearish Expansion level.
After a move hit a resistance or support can be choosed a range to find retracement levels, Bullish or Bearish retracement levels can be displayed checking the options from the indicator pannel.
Here are few examples of usage:
1. Bullish expansion (extension)
2. Bearish expansion (extension)
3. Bullish Retracement
4. Bearish Retracement
The indicator can be used on any timeframe for any pairs, stocks, crypto, forex.
The script is different from others by letting users to define a consolidation range, user can input the time when range ends and the number of candles for looking back from the defined time, default value is 16 candles.
Users have total control over range definitions, fibonacci numbers, colors and option to show or hide the lines.
The user can choose to display Fibomacci Bullish Expansion levels and also Fibonacci Bearish Expansion level.
After a move hit a resistance or support can be choosed a range to find retracement levels, Bullish or Bearish retracement levels can be displayed checking the options from the indicator pannel.
Here are few examples of usage:
1. Bullish expansion (extension)
2. Bearish expansion (extension)
3. Bullish Retracement
4. Bearish Retracement
The indicator can be used on any timeframe for any pairs, stocks, crypto, forex.
- Variables used for labels that were declared for local purpose were declared for global scope
- Variables for calculation of Highets and Lowest pivot points were moved outside the local scope than reasign to be used in local scope so error was fixed
If you'll find any errors or you have any idea of how we can improve ours script please live us a comment or contact us private.
- Updated the length of fibonacci lines, they are extended to the left and fixed lenght to the right.
- Users can modify the length of the fibonacci lines from the current bar to the left and where labels will be displayed changing input "Distance from current bar to fib labels" from dashboard, default is 75, meaning the lines will be extended 75 bars from current bar to the right and labesl will be displayed right after fib lines.
- Changed the styles of the labels to simple labels with default fib color aligned to center-left side of the fibonacci lines, for a better visibility of the ranges and to avoid labels coming on top of each other.
- As requested by few users changed the fibonacci calculations from linear to Loghartimic.
- As requested by few users of this indicator we added both options Linear and Logarithmic fibonacci lines, users can choose what type of fibonacci calculations for lines to be used from indicator dashboard.
- replaced decimals with round_to_mintick function, so no need to change the decimals now on other assets as the prices decimals now we'll be displayed automatically
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.