Fibonacci SingularityFibonacci singularity is an advanced fibonacci confluence engine designed to find the price zones where multiple fibonacci levels from confirmed market legs collapse into the same area.
instead of drawing one simple fibonacci retracement, the script analyzes several confirmed swing legs, calculates multiple fibonacci retracement and extension levels, then groups the strongest overlapping levels into institutional confluence zones.
the goal is to give the trader a clean map of high-interest price areas where the market may react, reject, pause, break, or build a new directional move.
this tool is not a buy or sell signal system. it is a market structure and confluence map. it should be used with price action, trend context, volume, risk management, and personal confirmation.
main features
confirmed pivot-based fibonacci engine
clean zigzag swing logic
multi-leg fibonacci confluence
non-overlapping confluence zones
automatic merge of zones that touch or overlap
minimum block gap between zones
s-tier, a-tier, b-tier, and c-tier zone classification
walk-forward respect percentage
real volume micro profile inside each zone
right-side density micro profile
volume, touch density, reaction pressure, or composite profile source
volume delta in labels
zone pressure reading
dominant reference fibonacci
fibonacci time zones
magnet targets above and below price
institutional-style dashboard
sober visual style
price-in-zone alerts
upside magnet alerts
downside magnet alerts
how the script works
the script first detects confirmed pivots.
a confirmed pivot high or pivot low appears only after enough bars have closed on both sides of the pivot. this makes the structure cleaner and avoids using unconfirmed swing points.
after pivots are confirmed, the script builds several market legs from the most recent valid zigzag swings.
for each leg, the script calculates important fibonacci levels such as retracements and extensions.
then it groups nearby fibonacci levels into confluence zones.
when several fibonacci levels fall inside the same price area, the zone becomes stronger.
if two zones touch or overlap, the script merges them instead of stacking blocks on top of each other.
each final zone is displayed as a clean block with a center line, optional label, internal profile, and right-side density profile.
the strongest zones are ranked by overlap, strength, and tier.
important concept
a zone is not a guaranteed reversal point.
a zone means that several fibonacci levels are concentrated in the same price area.
the more confluence a zone has, the more important it can become as a decision area.
a trader can use these zones to prepare possible reactions, breakouts, retests, or profit-taking areas.
input guide
pivot strength
this controls how strong a pivot must be before it is accepted.
a higher value creates fewer but stronger swing points.
a lower value creates more swings and makes the engine more reactive.
for beginners:
use a higher value for cleaner zones.
use a lower value only if you want more sensitivity.
active legs
this controls how many confirmed swing legs are used by the confluence engine.
more legs create more historical fibonacci levels and more possible confluence.
fewer legs focus only on recent market structure.
for beginners:
use 4 to 6 legs for a balanced view.
use more legs if you want a wider historical confluence map.
min leg range
this filters out small swing legs.
the value is based on atr.
if a leg is too small, the script ignores it because small legs can create weak or noisy fibonacci levels.
for beginners:
increase this value if the chart has too much noise.
decrease it if the script finds too few zones.
zone width
this controls the width of each fibonacci confluence zone.
the value is based on atr.
a higher value creates wider zones and groups more levels together.
a lower value creates tighter zones and separates levels more aggressively.
for beginners:
use a moderate value to avoid zones that are too wide or too fragmented.
minimum block gap
this controls the minimum space between displayed blocks.
if two zones touch, overlap, or become too close, they are merged so the chart remains clean.
this is important because zones should not stack on top of each other.
for beginners:
increase this value if the zones look too close.
decrease it if you want more detailed separation.
max confluence zones
this controls how many confluence zones can be displayed.
a lower value gives a cleaner chart.
a higher value shows more market structure.
for beginners:
start with 4 to 6 zones.
increase only if you need more context.
min overlap to qualify
this defines how many fibonacci levels must overlap before a zone becomes valid.
a higher value makes zones more selective.
a lower value allows more zones to appear.
for beginners:
use a higher value for stronger zones.
use a lower value only if the market has too few visible zones.
atr length
this controls the atr calculation used for zone width, minimum range, and spacing.
a higher value makes the system smoother.
a lower value makes it react faster to recent volatility.
for beginners:
use 50 for stable behavior.
lower it if you want faster adaptation.
s-tier overlap
this defines the minimum overlap needed for a zone to become s-tier.
s-tier is the strongest classification.
these zones represent the highest fibonacci concentration.
a-tier overlap
this defines the minimum overlap needed for a zone to become a-tier.
a-tier zones are strong but not as extreme as s-tier zones.
b-tier overlap
this defines the minimum overlap needed for a zone to become b-tier.
b-tier zones are medium confluence areas.
c-tier zones
c-tier is used when a zone qualifies but does not reach b-tier, a-tier, or s-tier strength.
enable walk-forward respect percent
this enables the respect percentage calculation.
the script checks how price reacts after a zone exists.
this is cleaner than testing a current zone on old data before the zone was created.
respect window
this controls how many bars are used to measure zone respect.
a larger window gives more historical reaction data.
a smaller window focuses on recent behavior.
for beginners:
use 300 bars for a balanced reading.
min touches to score
this defines the minimum number of touches needed before the respect percentage is considered valid.
if a zone has too few touches, the statistic is not reliable.
for beginners:
keep this at 2 or higher.
show real volume micro profile
this displays a micro profile inside each zone.
the profile uses the real volume available from the chart and distributes it across the zone according to the candle overlap with the zone.
this is not tick-by-tick volume at price. it is the most realistic stable approximation available from regular candle volume in pine.
show right density micro profile
this displays a technical density profile on the right side of each zone.
it helps visualize which parts of the zone had more interaction, pressure, or volume.
right density source
this selects what the right-side density profile is based on.
volume:
uses chart volume.
touch density:
counts how often price interacts with each part of the zone.
reaction pressure:
measures candle reaction strength around the zone.
composite:
combines volume when available with interaction and reaction pressure.
for beginners:
use composite for the most balanced profile.
profile window
this controls how many bars are scanned to build the internal and right-side profiles.
a larger value gives more historical context.
a smaller value focuses on recent market behavior.
for beginners:
use 300 bars as a balanced default.
micro profile rows
this controls how many rows are displayed inside each zone.
more rows give more detail but use more drawing objects.
fewer rows are cleaner and lighter.
for beginners:
use 6 to 8 rows.
max internal profile length
this controls the maximum length of the internal micro profile bars inside each zone.
a higher value makes profile bars longer and more visible.
a lower value keeps the blocks cleaner.
minimum cell width
this ensures every profile row remains visible even when volume or density is low.
this helps every zone keep a technical structure instead of appearing empty.
show volume delta in labels
this adds bull and bear volume difference information into the zone label.
a positive delta means more bullish volume pressure.
a negative delta means more bearish volume pressure.
show confluence zones
this turns the main fibonacci confluence blocks on or off.
when disabled, the engine still calculates data, but the blocks are hidden.
zone history length
this controls how far the zone blocks extend into the past.
a higher value makes zones longer.
a lower value keeps the chart more compact.
show density profile right
this displays the right-side profile structure.
this is useful for quickly comparing zone strength and internal distribution.
profile max length
this controls the maximum visual length of the right-side density profile.
higher values make strong profiles longer.
lower values keep the profile compact.
show zone labels
this shows or hides zone labels.
labels can display the tier, overlap count, price level, respect percentage, delta, and pressure information.
show dominant reference fib
this displays the dominant reference fibonacci from the most important recent leg.
this helps the trader understand which recent swing is guiding the current fibonacci map.
show fibonacci time zones
this displays vertical fibonacci time projections from the latest confirmed pivot.
these are not price signals.
they are timing reference points where the trader can watch for possible market reaction.
show dashboard
this shows the institutional dashboard.
the dashboard summarizes bias, active legs, zones found, top zone, magnets, price position, respect information, and engine status.
dashboard position
this controls where the dashboard appears on the chart.
available positions:
top right
top left
bottom right
bottom left
middle right
bull / b-tier color
this controls the color used for bullish or b-tier visual elements.
bear / a-tier color
this controls the color used for bearish or a-tier visual elements.
singularity / s color
this controls the color used for the strongest s-tier zones.
neutral / c color
this controls the color used for lower-tier or neutral elements.
panel background
this controls the dashboard background color.
panel border
this controls the dashboard border color.
mini tutorial for beginners
step 1: start with clean settings
keep the default settings first.
do not change everything immediately.
the script is designed to find fibonacci confluence zones from confirmed swing legs, so you should first observe how the zones behave on your market and timeframe.
step 2: understand the zones
a zone is an area where several fibonacci levels overlap.
if a zone has a high tier, it means more fibonacci levels are concentrated there.
s-tier is the strongest.
a-tier is strong.
b-tier is medium.
c-tier is weaker but still qualified.
step 3: use zones as decision areas
do not buy or sell only because price touches a zone.
wait for confirmation.
possible confirmations:
wick rejection
strong candle close
breakout
retest
volume reaction
trend alignment
market structure shift
step 4: read the internal micro profile
inside each zone, the micro profile shows where volume or interaction is concentrated.
a larger internal bar means stronger activity in that part of the zone.
this can help identify whether price is reacting near the top, middle, or bottom of the zone.
step 5: read the right-side density profile
the right-side profile gives a fast technical view of the zone.
if the profile is strong and balanced, the zone has more structural importance.
if the profile is thin, the zone may be weaker or less tested.
step 6: use the respect percentage
respect percentage shows how often price reacted from a zone after the zone existed.
a high respect value can mean the zone has been historically reactive.
a low respect value can mean the zone has been ignored or broken often.
do not use respect percentage alone.
combine it with price action.
step 7: use the magnet targets
the up magnet is the nearest important zone above price.
the down magnet is the nearest important zone below price.
these can be used as possible target areas, resistance areas, support areas, or places where price may slow down.
step 8: use the dashboard
the dashboard gives a quick summary of the current state.
watch:
bias
active legs
zones found
top zone
up magnet
down magnet
price position
respect data
engine status
if the panel says waiting or no qualified zone, the script does not yet have enough valid confluence to display a strong zone.
step 9: choose the right timeframe
for intraday trading, use the script to locate major reaction areas.
for swing trading, use higher timeframes for stronger zones.
zones from higher timeframes often carry more weight than small lower timeframe zones.
step 10: build a simple trading plan
bullish example:
price pulls back into a strong confluence zone.
the zone has a good respect percentage.
the internal profile shows strong activity.
price prints a bullish rejection.
the trader can then watch for a possible long setup.
bearish example:
price rallies into a strong confluence zone.
the zone is a-tier or s-tier.
the right-side profile shows strong interaction.
price rejects with a bearish candle.
the trader can then watch for a possible short setup.
breakout example:
price reaches a strong zone but does not reject.
price closes strongly beyond the zone.
the trader can then watch for continuation or a retest.
best beginner settings
pivot strength:
8 to 12 for cleaner swings.
active legs:
4 to 6 for balanced confluence.
min leg range:
0.5 atr or higher to remove small noisy swings.
zone width:
0.5 to 0.8 atr for practical zone size.
minimum block gap:
increase if zones look too close.
micro profile rows:
6 to 8 for clean internal detail.
right density source:
composite for the most balanced view.
profile window:
300 bars for a balanced profile.
important note
this indicator does not guarantee profit.
fibonacci confluence zones can fail.
a strong zone can break.
a high respect percentage does not guarantee the next reaction.
always use stop loss, position sizing, risk management, and personal confirmation before entering a trade.
the best use of this script is as a technical map of high-interest fibonacci zones, not as an automatic trading system.
Индикатор

