OPEN-SOURCE SCRIPT

Fibonacci Ranges (Real-Time) [LuxAlgo]

The "Fibonacci Ranges" indicator combines Fibonacci ratio-derived ranges (channels), together with a Fibonacci pattern of the latest swing high/low.

🔶 USAGE

ảnh chụp nhanh

The indicator draws real-time ranges based on Fibonacci ratios as well as retracements. Breakouts from a Fibonacci Channel are also indicated by labels, indicating a potential reversal.

ảnh chụp nhanh

Each range extremity/area can also be used as support/resistance.

🔶 CONCEPTS

  1. Fibonacci Channels
  2. Latest Fibonacci


ảnh chụp nhanh

Both, Latest Fibonacci and Fibonacci Channels, display different Fibonacci levels (labels not included in the code):

ảnh chụp nhanh

However, the 2 react in a totally different way.

🔹 Fibonacci Channels

2 conditions must be fulfilled until a Fibonacci Channel is displayed:

  • New swing high/low
  • close has to be between chosen limits/levels (Break level)


ảnh chụp nhanh

As visual guidance, chosen Break levels are accentuated by 2 small gray blocks:

ảnh chụp nhanh

Once the channel is displayed, it will remain visible until x consecutive bars break out of the chosen Break level at closing time.
x consecutive bars is set by Break count.

ảnh chụp nhanh

ảnh chụp nhanh

The amount of breaks is counted in the code. When the price, without breaking the user-set limit, closes back between the 2 levels, the count is reset to 0.

By enabling Channels and Shadows you can see previous channels ("Shadows", which is always delayed with 1 bar)

ảnh chụp nhanh

Previous channels can be helpful in finding potential support/resistance areas, especially from large channel blocks

ảnh chụp nhanh

The more narrow Break levels are set the less chance the price closes between these 2 levels, and the quicker close breaks out.

In other words, narrow levels give fewer & smaller channels, broader levels give more & larger channels.

Note:

• swing settings: L & R

Break count (x consecutive bars that close outside chosen levels to invalidate the Fibonacci Channel)
will also be of influence in displaying the channels.

Show breaks enable you to visualize signals when there is a break:
ảnh chụp nhanh

• Alerts can also be set (Break Down/Break Up)

🔹 Latest Fibonacci

This displays the Fibonacci levels between the latest swing high and swing low, independently from the Fibonacci Channel.

The Lastest Fibonacci can be helpful in detecting the current trend against the larger Fibonacci Channel.

ảnh chụp nhanh

🔶 SETTINGS

🔹 Swing Settings



🔹 Fibonacci Channels

  • Channel: Channel / Channels + Shadows / None

  • Break level
    -0.382 - 1.382
      0.000 - 1.000
      0.236 - 0.764
      0.382 - 0.618

  • Break count


🔹 Fibonacci

  • Toggle
  • Colours: [[]-0.382 - 0[]], [[]0.236 - 0.382[]], [[]0.5[]], [[]0.618 - 0.764[]], [[]1 - 1.382[]]
Bands and ChannelsFibonacci Retracementluxalgorangeretracementreversalsignalsupportandresistancezones

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm