FIB vs HLThis script show the relation bettwen daily fib seen in red =upper and blue=lower to daily candles upper and lower
since there is slight variation how both calculated we can see that when daily fib is lower then the low candles daily low then there is a good chance for a buy trend
and vice versa in oposite direction
so it just a nice idea that need further verification
Cari dalam skrip untuk "fib"
Fibs Has Lied 🌟 Fibs Has Lied - Indicator Overview 🌟
Designed for indices like US30, NQ, and SPX, this indicator highlights setups where price interacts with key EMA levels during specific trading sessions (default: 6:30–11:30 AM EST).
🌟 Key Features & Levels 🌟
🔹EMA Crossover Setups
The indicator uses the 100-period and 200-period EMAs to identify bullish and bearish setups:
- Bullish Setup: Triggers when the 100 EMA crosses above the 200 EMA, followed by two consecutive candles opening above the 100 EMA, with the low within a specified point distance (e.g., 20 points for US30).
- Bearish Setup: Triggers when the 100 EMA crosses below the 200 EMA, followed by two consecutive candles opening below the 100 EMA, with the high within the point distance.
- Signals are marked with green (buy) or red (sell) triangles and text, ensuring you don’t miss a setup. 📈
🔹 Reset Conditions for Re-Entries
After an initial setup, the indicator watches for “reset” opportunities:
- Buy Reset: If price moves below the 200 EMA after a bullish crossover, then returns with two consecutive candles where lows are above the 100 EMA (within point distance), a new buy signal is plotted.
- Sell Reset: If price moves above the 200 EMA after a bearish crossover, then returns with two consecutive candles where highs are below the 100 EMA (within point distance), a new sell signal is plotted.
This feature captures additional entries after liquidity grabs or fakeouts, aligning with ICT’s manipulation concepts. 🔄
🔹 Session-Based Filtering
Focus your trades during high-liquidity windows! The default session (6:30–11:30 AM EST, New York timezone) targets the London/NY overlap, where price often seeks liquidity or sets up for reversals. Toggle the time filter off for 24/7 signals if desired. 🕒
🔹Symbol-Specific Point Distance
Customizable entry zones based on your chosen index:
- US30: 20 points from the 100 EMA.
- NQ: 3 points from the 100 EMA.
- SPX: 2.5 points from the 100 EMA.
This ensures setups are tailored to the volatility of your market, maximizing relevance. 🎯
🔹 Market Structure Markers (Optional)
Visualize swing points with pivot-based labels:
- HH (Higher High): Signals uptrend continuation.
- HL (Higher Low): Indicates potential bullish support.
- LH (Lower High): Suggests weakening uptrend or reversal.
- LL (Lower Low): Points to downtrend continuation.
- Toggle these on/off to keep your chart clean while analyzing trend direction. 📊
🔹 EMA Visualization
Optionally plot the 100 EMA (blue) and 200 EMA (red) to see key levels where price reacts. These act as dynamic support/resistance, perfect for spotting liquidity pools or ICT’s Power of 3 setups. ⚖️
🌟 Customization Options 🌟
- Symbol Selection: Choose US30, NQ, or SPX to adjust point distance for entries.
- Time Filter: Enable/disable the 6:30–11:30 AM EST session to focus on high-liquidity periods.
- EMA Display: Toggle 100/200 EMAs on/off to reduce chart clutter.
- Market Structure: Show/hide HH/HL/LH/LL labels for cleaner analysis.
- Signal Markers: Green (buy) and red (sell) triangles with text are auto-plotted for easy identification.
🌟 Usage Tips 🌟
- Best Timeframes: Use on 3m for intraday scalping and 30m for swing trades.
- Combine with ICT Tools: Pair with order blocks, fair value gaps, or kill zones for stronger setups.
- Focus on Session: The default 6:30–11:30 AM EST session captures London/NY volatility—perfect for liquidity-driven moves.
- Avoid Overcrowding: Disable market structure or EMAs if you only want setup signals.
Fib top and bottom Hunter - No Repaint "Top and bottom Hunter" indicator combines two popular technical analysis tools, Fibonacci retracement levels and the Relative Strength Index (RSI), to identify potential trading opportunities in the market.
Fibonacci retracement levels are based on the Fibonacci sequence, a mathematical series where each number is the sum of the two preceding ones. In trading, Fibonacci retracement levels are used to identify potential support and resistance levels based on the recent price action. The indicator uses two Fibonacci levels, fib_0 and fib_1, which are typically set to 0.382 and 0.618, respectively. These levels represent common retracement ratios.
To calculate the Fibonacci levels, the indicator considers the highest and lowest prices within a specified range, typically the highest and lowest of the last two bars. It calculates the fib_range, which is the difference between the highest and lowest prices. Then, fib_level_0 and fib_level_1 are determined by subtracting the Fibonacci ratios from the highest price.
The RSI is a momentum oscillator that measures the speed and change of price movements. It helps identify overbought and oversold conditions in the market. The RSI parameters used in this indicator are rsi_length (length of the RSI calculation), rsi_overbought (upper threshold indicating overbought conditions), and rsi_oversold (lower threshold indicating oversold conditions). The RSI value is calculated based on the closing prices.
The indicator generates buy and sell signals based on specific conditions:
Buy Condition: A buy signal is triggered when the RSI crosses above the oversold level (rsi_oversold) and the closing price is higher than fib_level_1. This indicates a potential reversal or bounce from the Fibonacci support level.
Sell Condition: A sell signal is triggered when the RSI crosses below the overbought level (rsi_overbought) and the closing price is lower than fib_level_0. This suggests a potential reversal or pullback from the Fibonacci resistance level.
In summary, this indicator combines the power of Fibonacci retracement levels and the RSI to identify potential trading opportunities. It helps traders find confluence between the Fibonacci support or resistance levels and the RSI readings, indicating potential trend reversals or bounces. Traders can use this information to make informed decisions about entering or exiting positions in the market.
Feel free to change the settings for what works best for you and use this with other confluences. I personally use RSI overbought and oversold values as 80 and 20
Fib Retracement AlgoFib Retracement Algo
Description: This indicator has a series of steps that it takes before it finds possible retracement areas depending on the trend. The indicator itself is really simple to use.
How does it work?
This indicator uses the Hurst Exponent to verify whether or not the market is trending or not. It then determines the trend and then decides which retracement is possible.
If the hurst is below 0.5, then the retracement lines won't appear; they only appear in a trending market above 0.5 if you don't see the lines.
How Traders can use this indicator
Traders who trade bounces or retracements can use this indicator and enjoy the verification process that goes behind finding these retracements. This indicator can also be used to identify possible gaps on some occasions.
Examples of the indicator:
Fib DragonsCreates bands based on Fibonacci golden ratio numbers and EMA w/ATR
This allows for a faster reaction and significantly less lag than SMA w/ATR
EMA is set to 34 - Recommend range by taste 21, 34, 55, 62
ART is set to 13 - Recommend 13 or 21
Fib Bands are set to 1.618, 2.618, 3.618 however you can set to what works for you. I recommend keeping them at the golden ratios.
Based on indicator by rstraat
How to trade - Same rules apply
- Best to use in ranging market conditions
- Place on two different time frames such as the 15 min. and 60 min for intraday trading
- Take trades off either short or long term chart.
- Best trades occur when both charts show same trigger/condition.
- Trades are short term reversals in direction of major trend on longer term chart unless you expect a trend reversal.
- Determine which band is the limiting band for the volatility of the instrument.
- When the market closes outside of the limiting band then returns inside, take a long/short one tick above/below the high/low of the previous bar.
- Place stop below/above the low/high of the the recent swing low/high.
- Set targets at opposite band of chart
Use any oscillator you favor or see fit with this indicator or any other strategies that work for you.
Fib-Simple MA MultiplesThis is just a Simple Moving Average script with several multipliers at Fibonacci number values. You can adjust the MA lengths and source value. Enjoy.
FIB WEDGE BreakOut-ProNSE:BANKNIFTY
This is Fibonacci retracement Breakout Strategy based on First 5Min of the Day. Retracement line will be auto populated after the confirmation of first 5min candle of the day.
We tested this only on Indian Market, you can try in other Market based on your need but we never tested this in other market.
The levels are defined based fib levels of first 5Min candle. you can use this in any time frame plotting will change accordingly but suggested to use in 5Min.
Compared to my basic version script, pro version has different level plotting and this will give you early entry, Since these are using two different level we cannot club.
FIB / RSI Mixed IndicatorThis is a FIB / RSI combined indicator designed to locate tops and bottoms.
Fib Divergence SystemCombo of many useful indicators which includes fib lines, time and money channels and divergence buy sell signals
Credits for source code:
Scarf, Lazybear, 100kiwi
Fib Bands 1H 4H 1D Ideas are collected and edited
Combined indicators from Fibonacci, BollingerBands, SMMA
Should use 1H to 4H frames is most effective.
# The support and resistance points are almost perfect, have been tested a lot of times .
FIB EMAs4 EMAs for the FIB numbers - 8, 13, 21 and 55
Can be used as a single indicator, so can have e.g. MACD and RSI also available
Dynamic Fib 61.8Dynamic Fib 61.8 Indicator – Full Guide
1. Overview
This indicator plots a dynamic 61.8% Fibonacci retracement level, adjusted for market volatility and smoothed using an EMA for cleaner signals. Unlike traditional static Fib levels, this version auto-adjusts based on recent price swings, making it more responsive to changing market conditions.
Key Features:
✅ Auto-Adjusting 61.8% Fib Level – Adapts to the highest high/lowest low over a user-defined period.
✅ EMA Smoothing – Reduces noise for more reliable support/resistance.
✅ Breakout Alerts – Built-in alerts for when price crosses the Fib level.
✅ Inverse Chart Support – Works on both regular and inverse price scales.
2. How to Use This Indicator
Primary Use Case:
Trend Retracement Entry: The 61.8% level often acts as a reversal zone in trending markets.
Breakout Confirmation: A decisive close above/below the smoothed Fib level suggests trend continuation.
Support/Resistance Flip: Watch for price reactions at this level for intraday/swing trades.
Input Parameters:
Input Default Description
Lookback Period 52 Determines how far back the highest high/lowest low is calculated. Higher = slower reaction, lower = more sensitive.
EMA Smoothing 3 Controls how much the Fib level is smoothed (higher = smoother but laggier).
Invert Price Scale Off Flips the calculation for inverse charts (e.g., for crypto perpetuals).
3. Interpretation & Trading Rules
Bullish Scenario (Buy Dips):
Price retraces to the smoothed Fib 61.8 level in an uptrend.
Confirmation: Wait for bullish candlestick patterns (hammer, engulfing) or RSI > 50.
Entry: Long on a bounce, stop-loss below recent swing low.
Bearish Scenario (Sell Rallies):
Price retraces to the smoothed Fib 61.8 level in a downtrend.
Confirmation: Bearish rejection (shooting star, bearish engulfing) or RSI < 50.
Entry: Short on rejection, stop-loss above recent swing high.
Breakout Trading:
If price closes decisively above/below the smoothed Fib level, it may signal trend continuation.
Volume & Momentum Confirmation: Use with MACD/RSI for stronger signals.
4. Best Confluence Indicators
This indicator works best when combined with:
A. Momentum Oscillators
RSI (14):
Look for oversold (RSI < 30) near Fib support in uptrends.
Look for overbought (RSI > 70) near Fib resistance in downtrends.
MACD:
Bullish: MACD crossing above signal line near Fib support.
Bearish: MACD crossing below signal line near Fib resistance.
B. Volume Analysis
Volume Spike + Fib Bounce = Strong Reversal Signal
Low Volume at Fib Retest = Potential Fakeout
C. Moving Averages
50 EMA/200 EMA Alignment:
If price is above 200 EMA and retests Fib 61.8, it’s a high-probability long.
If price is below 200 EMA and rejects Fib 61.8, it’s a high-probability short.
D. Price Action Patterns
Engulfing, Pin Bars, Inside Bars at the Fib level add confirmation.
5. Example Strategy
Setup:
Trend Identification – Price is above 200 EMA (uptrend).
Retracement to Smoothed Fib 61.8 – Price pulls back to the dynamic level.
Confirmation – Bullish hammer forms + RSI > 50.
Entry – Buy with stop below recent swing low.
Target – Previous high or 1.618 Fib extension.
6. Limitations & Adjustments
Choppy Markets: The Fib level may give false signals (use ATR filter).
Optimal Period Adjustment:
For day trading, reduce Lookback Period (e.g., 20-30).
For swing trading, increase (e.g., 50-100).
EMA Smoothing: If too slow, increase smoothing to 5-10.
Final Thoughts
This indicator is best used as a dynamic support/resistance tool rather than a standalone system. Combining it with momentum filters, volume, and price action significantly improves accuracy.
3 Zigzag for MTF Fib Alert [MsF]Japanese below / 日本語説明は英文の後にあります。
-------------------------
This indicator that automatically displays Fibonacci from each High & Low based on 3 Zigzags. It's useful for multi-timeframe analysis.
For example, Fibonacci calculated from the high and low prices (Zigzag 3 Period=100) of the upper timeframe can be displayed on the lower timeframe.
Also, you can set alerts for each Fibonacci point. It is useful when you are waiting for the price to return to the discount (50% or less) or the premium (50% or more) of the upper timeframe.
"Fib 1 - Crossing 0.00" … Trigger an alert when crossing the 0% line in Fibonacci of Zigzag1
"Fib 1 - Crossing 100.0" … Trigger an alert when crossing the 100% line in Fibonacci of Zigzag1
"Fib 1 - Crossing 23.6" … Trigger an alert when crossing the 23.6% line in Fibonacci of Zigzag1
"Fib 1 - Crossing 38.2" … Trigger an alert when crossing the 38.2% line in Fibonacci of Zigzag1
"Fib 1 - Crossing 50.0" … Trigger an alert when crossing the 50.0% line in Fibonacci of Zigzag1
"Fib 1 - Crossing 61.8" … Trigger an alert when crossing the 61.8% line in Fibonacci of Zigzag1
"Fib 1 - Crossing 76.4" … Trigger an alert when crossing the 76.4% line in Fibonacci of Zigzag1
*Same as Zigzag 1 and Zigzag 2 too.
"Choose Zig Zag Leg for fib" parameter means...
Latest : Calculate Fibonacci based on "the most recent Zigzag line".
Previous : Calculate Fibonacci based on "the previous Zigzag line".
-------------------------
3つのZigzagを元に各High&Lowからフィボナッチを自動で表示するインジケーターです。
Zigzagの期間を工夫することで、マルチタイムフレーム分析に役立ちます。
例えば、以下の設定とした場合:
Zigzag 1 Period … 8
Zigzag 2 Period … 25
Zigzag 3 Period … 100
上位時間足Zigzag(Period=100)の高値安値から形成されるフィボナッチを下位時間足に表示することができるのです。
また、このインジケーターではフィボナッチのポイント毎にアラートの設定が可能です。
上位時間足の割安価格(50%以下)や割高価格(50%以上)に価格が戻ってくるのを待っている時などに力を発揮してくれます。
"Fib 1 - Crossing 0.00" … Zigzag1のフィボナッチにおいて、0%ラインとクロスした場合にアラートを発報します
"Fib 1 - Crossing 100.0" … Zigzag1のフィボナッチにおいて、100%ラインとクロスした場合にアラートを発報します
"Fib 1 - Crossing 23.6" … Zigzag1のフィボナッチにおいて、23.6%ラインとクロスした場合にアラートを発報します
"Fib 1 - Crossing 38.2" … Zigzag1のフィボナッチにおいて、38.2%ラインとクロスした場合にアラートを発報します
"Fib 1 - Crossing 50.0" … Zigzag1のフィボナッチにおいて、50.0%ラインとクロスした場合にアラートを発報します
"Fib 1 - Crossing 61.8" … Zigzag1のフィボナッチにおいて、61.8%ラインとクロスした場合にアラートを発報します
"Fib 1 - Crossing 76.4" … Zigzag1のフィボナッチにおいて、76.4%ラインとクロスした場合にアラートを発報します
※Zigzag1およびZigzag2のフィボナッチも同様
"Choose Zig Zag Leg for fib"パラメータについて:
Latest … 一番新しいZigzagのライン(UpまたはDown)を元にフィボナッチを計算します。
Previous … ひとつ前のZigzagのライン(UpまたはDown)を元にフィボナッチを計算します。
Rolling Fibonacci Pivot Points [QuantNomad]Standard Fibonacci Pivot Points are calculated from the previous day (or another period) close/low/high. But what is the day close for cryptocurrencies trading 24/7 on exchange? Does it make sense to use a specific time price as a close if it continue trading after that?
So I decided to solve that issue with Rolling Fibonacci Pivot Points where I calculate pivot points not at the end of the period but for every bar. Every time recalculating pivot points I look at a window of period length in bars and base my calculations on these bars. This way you get smooth pivot points changing with every bar and it seems like levels might be really nice support and resistance for the price.
I implemented 6 periods: Auto, Day, Week, Month, Quarter, Year. For the Auto period, I select the most suitable period for the timeframe of your chart.
On the chart, you can see by default 7 levels plotted:
PP – Pivot Point
S1 – Support on 0.382 fib level
S2 – Support on 0.618 fib level
S3 – Support on 1.000 fib level
R1 – Resistance on 0.382 fib level
R2 – Resistance on 0.618 fib level
R3 – Resistance on 1.000 fib level
Also in parameters you can display additional midpoints:
S0.5 – Support on 0.236 fib level
S1.5 – Support on 0.500 fib level
S2.5 – Support on 0.786 fib level
R0.5 – Resistance on 0.236 fib level
R1.5 – Resistance on 0.500 fib level
R2.5 – Resistance on 0.786 fib level
####################
It's a pro indicator, you can have access to it for a small fee. Link to my PRO indicators you can find in my signature.
####################
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
RyuFib Auto Fibonacci Retracement🔰 Auto Fibonacci Retracement
📌Auto plots the Fibonacci levels the same as the Fib Retracement tool from the high to low or low to high according to the set length. This tool saves you 2 seconds from manually drawing the Fibonacci Retracement, however, having to do on 100 different charts can save time; and can set up on various timeframes to show to get a quick look at the fib support/resistance levels of the chart. Shows additional fib levels and fib extensions. Can set custom timeframe to add multiple fib indicators for different timeframes shown, or to always show a particular timeframe. Can set the length for different timeframes, so you can flip between timeframes without having to adjust. The 12h and daily timeframes are shorter length since if it's too long the chart history may not be long enough.
📌Features
🔹Fibonacci Retracement Levels (show/hide all)
🔹Fibonacci Extension Levels (option show/hide all)
🔹Fibonacci Text Labels (option show/hide all)
🔹Select fib Retracement type, from high to low or low to high
🔹Select fib candle type, from the wick or candle close
🔹Select fib custom timeframe
🔹Select custom length back for different timeframes, shorter 4h and under, 12, and daily
🔹Select fib line width
🔹Select fib text labels position offset
📌Note: If the fibs are not showing then the chart history is too short for the length, adjust the fib length.
MTF Pivot Fib Speed Resistance FansOverview
This Pine Script indicator, titled "MTF Pivot Fib Speed Resistance Fans", is a multi-timeframe tool that automatically plots Fib Speed Resistance Fan lines based on pivot structures derived from higher timeframes. It mirrors the functionality of TradingView’s built-in “Fib Speed Resistance Fan” drawing tool, but in a dynamic, programmatic way. It uses pivot highs and lows to anchor fan projections, drawing forward-facing trend lines that align with well-known Fibonacci ratios and their extensions.
Pivot Detection Logic
The script identifies pivots by comparing the current bar’s high and low against the highest and lowest prices over a user-defined pivot period. This pivot detection occurs on a higher timeframe of your choice, giving a broader and more strategic view of price structure. The script tracks direction changes in the pivot trend and stores only the most recent few pivots to maintain clean and meaningful fan drawings.
Fan Direction Control
The user can select whether to draw fans for "Buys", "Sells", or "Both". The script only draws fan lines when a new directional move is detected based on the pivot structure and the selected bias. For example, in “Buys” mode, a rising pivot followed by another higher low will trigger upward fan projections.
Fib Speed Resistance Levels
Once two pivots are identified, the script draws multiple fan lines from the first pivot outward, at angles defined by a preset list of Fibonacci levels. These fan lines help visualize speed and strength of a price move.
The script also draws a horizontal line from the pivot for additional confluence at the base level (1.0).
Price Level Plotting
In addition to drawing fan lines, the indicator also plots their price levels on the right-hand price scale. This makes it easier for users to visually reference the projected support and resistance levels without needing to trace the lines manually across the chart.
Mapping to TradingView’s "Fib Speed Resistance Fan"
The expanded set of values used in this script is not arbitrary—they closely align with the default and extended levels available in TradingView's built-in "Fib Speed Resistance Fan" tool.
TradingView’s Fib Fan tool offers several levels by default, including traditional Fibonacci ratios like 0.382, 0.5, 0.618, and 1. However, if you right-click the tool and open its settings, you’ll find additional toggles for levels like 1.618, 2.000, 2.618, and even 4.000. These deeper levels are used to project stronger trend continuations beyond the standard retracement zones.
The inclusion of levels such as 0.25, 0.75, and 1.34 reflects configurations that are available when you manually add or customize levels in TradingView’s fan tool. While 1.34 is not a canonical Fibonacci ratio, it is often found in hybrid Gann/Fib methods and is included in some preset templates in TradingView’s drawing tool for advanced users.
By incorporating these levels directly into the Pine Script, the indicator faithfully reproduces the fan structure users would manually draw using TradingView’s graphical Fib Fan tool—but does so programmatically, dynamically, and with multi-timeframe control. This eliminates manual errors, allows for responsive updating, and adds custom visual tracking via the price scale.
These values are standardized within the context of TradingView's Fib Fan tool and not made up. This script automates what the manual drawing tool achieves, with added precision and flexibility.
SRG Fibs SmoothedPLEASE READ: HOW TO UNDERSTAND HOW THIS INDICATOR WORKS FOR ME!
Why did I code this?
I never know where is the best place to buy
Sometimes I get greedy and just don't want to sell...
I want to protect myself from losses and still be able to make some trades
What does this do?
This script plots Fibonacci levels dynamically according to a specified length
It also has a smooting value so it looks a bit more clean (and allows for dynamic trailing stop loss)
Internal Fib levels allow to plot fibonacci levels between each main level (scalpers and day traders should be happy with this)
Fib Projection toggle so we can have "the same behaviour" during aggressive Bull Runs.
How to test this thing?
BTC USD Daily chart
For starters, use the following settings:
- Length: 365 (lookback of a full year)
- Smooth: 56 (8 week period)
- Inter Fib levels: OFF
- Fib projection: OFF
Have a look into the chart and check some support/resistance zones. Also check the behaviour of the indicator during the 2021 Jan -> Mar bull run (we will need it later)
If you like to check different time frames. Use these settings:
- Indicator Timeframe: 4 hours
- Length: 2190 (1 year)
- Smooth: 336 (8 weeks)
- Inter Fib Levels: ON
- Fib Projection: OFF
You can now test the chart using the 2H timeframe to see the movement, and how the Internal Fib levels work
Now as we're getting bullish:
- Indicator Timeframe: 4 hours
- Length: 2190 (1 year)
- Smooth: 336 (8 weeks)
- Inter Fib Levels: OFF
- Fib Projection: ON
You can now check the behaviour of the indicator during the 2021 Jan - Mar Bullrun in the 2H or 4H chart, to see some stop loss magic.
Bullish Auto FibsBullish Auto Fibs Indicator
Description
The Bullish Auto Fibs indicator is a sophisticated tool designed for traders on the TradingView platform, specifically tailored for analyzing bullish price movements on XRP and other assets. It automatically plots Fibonacci retracement, B Wave, and extension levels based on a customizable ZigZag pattern, providing clear visual cues for potential support, resistance, and price targets. With a focus on the 15-minute timeframe, this indicator enhances technical analysis by dynamically updating Fibonacci levels as new pivot highs and lows are detected, ensuring traders stay aligned with evolving market trends.
Key Features:
Automatic Fibonacci Levels: Plots retracement (23.6%, 38.2%, 50%, 61.8%, 78.6%), B Wave (23.6% to 161.8%), and extension (100%, 161.8%, 261.8%) levels.
Dynamic ZigZag Detection: Identifies pivot highs and lows with an adjustable length (1–100 bars, default 20).
Real-Time Updates: Adjusts Fibonacci levels when new highs (for retracements) or lows (for B Wave and extensions) are detected, preserving key reference points like the B Wave pivot high.
Customizable Display: Toggle visibility for retracement, B Wave, and extension levels to suit your analysis needs.
Visual Clarity: Uses distinct colors (gray for retracements, yellow for B Wave, green for extensions) and labels for easy interpretation.
This indicator is ideal for traders employing Elliott Wave theory, Fibonacci-based strategies, or trend-following approaches, offering a robust framework for identifying key price levels in bullish markets.
User Manual
Configuration
The indicator’s settings can be adjusted via the “Settings” panel in TradingView:
Yellow ZigZag Length (default: 20, range: 1–100): Controls the sensitivity of pivot detection. Higher values detect more significant pivots; lower values increase sensitivity for shorter-term swings.
Show Retracement Fibs (default: true): Enable/disable retracement levels (low to high, 0% at high, 100% at low).
Show B Wave Fibs (default: true): Enable/disable B Wave levels (high to low, 100% at high, 0% at low, with extensions up to 161.8%).
Show Extension Fibs (default: true): Enable/disable extension levels (pivot low as 0%, projecting upward).
How It Works
ZigZag Pattern:
The indicator identifies pivot highs and lows using the ta.pivothigh and ta.pivotlow functions, with the specified yellowLength.
Pivots are marked with “H” (high) or “L” (low) labels in yellow.
Fibonacci Levels:
Retracement Fibs: Drawn from a pivot low (100%) to a pivot high (0%). Updates to a new high if detected, maintaining the original low.
B Wave Fibs: Drawn from a pivot high (100%) to a pivot low (0%), with extensions above 100%. Updates to a new low if detected, preserving the original high.
Extension Fibs: Drawn from a pivot low (0%) upward, based on the prior low-to-high wave length. Updates to a new low if detected.
Dynamic Updates:
Lines and labels extend to the current bar for active Fibonacci levels, ensuring real-time relevance.
When a new pivot is detected, previous levels are cleared, and new levels are drawn to reflect the latest price structure.
Usage Tips
Trend Confirmation: Use retracement levels to identify potential support zones during pullbacks in a bullish trend.
B Wave Analysis: Leverage B Wave levels for corrective wave targets, especially in Elliott Wave strategies.
Price Targets: Extension levels highlight potential bullish continuation zones.
Timeframe Flexibility: While optimized for 15-minute charts, adjust yellowLength for higher (e.g., 50–100) or lower (e.g., 5–10) timeframes.
Combine with Other Tools: Pair with trend indicators (e.g., moving averages) or oscillators (e.g., RSI) for enhanced decision-making.
Troubleshooting
No Levels Displayed: Ensure at least two pivots (high and low) are detected. Increase yellowLength if pivots are sparse.
Overlapping Labels: Reduce chart zoom or toggle off unnecessary Fibonacci types to declutter.
Performance Issues: The indicator limits arrays to 500 entries to prevent slowdowns. Older pivots are automatically removed.
Notes
The indicator is optimized for bullish markets but can be adapted for other assets by adjusting the ZigZag length.
For best results, test settings on historical data to align with your trading style.
Automatic Support, Resistance, Fibonacci LevelsThis indicator plots absolute high and low values for up to five completely adjustable time periods (in months, weeks, days, hours, minutes) and optionally calculates the Fibonacci levels on the pair of absolutes of your choice, ascending or descending, and mimics the shading available in the built-in Fib charting tools (e.g. retracement).
Here are a few screenshots of the same chart with various options selected.
3-Month, 4-Week, and 5-Day absolutes with 3-Monthly Fib plotted:
The same chart with 4-Weekly Fib:
The same chart with 5-Daily Fib:
5-Day, 12-Hour, 90-Minute absolutes with 12-Hourly Fib:
Zoomed in, on a 30-minute interval, with 90-minute Fib:
With descending ("inverted") 90-minute Fib:
I started putting this together for Vazzyb, who was looking for a way to automate plotting horizontal support and resistance levels for monthly, weekly, and daily extremes, and then I added additional features as they occurred to me. Special thanks to Paaax, who suggested I add Fib levels.
I am leaving the code open, so you may feel free to grab snippets you like and use them for your own purposes. Of particular interest may be my custom "calc_fib()" function, which accepts any series pair, as well as a Boolean indicating whether to invert, and returns an array with each of the major Fibonacci levels: .
If anyone likes this enough to feel generous, please feel free:
BTC
3KmFchJ18QvMzAJKDcFQXvyK9p1EHWQdhP
BCH
qqtrw64ptuwprk5vtj3z8qwkvh3v0jawxq7khqng7x
ETH
0x9b51361A278910Ba3945C7519C9f0FA8a77df18d
LTC
MDeWWsP7XCG2zQuZ2dYALZXQ52u2qkc8fh
P.S. If you want the time lengths to be as close to accurate as possible, don't forget to change the number of days per week when using for cryptocurrency!
Auto Unlimited Fibs 1.0Still in development, this indicator automatically draws unlimited Fibonacci Retracements so you don't have to keep manually drawing them.
Upwards moves are colored green by default and downward moves are colored red by default, idea being an upward move creates a green retracement level that may be an area to buy and vice versa for short moves. The retracements are drawn on every 3-bar swing high/low, this idea was taken from Inner Circle Trader (ICT). If the move then goes on to retrace past the 0.764 fib retracement, the move is mitigated. If a new high or low is put in the fib gets extended. The mitigation levels are customisable.
Also hides moves that are below a minimum size, as I don't like to see fibs of small moves, these are hidden based on a % of price, customisable in the script.
As the fibs get extended/mitigated and hidden you should end up with all the fibs that are still valid for a retracement.
There is a display option to draw shorter lines as things can get pretty messy with lots of fibs on one chart. Also, bigger moves have longer lines and are slightly brighter in color, shorter moves are shorter lines and duller in color.
Finally the user can customise the amount to show in each direction, so if you only want to see long moves set the Total Short Fibs To Show to 0, or choose 1 of each if you only want to see the most recent smallest fib.