PROTECTED SOURCE SCRIPT
[b2bw] Fib Retracement & Alerts

[b2bw] Fib Retracement & Alerts
Precision meets full interactivity. This tool is not your average Fibonacci indicator. It was designed to automate the search for Highs and Lows within a specific timeframe – and the best part: You control everything directly on the chart!
The Highlight: True Drag & Drop Control
Forget the tedious task of typing dates into settings menus.
Interactive Lines: Simply click the vertical Start or End lines on your chart and drag them to your desired position.
Real-Time Adjustment: The Fib levels recalculate instantly as you move the lines.
Features at a Glance:
Global High/Low (Stable): Finds the most stable extremes within the selected window – no more "jumping" levels.
Individual Alert System: Every Fib level has its own bell icon. Receive alerts only for the zones that matter to your strategy.
Smart Labels: Prices and percentage values are displayed cleanly on the edge or directly on the lines.
Support & Feedback
I am constantly working to improve this tool!
Found a bug? Please send me a Private Message (PM) with the details so I can fix it as soon as possible.
Feature Request? If you have ideas for improvements or new features, feel free to drop a comment below!
Note: This script is public and free for everyone to use! (Protected Script).
PART 2: Detailed User Manual (Tutorial)
1. The Search Window & Drag-and-Drop
The green (Start) and red (End) lines define the area analyzed by the indicator.
How to use: Select the indicator on the chart until the "grab handles" appear on the lines. Drag them to significant points (e.g., from the start of the week to the current candle).
2. Settings in Detail (Settings Menu)
Group: Search Window
Strategy:
* Global High/Low (Stable): Finds the absolute high/low in the window. The best choice for most traders.
Pivot Points (Classic): Reacts to fractal pivot structures.
Search Data Timeframe (1440):
Important! This value should usually stay at 1440 (24h). It ensures the indicator finds the true daily extremes (including pre-market wicks), regardless of whether you are on a 1m or 1h chart.
Start/End Search Date: Shows the timestamps of your sliders. Can also be entered manually here.
Group: Classic Pivot Settings
Left/Right Bars: Only active in Pivot mode. Determines how many candles must be lower/higher around a point for it to count as a pivot (Default 10/5).
Group: Manual Reference
✅ USE MANUAL COORDINATES: Check this box if you want to disable the automation. In this mode, only the prices you enter under "High/Low Price" will be used. Perfect for static analysis.
Group: General & Styling
Show Start/End Helper: Toggles the green/red vertical lines. (Recommended: Keep them ON!)
Show Trend Line: Draws a diagonal line from the starting point to the ending point.
Fib Line Style/Width: Change the appearance of the Fib lines (dotted, thickness, etc.).
Extend Right: Extends the lines infinitely to the right.
Labels Position: Where should the prices be placed? (Right, Left, or Off).
Show Price Axis Labels: Displays the Fib prices directly on the TradingView price scale.
Group: Fibonacci Levels
Here you can individually set the following for each of the 13 levels:
Checkbox: Show/Hide.
Value: Change the Fib value (e.g., from 0.618 to 0.61).
Color: Custom color selection for each level.
🔔 Bell: Arms the alert logic for this specific level.
3. Pro Guide: Using the Alert Function Correctly
The tool uses the Pine Script alert() function. This saves you from creating dozens of individual alerts and is extremely efficient.
The Optimal Workflow:
Select: In the settings, activate the bell 🔔 only for the levels you actually want to trade (e.g., 0.618 and 0.786).
Global Check: Ensure that "Enable Alerts System" is checked under "Alerts Global."
Create TradingView Alert:
Press ALT + A or click the Clock (Alerts) icon.
Condition: [b2bw] Fib Retracement v8.5.
CRITICAL: In the second dropdown, select "Any alert() function call".
Name the alert: e.g., "Fib Level Hit."
Result: As soon as a candle touches one of your chosen levels, a notification pops up: "Fib Alert 0.618 hit at 1.0854".
Feedback & Bugs
If you encounter any issues or have suggestions for future updates, please don't hesitate to contact me via Private Message or leave a comment on the script page.
Precision meets full interactivity. This tool is not your average Fibonacci indicator. It was designed to automate the search for Highs and Lows within a specific timeframe – and the best part: You control everything directly on the chart!
The Highlight: True Drag & Drop Control
Forget the tedious task of typing dates into settings menus.
Interactive Lines: Simply click the vertical Start or End lines on your chart and drag them to your desired position.
Real-Time Adjustment: The Fib levels recalculate instantly as you move the lines.
Features at a Glance:
Global High/Low (Stable): Finds the most stable extremes within the selected window – no more "jumping" levels.
Individual Alert System: Every Fib level has its own bell icon. Receive alerts only for the zones that matter to your strategy.
Smart Labels: Prices and percentage values are displayed cleanly on the edge or directly on the lines.
Support & Feedback
I am constantly working to improve this tool!
Found a bug? Please send me a Private Message (PM) with the details so I can fix it as soon as possible.
Feature Request? If you have ideas for improvements or new features, feel free to drop a comment below!
Note: This script is public and free for everyone to use! (Protected Script).
PART 2: Detailed User Manual (Tutorial)
1. The Search Window & Drag-and-Drop
The green (Start) and red (End) lines define the area analyzed by the indicator.
How to use: Select the indicator on the chart until the "grab handles" appear on the lines. Drag them to significant points (e.g., from the start of the week to the current candle).
2. Settings in Detail (Settings Menu)
Group: Search Window
Strategy:
* Global High/Low (Stable): Finds the absolute high/low in the window. The best choice for most traders.
Pivot Points (Classic): Reacts to fractal pivot structures.
Search Data Timeframe (1440):
Important! This value should usually stay at 1440 (24h). It ensures the indicator finds the true daily extremes (including pre-market wicks), regardless of whether you are on a 1m or 1h chart.
Start/End Search Date: Shows the timestamps of your sliders. Can also be entered manually here.
Group: Classic Pivot Settings
Left/Right Bars: Only active in Pivot mode. Determines how many candles must be lower/higher around a point for it to count as a pivot (Default 10/5).
Group: Manual Reference
✅ USE MANUAL COORDINATES: Check this box if you want to disable the automation. In this mode, only the prices you enter under "High/Low Price" will be used. Perfect for static analysis.
Group: General & Styling
Show Start/End Helper: Toggles the green/red vertical lines. (Recommended: Keep them ON!)
Show Trend Line: Draws a diagonal line from the starting point to the ending point.
Fib Line Style/Width: Change the appearance of the Fib lines (dotted, thickness, etc.).
Extend Right: Extends the lines infinitely to the right.
Labels Position: Where should the prices be placed? (Right, Left, or Off).
Show Price Axis Labels: Displays the Fib prices directly on the TradingView price scale.
Group: Fibonacci Levels
Here you can individually set the following for each of the 13 levels:
Checkbox: Show/Hide.
Value: Change the Fib value (e.g., from 0.618 to 0.61).
Color: Custom color selection for each level.
🔔 Bell: Arms the alert logic for this specific level.
3. Pro Guide: Using the Alert Function Correctly
The tool uses the Pine Script alert() function. This saves you from creating dozens of individual alerts and is extremely efficient.
The Optimal Workflow:
Select: In the settings, activate the bell 🔔 only for the levels you actually want to trade (e.g., 0.618 and 0.786).
Global Check: Ensure that "Enable Alerts System" is checked under "Alerts Global."
Create TradingView Alert:
Press ALT + A or click the Clock (Alerts) icon.
Condition: [b2bw] Fib Retracement v8.5.
CRITICAL: In the second dropdown, select "Any alert() function call".
Name the alert: e.g., "Fib Level Hit."
Result: As soon as a candle touches one of your chosen levels, a notification pops up: "Fib Alert 0.618 hit at 1.0854".
Feedback & Bugs
If you encounter any issues or have suggestions for future updates, please don't hesitate to contact me via Private Message or leave a comment on the script page.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, ücretsiz ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgiyi buradan edinebilirsiniz.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, ücretsiz ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgiyi buradan edinebilirsiniz.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.