Индикатор

Dynamic Pivot Fibo Analytics [MarkitTick]💡 A highly advanced, automated technical analysis tool designed to objectively identify structural market swings and project key Fibonacci retracement and extension levels. By isolating mathematically confirmed pivot highs and lows, the algorithm eliminates the subjective bias traditionally associated with drawing retracement tools manually. The script dynamically maps out critical zones of interest—such as the widely observed Golden Pocket—while continuously evaluating the current price action against these historical vectors. Coupled with a real-time analytical dashboard, it provides traders with a comprehensive breakdown of swing volatility, level proximity, and directional bias, serving as a complete ecosystem for retracement-based methodologies.
✨ Originality and Utility
The primary utility of this script lies in its capacity to transform a traditionally manual and subjective charting process into an automated, mathematically rigorous system. While standard charting platforms require users to manually select anchor points for Fibonacci tools—often leading to inconsistent application—this script programmatically identifies the most statistically relevant extremums based on user-defined lookback periods.
Its originality is further highlighted by its multi-layered filtering architecture. Rather than treating every minor price fluctuation as a valid swing, the script incorporates an objective volatility filter utilizing either the Average True Range (ATR) or a strict percentage threshold. This ensures that only structurally significant market movements are measured, effectively filtering out stochastic market noise. Furthermore, the integration of an on-chart analytical dashboard and a dynamic level-touch highlighting system brings a level of interactive feedback rarely seen in standard visualization tools, allowing traders to instantly gauge the health and maturity of an active swing.
🔬 Methodology and Concepts
● Pivot Extrema Detection
The foundational logic relies on the identification of local minimums and maximums within a continuous time-series dataset. The algorithm evaluates a central candidate bar against a defined window of preceding and succeeding bars. A Pivot High is only confirmed if the candidate's high remains unbreached across the entire evaluation window, ensuring it represents a true structural peak. This mechanism inherently requires a confirmation delay to validate the peak, preventing the erratic shifting of anchors during live price formation.
● Swing Filtering and Validation
Once opposing pivot points are confirmed, the script calculates the absolute price range of the resulting swing. To prevent false positives in low-volatility environments, the script applies a normalization filter. It evaluates the raw swing range against either a fractional multiplier of the current ATR or a static percentage of the asset's price. Swings failing to meet this geometric threshold are automatically discarded, preserving chart clarity.
● Fibonacci Mathematics and Zonal Mapping
Upon validating a swing, the algorithm applies standard Fibonacci sequence ratios to the defined price vector. It calculates core retracements (0.236, 0.382, 0.500, 0.618, 0.786) and projects mathematical extensions (1.272, 1.618, 2.000) for target mapping. The script specifically isolates the 0.618 to 0.650 region, commonly referred to as the Golden Pocket, rendering it as a distinct filled zone to highlight its historical significance as an area of mean reversion.
🎨 Visual Guide
● Main Chart Elements
Swing Line: A distinct, solid line directly connecting the anchored Pivot Low and Pivot High, visually defining the active vector being measured.
0.000 and 1.000 Anchors: The baseline extremums of the swing, marked by precise labels and dashed/dotted lines to indicate the absolute boundaries of the measured range.
Key Retracement Levels (0.382 & 0.618): Rendered with emphasized, dashed lines to denote their elevated importance in traditional retracement theory. The 0.618 level utilizes a distinct gold color to draw the user's attention.
Minor Retracement Levels (0.236, 0.500, 0.786): Displayed using subtle, dotted lines to provide contextual support without overwhelming the primary visual hierarchy.
Golden Pocket Fill: A translucent shaded region spanning the area between the 0.618 and 0.650 price coordinates, serving as a primary zone of interest for exhaustion.
Touch Highlights: When the current price intersects any active Fibonacci line, the line's color dynamically shifts (defaulting to white), providing immediate visual feedback of level interaction.
Historical Swings: If enabled, the script retains ghosted, dotted representations of previously confirmed swings, allowing users to analyze past interactions without cluttering the active setup.
● Dashboard Elements
Direction: A color-coded textual readout confirming whether the active, validated swing is Bullish or Bearish.
Swing Range: A visual block-bar representation (scaling from 0 to 10) evaluating the magnitude of the current swing relative to the prevailing ATR.
Key Levels: Direct, high-precision price readouts for the critical 0.382 and 0.618 levels.
Levels Touched: A scoring metric visualizing how many individual Fibonacci levels the current price action has interacted with since the setup was confirmed.
0.618 Proximity: A dynamic strength bar indicating how close the current price is to the Golden Ratio, aiding in the anticipation of level tests.
Setup Age: A raw bar-count indicating the duration since the swing anchor was established.
📖 How to Use
Setup Identification: Apply the script to your chart and observe the automated generation of the Swing Line. The script will wait for the defined lookback period to confirm a pivot before drawing the corresponding Fibonacci grid.
Trend Context: Use the Dashboard to immediately confirm the direction and strength of the swing. A high Swing Range score indicates a robust structural move, lending higher confidence to the subsequent retracement levels.
Zone Monitoring: Focus attention on the highlighted Golden Pocket zone. As price retraces into this filled area, monitor for deceleration or reversal patterns. The built-in proximity score on the dashboard will alert you as price nears this critical threshold.
Interaction Feedback: Watch for the dynamic Touch Highlights. When a level changes color, it confirms that price has officially probed that mathematical coordinate.
Alert Automation: Instead of manually monitoring the chart, configure the script's alert parameters to notify you strictly when price touches a key level (such as the 0.382 or 0.618), streamlining your analytical workflow.
⚙️ Inputs and Settings
Swing Settings: Controls the structural strictness of the algorithm. Adjusting the "Left Bars" alters the required validation period for a pivot, while "Extend Lines" controls the horizontal projection length of the drawn levels.
Swing Filter: Toggles the volatility validation on or off. Users can select between an "ATR" multiplier or a pure "Percent" requirement, establishing the minimum acceptable size for a swing to be plotted.
Direction Filter: Allows the user to isolate the script's output to strictly Long setups, strictly Short setups, or Both simultaneously.
Fib Extensions & Golden Pocket: Provides granular control over the visibility and aesthetic rendering of the >1.000 extension levels and the specialized 0.618-0.650 fill zone.
Level Touch Alerts: Configuration options for automating notifications. Users can toggle alerts for specific key levels, all levels collectively, and customize the visual highlight color triggered by these interactions.
Historical Swings: Defines the quantity of past setups to retain on the chart for retrospective analysis.
Dashboard Settings: Customization parameters for the analytical table's background and text colors to ensure readability across different chart themes.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The theoretical foundation of this script intersects two distinct disciplines of market analysis: algorithmic extremum detection and geometric proportion analysis.
The extremum detection relies on a localized peak-trough evaluation algorithm. By isolating a data point and verifying that its scalar value is strictly greater than (or less than) all corresponding values within a symmetric `n`-period domain, the script establishes a mathematically unassailable structural node. This method effectively filters out continuous monotonic sequences and isolates true inflection points in the time-series data.
To prevent the algorithm from validating micro-fluctuations inherent in random walk market environments, it employs a normalization technique using Average True Range (ATR). ATR provides a dynamic measure of standard deviation over time. By forcing the absolute scalar difference between two validated extremums to exceed a fractional coefficient of the ATR, the script ensures that the analyzed vector falls outside the bounds of standard market noise, thereby validating its statistical significance.
Once the vector is established, the script applies the principles of the Fibonacci sequence—a recursive mathematical progression where the ratio of successive terms converges on Phi (approximately 1.618). In the context of market dynamics, these ratios (particularly their inverses and square roots, such as 0.618 and 0.382) have been empirically observed to act as psychological focal points for mass market behavior. The script translates these geometric proportions into static coordinate thresholds, creating a structured, grid-based framework for evaluating the amplitude and potential exhaustion points of counter-trend market phases.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Индикатор

