Fibonacci Snap Tool
Dec 3, 2024

The Fibonacci Snap Tool indicator automatically identifies and snaps to the swing high and swing low of the price data currently visible on your chart to plot essential Fibonacci retracement levels. This tool provides traders with an automated way to identify potential support and resistance zones based on proportional price movements.
Usage
The tool is designed to dynamically update based on the user's visible chart range. By scrolling or zooming to a specific window of price action, the indicator identifies the highest and lowest points within that view and draws the following levels:
- Momentum Zone (23.60%): Often acts as the first line of support in an uptrend or resistance in a downtrend. Prices holding this level typically indicate a strong prevailing trend.
- Corrective Zones (38.20%, 50.00%, and 61.80%): These deeper levels represent areas where price often undergoes corrective pullbacks.
- Golden Ratio (61.80%): A primary level for identifying potential supply and demand imbalances where a price reversal or trend continuation is highly likely.
Trend direction is determined by the sequence of the swings: if the swing high follows the swing low, the market is interpreted as being in an uptrend; if the swing high precedes the swing low, it is interpreted as a downtrend.
Details
The script utilizes the chart.left_visible_bar_time and chart.right_visible_bar_time functions to determine the boundaries of the current view. It then iterates through the price data within those boundaries to find the absolute high and low.
Unlike standard Fibonacci tools that require manual anchoring, this implementation ensures that the levels are always relevant to the specific timeframe and price segment the trader is currently analyzing. The retracement levels are calculated using the core ratios of 23.6%, 38.2%, 50%, and 61.8%, providing a clean interface focused on the most significant psychological price points.
Settings
As this tool is designed for "snapping" to visible data, it primarily operates automatically based on chart interaction.
- Visible Range Detection: The script automatically re-calculates swing points whenever the user pans or zooms the chart.
- Automated Levels: Retracement lines and price labels are generated dynamically on the right side of the chart for clear visualization.
FAQ
How do I use the Fibonacci Snap Tool?
Simply add the indicator to your chart and adjust your zoom or scroll position to the price area you wish to analyze. The tool will automatically find the high and low of that specific window and plot the levels.
What are the main levels included?
The tool focuses on the core Fibonacci ratios: 23.6%, 38.2%, 50.0%, and 61.8%.
How can I access the Fibonacci Snap Tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.