PROTECTED SOURCE SCRIPT

Auto Fibonacci Level Indicator - El Patron

477
=======================================================================
Auto Fibonacci Level Indicator - El Patron
=======================================================================

Description:
This indicator automatically calculates and plots Fibonacci levels based on
the highest high and lowest low of a specified lookback period from a user-
selectable timeframe. It supports a Reverse Fibonacci option to swap the
calculation (i.e. drawing levels from the swing high to the swing low) and
provides intrabar updates using the lookahead feature. Customize the color
for each Fibonacci level to suit your trading style.

Inputs:
- Time Frame:
Choose from "60" (1H), "240" (4H), or "D" (Daily) to retrieve data for
the Fibonacci calculations.
- Lookback Period:
The number of bars (in the selected timeframe) to consider for
determining the highest high and lowest low.
- Reverse Fibonacci:
Check this box to reverse the Fibonacci calculation from the usual low-
to-high to a high-to-low perspective.
- Color Inputs:
Customize the colors for each Fibonacci level, including levels such as
0, 0.11, 0.114, ... , 1.618.

Usage:
1. Apply the indicator to any chart.
2. In the settings panel, adjust the Time Frame, Lookback Period, and
Reverse Fibonacci options as desired.
3. The Fibonacci levels will be plotted as horizontal lines on your chart.
4. Intrabar updates are enabled via the lookahead parameter; note that this
may result in repainting.

Notes:
- When using intrabar lookahead, the levels update during the formation of
the current bar which might cause historical values to change (repainting).
- The indicator can pull data from a different timeframe than the chart's,
which is useful for multi-timeframe analysis.

Author: Turker Balkar - El Patron
Version: 1.0

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.