Fibonacci Retracement Statistics by VolProfexFIBONACCI RETRACEMENT STATISTICS BY VOLPROFEX
=============================================
DESCRIPTION
-----------
Fibonacci Retracement Statistics is an analysis tool that
automatically detects price swings, tracks retracements within each trend,
and calculates how often price retraces to various Fibonacci levels. The
indicator labels every completed swing with its swing number and deepest
fib level reached (e.g. "▲ #12 78.6%"), and displays a statistics table
showing the count and percentage of swings reaching each level.
All visual elements (trend boxes, fib lines, retracement boxes, labels, and
the statistics table) are drawn only on the last chart bar, keeping the
indicator performant during real-time scrolling. Retracement labels update
in real time so you always see the current value for the active swing.
HOW IT WORKS
------------
1. SWING DETECTION (ATR-Deviation ZigZag)
A volatility-adaptive ZigZag engine finds pivot highs and lows. A pivot
is confirmed when price moves against the current leg by at least
ATR(period) × deviation multiplier. A minimum swing size filter discards
insignificant wiggles. A spike filter rejects reversals triggered by
bars with extreme wick-to-body ratios.
2. HIGHER-TIMEFRAME (HTF) CONTEXT (optional)
When enabled, the indicator loads data from a higher timeframe (default: 1h)
and runs the same ZigZag engine on it. Completed HTF swings are drawn as
translucent boxes on the chart. Local swings are filtered to only count
when their direction matches the HTF swing they fall inside. This removes
counter-trend noise within the larger structure.
A separate gate ("Exclude Retracements outside HTF swing") further filters
retracement contributions: only retracements where both the trend leg and
the counter-trend leg fall inside the same completed HTF box are counted
in statistics and drawn on the chart.
3. TREND & RETRACEMENT TRACKING
Alternating pivot types (high → low → high → ...) create directional
trends. For each unfinalised trend, the indicator tracks the extreme
retracement price bar by bar. When the trend completes, the retracement
percentage is calculated using the actual counter-trend leg. This value is
then compared against each enabled Fibonacci level.
4. FIBONACCI LEVEL COUNTING
A cumulative counting system tallies how many trends have retraced to
each enabled level. Levels available include: 23.6%, 38.2%, 50.0%, 61.8%,
78.6%, 88.6%, 100.0%, 127.2%, 138.2%, 150.0%, 161.8%, plus up to 5
custom levels (0–500%). The statistics table is split into UP and DOWN
sections, each with its own Level / Count / Percent columns.
5. INTRADAY TIME WINDOW (optional)
On intraday charts, you can set a session window (e.g. 09:30–16:00) to
restrict which swings are analysed. Choose between "Pivot Confirmed Inside"
(the confirming bar's timestamp must fall in the window) or "Full Cycle
Inside" (both the pivot start and confirmation must fall in the window).
A visual box overlay can be enabled to highlight the active window.
6. SPIKE FILTER
Optionally discard ZigZag reversals triggered by bars where the upper or
lower wick exceeds the body by a user-defined ratio. This helps avoid
false pivot signals from sudden, low-liquidity spikes.
SETTINGS REFERENCE (defaults optimised for BTCUSDT, 5m chart, 1h HTF)
---------------------------------------------------------------------
── SWING ENGINE ──
- ATR Period: 14
Period for ATR calculations. Shared by local ZigZag and HTF swing detection.
- ZigZag Deviation Multiplier (ATR ×): 3.0
Pivot confirmed when price reverses by ATR × this value.
- Min Swing Size (ATR multiple): 0.8
Legs smaller than ATR × this are discarded. Set 0 to disable.
── HTF CONTEXT ──
- Use Higher Timeframe Swing Context: ON
When enabled, local swings are counted only when their direction matches the
current HTF swing bias.
- HTF Timeframe: 60
Higher timeframe for context. Must be higher than the chart timeframe.
- HTF Swing Deviation (ATR ×): 3.5
ATR multiplier for HTF pivot reversals.
- HTF Min Swing Size (ATR ×): 1.5
Minimum leg size for HTF swings. Set 0 to disable.
- Exclude Retracements outside HTF swing: ON
When enabled, only retracements fully contained within a completed HTF swing
box contribute to statistics and visual output.
- Show HTF Swings: ON
Draws HTF major swing boxes on the chart (Blue = upswing, Red = downswing).
- HTF Bull Color / HTF Bear Color: Blue (50% transp) / Red (50% transp)
── FIBONACCI LEVELS ──
- Levels enabled by default: 23.6%, 38.2%, 50.0%, 61.8%, 78.6%, 100.0%,
138.2%, 161.8%
- 5 custom level slots, each 0.0–500.0%. Set to 0.0 to disable. Default: all 0.0
── FILTERS ──
- Trend Direction: Both
Options: Both / Uptrends Only / Downtrends Only
- Use Intraday Time Window: OFF
When ON, applies a daily clock window on intraday charts.
- Window Session: 0930-1600
- Window Mode: Pivot Confirmed Inside
Options: Pivot Confirmed Inside / Full Cycle Inside
- Window Timezone: Exchange (uses the symbol's exchange timezone)
- Show Time Window Box: OFF
Visual box highlighting the active intraday window.
- Enable Spike Filter: ON
Discard reversals triggered by spike bars.
- Max Wick-to-Body Ratio: 4.0
Threshold for spike detection (wick ≥ this × body).
── DISPLAY ──
- Show Trend Boxes: ON (Border Width: 1)
Bullish: Teal / Bearish: Maroon
- Show Fib Lines: ON (Width: 1, Style: Dashed, Color: Gray at 60% transp)
- Show Fib Labels: ON (Position: Right, Vertical: Center, Size: Small, Color: White)
- Show Retracement Boxes: ON (Color: Orange at 40% transp)
- Show Retracement Labels: ON (Position: Center, Vertical: Below, Size: Small, Color: Yellow)
- Max Trends Drawn: 50 (1–500)
── TABLE ──
- Table Position: Top Right
- Font Size: Small
VISUAL OUTPUT
-------------
1. Trend Boxes: Translucent coloured boxes spanning each completed swing leg.
2. Fib Lines & Labels: Dashed (or solid/dotted) lines at each Fibonacci level
with optional percentage labels on every completed swing.
3. Retracement Boxes: Overlay boxes on the counter-trend leg with a connecting
diagonal line, colour-coded by trend direction.
4. Retracement Labels: Labels on each retracement showing:
- Arrow direction (▲ = uptrend, ▼ = downtrend)
- Filtered swing number
- Deepest Fibonacci level reached
5. HTF Swing Boxes: Larger translucent boxes showing higher-timeframe swing
structure (blue = up, red = down).
6. Statistics Table: A table in one of four corners displaying:
- Level | Count | Percent for uptrends (teal header)
- Level | Count | Percent for downtrends (maroon header) Индикатор

ATR & Fibonacci Expansion ZonesATR & Fibonacci Expansion Zones is a multi-mode ATR framework designed to help traders read price location, volatility expansion, session structure, and active high/low range context. The script is built around a simple but powerful idea: ATR levels can provide a volatility-adjusted map of how far price has moved from a meaningful close reference. From there, the workflow adds flexible mode selection, organized ATR labels, optional historical ATR periods, mode-aware AVWAPs, active high/low zones, and fibonacci labels that correspond to a respective level within the enabled mode.
────────────────────────────
Core Idea
────────────────────────────
ATR (actual true range) is powerful because it gives price movement a volatility-adjusted frame of reference.
This script helps traders evaluate:
• How far price has expanded from the selected close anchor
• Whether price is still near the first ATR expansion zone or already extended
• Whether price is approaching a major +1, +2, +3, or +4 ATR area
• Whether price is reacting around an active session high/low zone
• Where price is trading inside the active session fibonacci range
• Which ATR mode best frames the current move: Daily, Multiday, Swing, Position, or Long-Term
That makes the script useful for intraday context, multiday moves, swing structure, position-style tracking, and longer-term range mapping.
────────────────────────────
ATR Modes
────────────────────────────
The script renders one selected ATR engine at a time. This keeps the chart cleaner than stacking multiple ATR families together.
Included modes:
Daily
Uses the daily ATR framework. Best for day/session-level context on intraday charts.
Multiday
Uses the weekly ATR framework. Best for trades developing across multiple sessions.
Swing
Uses the monthly ATR framework. Best for larger swing-style movement.
Position
Uses a 3-month ATR framework. Best for broader position-style context.
Long-Term
Uses a 12-month ATR framework. Best for major range structure and larger macro-style moves.
All modes can render the full 23.6% through 400% ATR expansion range, with separate line and label controls for each major range block.
────────────────────────────
ATR Expansion Grid
────────────────────────────
The main ATR grid plots upper and lower ATR expansion levels from the selected close anchor.
The grid includes:
• 23.6% to 100%
• 123.6% to 200%
• 223.6% to 300%
• 323.6% to 400%
Each range has its own parent Show / Hide controls for lines and labels, plus child controls for upper and lower sides. This makes it easier to keep the chart simple when only the closer ATR levels matter, or expand the full map when price is making a larger move.
The labels can show:
• ATR ratio
• ATR level price
• selected mode tag
• percent distance from current price
That percent-from-price read helps make the grid more practical because you can quickly see how close price is to the next ATR level instead of visually estimating it or using the info line tool.
────────────────────────────
Previous / Current Close Reference
────────────────────────────
The PCL / CC line and label show the active close reference used by the selected ATR grid. Depending on the selected mode and settings, this can represent:
• Previous Close
• Current Close
• Daily close reference
• Weekly close reference
• Monthly close reference
• 3-month close reference
• 12-month close reference
The label can also show close-to-close percent change and RSI(14) from the selected ATR timeframe. This is important because the close anchor is the foundation of the ATR grid. The script keeps that reference visible so the user can see exactly where the ATR expansion map begins.
────────────────────────────
ATR Session AVWAPs
────────────────────────────
The script includes mode-aware ATR Session AVWAPs. These are not static VWAPs. They follow the currently selected ATR mode. Depending on the mode, the AVWAP set can reset from:
• the active day/session
• the active week
• the active month
• the active 3-month period
• the active 12-month period
Included AVWAP paths:
• Session VWAP
• High AVWAP
• Low AVWAP
The Session VWAP starts from the active ATR period/session start. The High AVWAP anchors from the candle that creates the active period high. The Low AVWAP anchors from the candle that creates the active period low. When a new active high or low forms, the matching AVWAP re-anchors.
In practical terms:
• ATR levels show volatility expansion from the selected close anchor
• AVWAPs show volume-weighted behavior from the active period structure
• High/Low AVWAPs help track how price behaves after major active-period extremes form
This adds a useful volume-weighted layer around the ATR map.
────────────────────────────
ATR Session High / Low Boxes
────────────────────────────
The script can also draw active high and low boxes for the selected ATR session or period.
The High Box starts from the candle that creates the active high.
The Low Box starts from the candle that creates the active low.
These boxes are wick-based, which makes them useful for highlighting rejection zones, liquidity wicks, exhaustion candles, or important high/low reference areas inside the active ATR period.
────────────────────────────
ATR Session Fibonacci Labels (levels)
────────────────────────────
ATR Session Fibonacci Labels add another layer of context beside the ATR grid.
The ATR grid answers:
“How far has price expanded from the selected close anchor?”
The session fib labels answer:
“Where is price trading inside the active high-to-low range?”
The fib labels use the same active high and low tracked by the AVWAP and high/low box engines.
Direction is inferred automatically:
• If the low formed before the high, the script treats it as a bullish session leg
• If the high formed before the low, the script treats it as a bearish session leg
The fib labels can show:
• fib ratio
• price
• percent distance from current price
This creates a clean second layer of structure: ATR levels for expansion, fib labels for internal active-range location.
────────────────────────────
Historical ATR Periods
────────────────────────────
The script includes an optional Historical ATR Periods mode. When enabled, prior ATR grid segments can remain visible for a user-defined number of completed ATR periods.
This is useful for reviewing:
• how price respected previous ATR levels
• where prior extensions acted as support or resistance
• whether price repeatedly reacted around certain volatility zones
• how current ATR behavior compares to prior periods
Historical labels are intentionally excluded to keep the chart cleaner. The historical mode focuses on line segments only.
────────────────────────────
Asset-Aware Behavior
────────────────────────────
The script includes separate behavior for stocks, crypto, and futures.
For stocks and funds:
• ATR calculations can use regular or extended-session source data
• Daily lines can start from regular open or extended open
• Daily AVWAPs, boxes, and fib labels can reset from the extended-session / premarket day start when available
• Higher-timeframe stock modes wait for the first regular-hours bar of the new period for cleaner visual alignment
For crypto:
• the chart ticker is used
• Daily mode resets once per calendar day
For futures:
• the chart ticker is used
• Daily mode uses a Globex-style 5:00 PM Central session boundary
• higher-timeframe modes reset from the selected W / M / 3M / 12M ATR period boundary
This makes the script more flexible across different asset classes instead of treating every market like a regular-hours stock chart.
────────────────────────────
How I Use It
────────────────────────────
I use this script as a volatility and structure map.
A few practical ways to read it:
• Daily mode helps frame intraday price movement around the active daily ATR grid
• Multiday mode helps show where price is trading inside the weekly ATR structure
• Swing mode is useful when the daily chart is too narrow and the monthly range matters more
• Position and Long-Term modes help zoom out and understand broader extension zones
• PCL (previous close) / CC (current close) keeps the close anchor visible
• The Auto close-anchor setting is especially useful for Daily stock mode because it automatically adapts between Current Close during New York premarket / after-hours and Previous Close during regular market hours
• This means the ATR grid can stay aligned with the session environment without forcing the user to manually decide when to use PCL or CC
• During premarket and after-hours, Current Close helps the levels respond to the active extended-hours move
• During regular hours, Previous Close keeps the main daily ATR map anchored to the completed prior session
• The price guide dash makes it easier to line up current price with the ATR label column
• High/Low Boxes help mark active wick-based extremes
• Session AVWAPs add a volume-weighted path from the active period and its extremes
• Session Fib Labels show internal retracement context inside the active high/low range
• Historical ATR Periods help review how price behaved around prior ATR grids
The Auto close-anchor behavior is one of the most practical parts of the workflow. Premarket and after-hours trading can make a static previous-close grid feel disconnected from the live move, while regular-hours trading often benefits from keeping the prior close as the main reference. Auto handles that transition in the background so the ATR levels remain tied to the most relevant close reference for the active session. In other words, you don't have to decide when to use "Use Current Close" depending on if your'e in pre-market or regular trading hours.
The value of this script is organization. It brings ATR expansion, close-reference context, session extremes, AVWAP structure, and active-range fib location into one chart-side workflow.
ATR levels by themselves can already be useful but this script expands that idea into a fuller range map so traders can better judge whether price is early in a move, pressing into extension, reacting from an active extreme, or moving through a broader volatility structure.
────────────────────────────
Attribution
────────────────────────────
This script is a modern rebuild inspired by Saty’s ATR Levels concept and my original ATR Levels publication.
Special thanks to SimpleCryptoLife for past help and inspiration around improving the original ATR Levels workflow and for the Significant Figures library used for cleaner number formatting.
As always, this is a visual context tool. It is not meant to replace risk management, market structure, support/resistance, volume analysis, or a complete trading plan.
────────────────────────────
A Few Chart Examples
────────────────────────────
Индикатор

Индикатор

Индикатор

Auto Session Fib (Daily / Weekly)Session-Anchored Fibonacci (RTH Only)
Automatically tracks the Regular Trading Hours session (09:30–16:00).
Fibonacci levels are built only from session high and low, not overnight noise.
Levels dynamically update throughout the session and anchor precisely at 09:30.
Session levels plotted:
High / Low
50% retracement
61.8%, 78.6%, 88.6% (bullish and bearish interpretations)
These levels are intended for intraday execution, not bias.
2️⃣ Previous Week Fibonacci (Market Context)
Displays previous week High, Low, and Fibonacci retracements.
Lines are confined strictly to the prior week (no overlap into the current week).
Levels are shown in a faint gray to distinguish context from execution.
Each key fib level includes descriptive labels, not just numbers:
61.8% → Golden Zone anchor
78.6% → Deep pullback / last defense
88.6% → Trend failure / trap zone
These are decision-framing levels, designed to help identify where trends either hold or fail.
3️⃣ Previous Day Extension Zones (Expansion Targets)
Calculates previous day range and projects:
+1.618 / +1.786
−1.618 / −1.786
Draws filled zones (no borders) between:
1.618 ↔ 1.786
−1.618 ↔ −1.786
Boxes extend only across the current RTH session.
These zones represent expansion / exhaustion areas, not reversal signals by themselves.
4️⃣ RSI Turn Signals (Clean, Non-Repainting)
Uses a standard RSI, with:
Adjustable length
Adjustable overbought / oversold levels
Optional independent RSI timeframe (can differ from chart TF)
Signals trigger only on a turn, not while RSI remains extreme:
Buy: RSI crosses up through oversold
Sell: RSI crosses down through overbought
This indicator is built to answer three questions:
Where am I relative to important structure?
Is price extended or mean-reverting?
Is there a confirmed momentum turn? Индикатор

Metallic Retracement ToolI made a version of the Metallic Retracement script where instead of using automatic zig-zag detection, you get to place the points manually. When you add it to the chart, it prompts you to click on two points. These two points become your swing range, and the indicator calculates all the metallic retracement levels from there and plots them on your chart. You can drag the points around afterwards to adjust the range, or just add the indicator to the chart again to place a completely new set of points.
The mathematical foundation is identical to the original Metallic Retracement indicator. You're still working with metallic means, which are the sequence of constants that generalize the golden ratio through the equation x² = kx + 1. When k equals 1, you get the golden ratio. When k equals 2, you get silver. Bronze is 3, and so on forever. Each metallic number generates its own set of retracement ratios by raising alpha to various negative powers, where alpha equals (k + sqrt(k² + 4)) / 2. The script algorithmically calculates these levels instead of hardcoding them, which means you can pick any metallic number you want and instantly get its complete retracement sequence.
What's different here is the control. Automatic zig-zag detection is useful when you want the indicator to find swings for you, but sometimes you have a specific price range in mind that doesn't line up with what the zig-zag algorithm considers significant. Maybe you're analyzing a move that's still developing and hasn't triggered the zig-zag's reversal thresholds yet. Maybe you want to measure retracements from an arbitrary high to an arbitrary low that happened weeks apart with tons of noise in between. Manual placement lets you define exactly which two points matter for your analysis without fighting with sensitivity settings or waiting for confirmation.
The interactive placement system uses TradingView's built-in drawing tools, so clicking the two points feels natural and works the same way as drawing a trendline or fibonacci retracement. First click sets your starting point, second click sets your ending point, and the indicator immediately calculates the range and draws all the metallic levels extending from whichever point you chose as the origin. If you picked a swing low and then a swing high, you get retracement levels projecting upward. If you went from high to low, they project downward.
Moving the points after placement is as simple as grabbing one of them and dragging it to a new location. The retracement levels recalculate in real-time as you move the anchor points, which makes it easy to experiment with different range definitions and see how the levels shift. This is particularly useful when you're trying to figure out which swing points produce retracement levels that line up with other technical features like previous support or resistance zones. You can slide the points around until you find a configuration that makes sense for your analysis.
Adding the indicator to the chart multiple times lets you compare different metallic means on the same price range, or analyze multiple ranges simultaneously with different metallic numbers. You could have golden ratio retracements on one major swing and silver ratio retracements on a smaller correction within that swing. Since each instance of the indicator is independent, you can mix and match metallic numbers and ranges however you want without one interfering with the other.
The settings work the same way as the original script. You select which metallic number to use, control how many power ratios to display above and below the 1.0 level, and adjust how many complete retracement cycles you want drawn. The levels extend from your manually placed swing points just like they would from automatically detected pivots, showing you where price might react based on whichever metallic mean you've selected.
What this version emphasizes is that retracement analysis is subjective in terms of which swing points you consider significant. Automatic detection algorithms make assumptions about what constitutes a meaningful reversal, but those assumptions don't always match your interpretation of the price action. By giving you manual control over point placement, this tool lets you apply metallic retracement concepts to exactly the price ranges you care about, without requiring those ranges to fit someone else's definition of a valid swing. You define the context, the indicator provides the mathematical framework. Индикатор

Metallic Retracement LevelsThere's something that's always bothered me about how traders use Fibonacci retracements. Everyone treats the golden ratio like it's the only game in town, but mathematically speaking, it's completely arbitrary. The golden ratio is just the first member of an infinite family of metallic means, and there's no particular reason why 1.618 should be special for markets when we have the silver ratio at 2.414, the bronze ratio at 3.303, and literally every other metallic mean extending to infinity. We just picked one and decided it was magical.
The metallic means are a sequence of mathematical constants that generalize the golden ratio. They're defined by the equation x² = kx + 1, where k is any positive integer. When k equals 1, you get the golden ratio. When k equals 2, you get the silver ratio. When k equals 3, you get bronze, and so on forever. Each metallic mean generates its own set of ratios through successive powers, just like how the golden ratio gives you 0.618, 0.382, 0.236 and so forth. The silver ratio produces a completely different set of retracement levels, as does bronze, as does any arbitrary metallic number you want to choose.
This indicator calculates these metallic means using the standard alpha and beta formulas. For any metallic number k, alpha equals (k + sqrt(k² + 4)) / 2, and we generate retracement ratios by raising alpha to various negative powers. The script algorithmically generates these levels instead of hardcoding them, which is how it should have been done from the start. It's genuinely silly that most fib tools just hardcode the ratios when the math to generate them is straightforward. Even worse, traditional fib retracements use 0.5 as a level, which isn't even a fibonacci ratio. It's just thrown in there because it seems like it should be important.
The indicator works by first detecting swing points using the Sylvain Zig-Zag . The zig-zag identifies significant price swings by combining percentage change with ATR adjustments, filtering out noise and connecting major pivot points. This is what drives the retracement levels. Once a new swing is confirmed, the script calculates the range between the last two pivot points and generates metallic retracement levels from the most recent swing low or high.
You can adjust which metallic number to use (golden, silver, bronze, or any positive integer), control how many power ratios to display above and below the 1.0 level, and set how many complete retracement cycles you want drawn. The levels extend from the swing point and show you where price might react based on whichever metallic mean you've selected. The zig-zag settings let you tune the sensitivity of swing detection through ATR period, ATR multiplier, percentage reversal, and additional absolute or tick-based reversal values.
What this really demonstrates is that retracement analysis is more flexible than most traders realize. There's no mathematical law that says markets must respect the golden ratio over any other metallic mean. They're all valid mathematical constructs with the same kind of recursive properties. By making this tool, I wanted to highlight that using fibonacci retracements involves an arbitrary choice, and maybe that choice should be more deliberate or at least tested against alternatives. You can experiment with different metallic numbers and see which ones seem to work better for your particular market or timeframe, or just use this to understand that the standard fib levels everyone uses aren't as fundamental as they appear. Индикатор

Intraday Fibs RetracementFibonacci (Fibs) levels are often used by traders as a way to find support and resistance, based on the Fibonacci sequence. These levels are widely used in technical analysis to identify potential reversal points in the price of an asset.
Fibs retracement draws lines at these Fibs level between a significant high and low point on a price chart.
What it shows:
This indicator will automatically draw Fibs Retracement Levels on your chart without any manual work.
It is designed to be used for day trading, especially in scenarios where a ticker gaps up/down large compared to the prior day close. (i.e. scenario where the difference of day's open and prior day close is large)
The drawing will happen on each trading day the moment trading hours open, and will NOT draw during pre-market and post-market.
User can see the line of each Fibs level, labelled with the Fib percentage and price value for the corresponding levels.
User will specify a start and end point of Fibs and based on the choice the indicator will automatically compute the other user defined Fibs levels and display on the chart.
How to use it:
The Fib levels drawn can be a potential support and resistance zone. Therefore in scenario where you already have a position and are approaching one of these levels it could be a point to close out some or all the position as you are approaching a resistance. On the other hand when price do approach these levels you could enter a position for a reversal trade. These are few ways to use the indicator but there are other ways that can be used, which can be found out by researching "Fibonacci (Fibs) Retracement".
In the example on the chart you can see a price bounce from the 0.7886 Fibs level on this particular day, where the price gapped up and was coming down after market hours opened.
Key settings:
1. Fibs Retracement Start and end Point: User selects where the Fibs levels should be drawn.
Available Options are:
Start Points:
Market Open
Market Open High (Dependent on the time frame you are on)
Pre-market High
Day's High
End Points:
Previous Day Close
Previous Day Low
Previous Day High
Pre-market Low (Current Day)
Day's Low
2. Custom Fib Levels: User can manually enter the Fib levels they want to see. (Max 9)
Default values are: 0,0.236,0.382,0.5,0.618,0.786,1,1.618,2.618.
3. Display settings: User can specify the line colour, thickness and style.
4. Label Setting: User can choose to turn on/off the labels for the each Fibs Level. Label will show the fib percentage and the corresponding price. User can also choose the location of the labels, defined by an offset from the current candle.
----------------------------------------------------------------------
If anything is not clear please let me know! Индикатор

GIGANEVA V6.61 PublicThis enhanced Fibonacci script for TradingView is a powerful, all-in-one tool that calculates Fibonacci Levels, Fans, Time Pivots, and Golden Pivots on both logarithmic and linear scales. Its ability to compute time pivots via fan intersections and Range interactions, combined with user-friendly features like Bool Fib Right, sets it apart. The script maximizes TradingView’s plotting capabilities, making it a unique and versatile tool for technical analysis across various markets.
1. Overview of the Script
The script appears to be a custom technical analysis tool built for TradingView, improving upon an existing script from TradingView’s Community Scripts. It calculates and plots:
Fibonacci Levels: Standard retracement levels (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range.
Fibonacci Fans: Trendlines drawn from a high or low point, radiating at Fibonacci ratios to project potential support/resistance zones.
Time Pivots: Points in time where significant price action is expected, determined by the intersection of Fibonacci Fans or their interaction with key price levels.
Golden Pivots: Specific time pivots calculated when the 0.5 Fibonacci Fan (on a logarithmic or linear scale) intersects with its counterpart.
The script supports both logarithmic and linear price scales, ensuring versatility across different charting preferences. It also includes a feature to extend Fibonacci Fans to the right, regardless of whether the user selects the top or bottom of the range first.
2. Key Components Explained
a) Fibonacci Levels and Fans from Top and Bottom of the "Range"
Fibonacci Levels: These are horizontal lines plotted at standard Fibonacci retracement ratios (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range (the "Range"). The Range is typically the distance between a significant high (top) and low (bottom) on the chart.
Example: If the high is $100 and the low is $50, the 0.618 retracement level would be at $80.90 ($50 + 0.618 × $50).
Fibonacci Fans: These are diagonal lines drawn from either the top or bottom of the Range, radiating at Fibonacci ratios (e.g., 0.382, 0.5, 0.618). They project potential dynamic support or resistance zones as price evolves over time.
From Top: Fans drawn downward from the high of the Range.
From Bottom: Fans drawn upward from the low of the Range.
Log and Linear Scale:
Logarithmic Scale: Adjusts price intervals to account for percentage changes, which is useful for assets with large price ranges (e.g., cryptocurrencies or stocks with exponential growth). Fibonacci calculations on a log scale ensure ratios are proportional to percentage moves.
Linear Scale: Uses absolute price differences, suitable for assets with smaller, more stable price ranges.
The script’s ability to plot on both scales makes it adaptable to different markets and user preferences.
b) Time Pivots
Time pivots are points in time where significant price action (e.g., reversals, breakouts) is anticipated. The script calculates these in two ways:
Fans Crossing Each Other:
When two Fibonacci Fans (e.g., one from the top and one from the bottom) intersect, their crossing point represents a potential time pivot. This is because the intersection indicates a convergence of dynamic support/resistance zones, increasing the likelihood of a price reaction.
Example: A 0.618 fan from the top crosses a 0.382 fan from the bottom at a specific bar on the chart, marking that bar as a time pivot.
Fans Crossing Top and Bottom of the Range:
A fan line (e.g., 0.5 fan from the bottom) may intersect the top or bottom price level of the Range at a specific time. This intersection highlights a moment where the fan’s projected support/resistance aligns with a key price level, signaling a potential pivot.
Example: The 0.618 fan from the bottom reaches the top of the Range ($100) at bar 50, marking bar 50 as a time pivot.
c) Golden Pivots
Definition: Golden pivots are a special type of time pivot calculated when the 0.5 Fibonacci Fan on one scale (logarithmic or linear) intersects with the 0.5 fan on the opposite scale (or vice versa).
Significance: The 0.5 level is the midpoint of the Fibonacci sequence and often acts as a critical balance point in price action. When fans at this level cross, it suggests a high-probability moment for a price reversal or significant move.
Example: If the 0.5 fan on a logarithmic scale (drawn from the bottom) crosses the 0.5 fan on a linear scale (drawn from the top) at bar 100, this intersection is labeled a "Golden Pivot" due to its confluence of key Fibonacci levels.
d) Bool Fib Right
This is a user-configurable setting (a boolean input in the script) that extends Fibonacci Fans to the right side of the chart.
Functionality: When enabled, the fans project forward in time, regardless of whether the user selected the top or bottom of the Range first. This ensures consistency in visualization, as the direction of the Range selection (top-to-bottom or bottom-to-top) does not affect the fan’s extension.
Use Case: Traders can use this to project future support/resistance zones without worrying about how they defined the Range, improving usability.
3. Why Is This Code Unique?
Original calculation of Log levels were taken from zekicanozkanli code. Thank you for giving me great Foundation, later modified and applied to Fib fans. The script’s uniqueness stems from its comprehensive integration of Fibonacci-based tools and its optimization for TradingView’s plotting capabilities. Here’s a detailed breakdown:
All-in-One Fibonacci Tool:
Most Fibonacci scripts on TradingView focus on either retracement levels, extensions, or fans.
This script combines:
Fibonacci Levels: Static horizontal lines for retracement and extension.
Fibonacci Fans: Dynamic trendlines for projecting support/resistance.
Time Pivots: Temporal analysis based on fan intersections and Range interactions.
Golden Pivots: Specialized pivots based on 0.5 fan confluences.
By integrating these functions, the script provides a holistic Fibonacci analysis tool, reducing the need for multiple scripts.
Log and Linear Scale Support:
Many Fibonacci tools are designed for linear scales only, which can distort projections for assets with exponential price movements. By supporting both logarithmic and linear scales, the script caters to a wider range of markets (e.g., stocks, forex, crypto) and user preferences.
Time Pivot Calculations:
Calculating time pivots based on fan intersections and Range interactions is a novel feature. Most TradingView scripts focus on price-based Fibonacci levels, not temporal analysis. This adds a predictive element, helping traders anticipate when significant price action might occur.
Golden Pivot Innovation:
The concept of "Golden Pivots" (0.5 fan intersections across scales) is a unique addition. It leverages the symmetry of the 0.5 level and the differences between log and linear scales to identify high-probability pivot points.
Maximized Plot Capabilities:
TradingView imposes limits on the number of plots (lines, labels, etc.) a script can render. This script is coded to fully utilize these limits, ensuring that all Fibonacci levels, fans, pivots, and labels are plotted without exceeding TradingView’s constraints.
This optimization likely involves efficient use of arrays, loops, and conditional plotting to manage resources while delivering a rich visual output.
User-Friendly Features:
The Bool Fib Right option simplifies fan projection, making the tool intuitive even for users who may not consistently select the Range in the same order.
The script’s flexibility in handling top/bottom Range selection enhances usability.
4. Potential Use Cases
Trend Analysis: Traders can use Fibonacci Fans to identify dynamic support/resistance zones in trending markets.
Reversal Trading: Time pivots and Golden Pivots help pinpoint moments for potential price reversals.
Range Trading: Fibonacci Levels provide key price zones for trading within a defined range.
Cross-Market Application: Log/linear scale support makes the script suitable for stocks, forex, commodities, and cryptocurrencies.
The original code was from zekicanozkanli . Thank you for giving me great Foundation. Индикатор

Индикатор

Candle Fibs [QuantVue]The Candles Fib indicator is designed to help traders find potential levels of support and resistance based on ATR and Fibs.
How the Indicator Works
Identification of Large Candles:
🔹The indicator begins by identifying "large candles" based on their size relative to the Average True Range (ATR).
🔹 ATR (Average True Range) : ATR is a technical analysis indicator that measures market volatility by averaging the true range over a specified period, default 10 periods. The true range is the greatest of the following:
The difference between the current high and current low.
The difference between the previous close and the current high.
The difference between the previous close and the current low.
🔹In this script, a candle is considered "large" if its true range (the difference between the high and low) is at least twice the ATR.
Calculation of Fibonacci Levels:
🔹Once a large candle is identified, the indicator calculates key Fibonacci retracement levels based on the size of the candle.
🔹 Fibonacci Retracement : Fibonacci retracement levels are horizontal lines that indicate where support and resistance are likely to occur. These levels are derived from the Fibonacci sequence, a series of numbers where each number is the sum of the two preceding ones, often found in nature and markets.
🔹The most commonly used Fibonacci retracement levels are 0.382, 0.50, 0.618, and 0.786. In this indicator, the 0.50 and 0.618 levels are used.
Dynamic Plotting and Management of Levels:
🔹The indicator plots these Fibonacci levels as horizontal lines on the chart automatically.
🔹These lines extend as new bars (candlesticks) are formed, allowing the trader to see how the market reacts to these levels in real-time.
Give this indicator a BOOST and COMMENT your thoughts below!
We hope you enjoy.
Cheers! Индикатор

Linear and Logarithmic Fibonacci Levels and FansIntroduction
The Fibonacci Retracement tool is a go-to for traders looking to spot potential support and resistance levels. By measuring the distance between swing highs and lows, you can apply Fibonacci ratios like 0.236, 0.382, and 0.618 to predict key market levels.
Traditionally, these levels are set by dividing this distance into equal parts—known as Linear Levels. A more refined approach, Logarithmic Levels, divides the distance into proportionally equal segments. Plus, this indicator now includes Fibonacci fans, adding another layer of analysis by projecting potential price levels using trendlines based on Fibonacci ratios.
This tool makes it easier to identify both Linear and Logarithmic levels while also leveraging Fibonacci fans for a more complete market view.
Applications
Logarithmic Levels and Fibonacci fans are ideal for volatile markets. In crypto, they’re especially effective for BTCUSDT (check out the wick from January 23, 2024). They also help spot accumulation and distribution patterns in high-volume altcoins like FETUSDT . In traditional markets, they’re useful for tracking stocks like TSLA and NVDA with extreme price swings, as well as indices in inflation-affected markets like XU100 , or recession-hit currency pairs like JPYUSD .
How to Use
This indicator is intuitive and similar to TradingView’s Fibonacci Tool. Select your reference levels (Level 1 and Level 0), then tweak the settings to customize your analysis, including adding Fibonacci fans for extra insights.
Why It’s Different
Unlike TradingView’s tool, which forces you to switch to a logarithmic scale (messing with other indicators and trend lines), this indicator lets you view both Linear and Logarithmic levels—and Fibonacci fans—without changing your chart’s scale. The original Fibonacci Code was derived from zekicanozkanli, modified and upgraded to plot fib fans as well. Индикатор

Intraday Fibonacci Levels [Gorb]Welcome to the Intraday Fibonacci Levels indicator, a dynamic and customizable tool designed for traders who incorporate Fibonacci retracements and extensions into their technical analysis. This indicator focuses on intraday price action, allowing you to select a specific candle from any trading session and visualize crucial Fibonacci levels derived from its high and low prices.
Features:
Candle Selection for Fibonacci Analysis: Select any candle based on its time to plot Fibonacci levels, giving you control over the period of analysis.
Customizable .236 and .618 Fibonacci Levels: Plot and customize the .236 and .618 Fibonacci retracement and extension levels. Adjust color and line style for each level to fit your chart preferences.
User-Friendly Interface: Easy-to-use input fields for selecting the candle time and configuring Fibonacci settings. Intuitive toggle options to display or hide specific Fibonacci levels.
Dynamic Updating: The indicator updates in real-time as new price data is received, ensuring you have the latest Fibonacci levels on your chart.
Usage Case:
This indicator is ideal for day traders and technical analysts who utilize Fibonacci tools to identify potential support and resistance levels, trend reversals, or continuation patterns. Whether you are analyzing a high-impact news event candle or a significant pivot point in the trading day, this indicator helps bring clarity to your Fibonacci-based trading strategy.
Guidelines for Usage:
Use the indicator settings to select the candle time and configure your desired Fibonacci levels. You can choose any time you want, in order to use premarket candles you need to enable electronic hours on your chart to have levels plot from pre/post.
These auto plotted levels can act as pivot points or points of support and resistance for traders to make informed trading decisions near these levels. Analyze the plotted Fibonacci levels in conjunction with other technical indicators or price action patterns for informed trading decisions.
Conclusion:
This indicator is a versatile and essential tool for traders who rely on Fibonacci analysis as part of their trading arsenal. By offering the flexibility to analyze specific candles and customize Fibonacci levels, this indicator empowers you to make more informed trading decisions. Its user-friendly design and real-time updating capabilities ensure that you have access to accurate and relevant Fibonacci data at any moment of the trading day.
RISK DISCLAIMER
All content, tools, scripts & education provided by Monstanzer or Gorb Algo are for informational & educational purposes only. Trading is risk and most lose their money, past performance does not guarantee future results. Индикатор

Индикатор

Auto Fibonacci Retracement // Atilla YurtsevenOverview:
This Pine Script™ is a specialized tool for traders, designed to automatically plot Fibonacci retracement levels over a user-defined date range in trading charts. It also indicates the extent of price retracement within these levels.
Key Features:
Date Range Customization: Users can specify the start and end dates to focus the analysis on a particular trading period.
Dynamic Fibonacci Levels: The script includes various Fibonacci ratios (0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0), with the flexibility to enable or disable individual levels.
Visual Customization: Each Fibonacci level can be customized for color and line style (solid, dotted, dashed). Labels for each level are also configurable.
Retracement Measurement: The script not only draws the Fibonacci levels but also measures and displays how much the price has retraced within these levels.
Extension and Additional Options: Users have options to extend the Fibonacci lines and additional features such as using close values, trend drawing, date range display, and more.
Technical Insights:
The script identifies high and low values within the selected time frame, assessing the market's trend direction.
Within the specified date range, this script effortlessly plots the Fibonacci levels automatically, bringing clarity and precision to your market analysis as it unfolds.
The tool's adaptability makes it suitable for various trading styles and chart preferences.
Intended Use:
This script is particularly valuable for technical analysts and traders who use Fibonacci retracements to identify potential support and resistance areas and understand the depth of market corrections or rallies.
Disclaimer:
This Pine Script™ is offered 'as is', without any guarantees or warranties. It is intended for informational purposes and should not be taken as investment advice. Atilla Yurtseven, the creator of this script, assumes no responsibility for any financial losses or gains that may result from its usage. Users should perform their own due diligence and consult with professional advisors before making any investment decisions.
Remember to follow and comment!
Trade smart, stay safe
Atilla Yurtseven Индикатор

Индикатор

Session Fibonacci Levels [QuantVue]The "Session Fibonacci Levels" indicator is a powerful tool designed for traders who aim to use Fibonacci retracement and extension levels in their trading strategy.
The indicator combines Fibonacci levels with customized trading sessions, allowing traders to observe and utilize Fibonacci levels that are automatically calculated for each defined session.
This approach offers a dynamic and session-relevant perspective on potential support and resistance levels, which can be crucial for intraday trading strategies.
🔹The indicator calculates Fibonacci retracement and extension levels based on the high and low prices of a specified trading session, dynamically adjusting to the location of the high and low bar.
If the low of the session occurs before the high, the fib levels are measured from low to high.
If the low of the session occurs after the high, the fib levels are measured from high to low.
🔹Users can set their time zone and define trading sessions, allowing for flexibility and applicability across global markets. This is particularly beneficial for traders who focus on specific market hours like the London or New York sessions.
Important sessions:
New York (8:00am - 5:00pm EST)
London (3:00am - 12:00pm EST)
Asia (7:00pm - 4:00am EST)
Custom session (user defined session in indicator settings)
🔹The indicator dynamically updates Fibonacci levels as new highs and lows are made within the session, keeping the analysis current. Additionally, it provides alerts when prices hit key Fibonacci levels, aiding in timely decision-making.
How to Use:
Configure the time zone and session time
Once the session begins, the indicator will begin highlighting the session range
When the session ends, Fibonacci levels based on the high and low of the session will be drawn
Use these levels to identify potential support and resistance areas
Индикатор

Fibonacci Trailing Stop [LuxAlgo]The Fibonacci Trailing Stop indicator creates a Trailing Stop, based on Fibonacci levels which are retrieved from the latest swing high & low . This provides a Trailing Stop-line .
🔶 USAGE
The Fibonacci Trailing Stop can indicate the current trend direction.
Shadows can also provide potential support/resistance areas.
Users can also display Fibonacci retracements.
🔶 CONCEPTS
🔹 Basic principles
There are 2 basic principles:
Every new swing will create or update a new Fibonacci pattern, potentially changing the Fibonacci Trailing Stop (FTS)
The Trend depends on whether the FTS is crossed/breached, the trigger is a chosen 'level/trigger'
(settings -> Fibonacci Trailing Stop -> Level/Trigger)
In an uptrend, these levels will be placed at the bottom half of the pattern.
In a downtrend, these levels will be placed at the top half of the pattern.
Once a trend is established, the Trailing Stop will only update in the direction of the trend:
Only higher when in an uptrend
Only lower when in a downtrend
If a Trailing Stop line is broken, the trend shifts to the other direction
The FTS line is accompanied by a secondary line (colour-filled), created by smaller swings (half of L/R, rounded to above)
EXAMPLES
• New bullish Trend/pattern
• Updating later on
• Bearish Trend -> breached -> New bullish Trend -> Trend is updated later on, and is breached at the end:
• Trend broken -> new Trend/direction:
• Bearish Trend -> breached -> New bullish Trend -> breached -> New bearish Trend (Here you see the latest cross of the bullish trend)
🔹 Shadows & latest Fibonacci
The indicator contains the option to show:
Latest Fibonacci
Shadows : previous Fibonacci Levels (will only appear after a 1 bar delay)
Shadows can be very useful to provide support/resistance areas, especially from large shadow-blocks .
When shadows are enabled, the color fill of Latest Fibonacci and FTS will be removed, this to provide less clutter:
🔶 SETTINGS
🔹 Swings
L: set left of pivothigh / pivotlow
R: set right of pivothigh / pivotlow
Swing labels: show labels of swings (updated in the same direction)
🔹 Fibonacci Trailing Stop
Level - Toggle - Custom value
• Choose pré-set levels [ -0.5, -0.382, -0.236 , 0, 0.236, 0.382, 0.5, 0.618 ]
• Choose custom level -> Toggle enabled and adjust the number at the right
Trigger: set trigger for breaching the FTS, close or wick (high in downtrend/low in uptrend)
🔹 Fibonacci
Latest Fibonacci: show Latest Fibonacci
Shadows: show Shadows
Индикатор

Индикатор

3 Fib EMAs To Scalp Them AllThe "3 Fib EMAs To Scalp Them All" was made in order to clear up when we should look for shorts, longs, or walk away. Also it can alert you when a trend starts, or when there is a possible reversal. I use it for scalping/day trading in 5m-1h timeframes.
1. EMAs: By default, the indicator uses Fibonacci numbers (21, 55, 233), but you can change them.
2. Color Changes: The color of the Micro EMA line changes depending on its relation to the Mid and Macro EMAs.
When Micro EMA < Mid < Macro EMA, it turns red, indicating a potential bearish trend - that's when you should look for shorts
When Micro EMA > Mid > Macro EMA, it turns green, indicating a potential bullish trend - that's when you should look for longs
A white Micro EMA is when you need to take some rest, enjoy your coffee, and avoid overtrading.
3. Signals: The indicator provides visual signals in the form of diamonds and crosses and corresponding alert signals.
A red diamond above the bar signals a potential beginning of a downtrend
A red cross above the bar signals the end of the downtrend and can be used as a signal for a possible reversal up/breakout.
A green diamond below the bar signals a potential beginning of a downtrend,
A green cross below the bar signals the end of the uptrend and can be used as a signal for a possible reversal down/breakout.
4. Alerts: For algo traders and people who prefer to stay away from the monitor... there are alerts for every signal.
Friendly note: Don't blindly follow the signals for your long and short entries. The signals only pop up when the EMA cross value gets a confirmation. A smart move would be to wait for a retracement to the EMA line and use momentum indicators like market cipher B to pinpoint those ideal entry points. Индикатор
