OPEN-SOURCE SCRIPT

Martyv Auto Fib Retracement with Logarithmic Support

Mis à jour
Simple & easy auto-fib levels. Took the out-of-the-box version provided by TradingView and added Logarithmic support and a nicer palette, and made the controls a bit nicer to use (in my opinion lol). Enjoy.
Notes de version
Updated depth to 18 periods, and set extended lines as the default setting.
Notes de version
A few tweaks to default settings.
Notes de version
Updated a few default settings. Primarily increased Deviation to 6 and Depth to 18 (you can change these in settings).
Notes de version
A little housecleaning... minor visual adjustments and level tweaks.
Notes de version
Began adding support for "dynamic fib multipliers" - meaning the multiplier adjusts itself according to the timeframe, basically automating some of the tweaks I like to make when switching timeframes, especially small ones. There's both a 'low multiplier' and a 'high multiplier' input (defaulting to 3, 6) and the retrace fibs will switch between those multipliers depending on your time multiple.
Notes de version
Minor tweaks to fib timescale multipliers for more useful/"better" dynamic adjustments.
Notes de version
Minor depth change for high multiplier
Notes de version
Title update. Bothered me.
Notes de version
Added support for dynamic threshold multipliers at key timeframe resolutions. The goal is to be able to slap a correct fib retrace on any chart and it adapt to the resolution so you avoid teeny-tiny barcode fibs or huge gaping chasm fibs (you can always draw those on as needed). Not a game changer or anything, but a nifty little tool that I enjoy building and using. I've found it helpful so far, hopefully others out there do too! 👻
Notes de version
Minor changes to defaults
Notes de version
Minor change to default values/colors.
Notes de version
Minor default change.
Notes de version
Minor default change
Notes de version
Default values change - Getting closer to a more accurate dynamic detection system.
Notes de version
Added dynamic depth options to go along with deviation options. Working towards having it default to calculating the best inputs for the currently viewed timeframe, and some cool new features both suggested by users and from my own machinations. Hehe >:)
Notes de version
Updates to initial deviation and depth defaults. Fine-tuning the rough version of the dynamics.
Notes de version
Minor default swap
Notes de version
Color changes
Notes de version
Minor default swap. Honing in on various "one size fits most" details.
Notes de version
Name change.
Notes de version
Small default swap.
Notes de version
Default swap.
Notes de version
Update: Found some variations on default values that should work well for most general uses. Also updated some of the line styles for more visual cues on important levels. In the future I'd like to make each level take user input on solid, dashed, dotted, etc.
Notes de version
Minor color changes.
Notes de version
Updated to use a higher timeframe ZigZag to find the most appropriate fib for the current timeframe (ZigZag scale can be changed in settings). Also added divergence detection across many different options, and additional fib levels are added as price action moves out of range. Currently there is a bug with the 'reverse' feature.
Notes de version
Added a trend channel (basically a 2nd Zig Zag) that you can use to keep you in the proper trend. I've found it useful, no idea if anyone else will. But, you can easily turn it off. Also cleaned up the input panel and optimized the autofib extension a bit.
Notes de version
Defaults update and screenshot update.
Notes de version
Adjusted Fib lookback vs. Trend Channel lookback for better results (for me, so far...), it seems to work better in my strategies to have the autofib on a larger lookback than my trend channels. Helps with identifying fib level probabilities, hopefully this is helpful to others :)
Notes de version
Made many changes, and divided the functionality up into 4 pieces: Fibonacci, Divergence, Trend Channels, Super Smooth. They can be turned on/off individually, and there are customizable settings for each feature. I am working on a more fully-featured indicator, so if you have things you'd like to see or if you catch any bugs please let me know. Thanks!

1. AutoFib
Uses a Zig-Zag with a specified lookback period (Default 34)
Customizable fib levels, colors, and styles
Automatically adds fib extensions as needed
Can change the lookback period and turn the visible Zig Zag and/or AutoFib on/off
Can turn Logarithmic on/off

2. Divergence
Can identify and mark divergences (regular and hidden) for MACD, MACD Histogram, RSI, Stochastic, CCI, Momentum, OBV, Diosc, VWmacd, and Chaikin Money Flow
Can turn divergences on/off individually
Can choose to show hidden divergence

3. Trend Channels
Uses a Zig-Zag with a specified lookback period (Default 21)
Setting AutoFIb to a longer lookback than Trend Channels is recommended, at least that has been working very well for myself
Can turn channels on/off
Can change the lookback period and turn the Zig Zag and/or Channels on/off

4. Super Smooth
Uses the John F. Ehlers Supersmooth method on a specified lookback period (Default 14)
Checks the current price action against the lookback period trend and if the Supersmooth signal aligns with the trend direction, it gives a strong signal (Bull/Bear). A continuation signal (Neutral) is given if these two don’t match, and often indicates trend continuation or trend reversal.
Can turn supersmooth and/or matching bar repaint on/off
Can choose between Bull/Bear/Neutral signals and only Bull/Bear signals
Alerts available for Bullish or Bearish change
Can choose current timeframe or any timeframe
Notes de version
The autofib has been recalculated, and you can now choose to display the most recent "confirmed" fib retrace, or the more recent unconfirmed fib (this results in a direct 0-1 fib retrace containing recent price action). I also adjusted the lookback length to 21 for both the fib zigzag and the trend channel zigzag, which seems to yield better results for me.

- Can choose between AutoFib with manually defined levels or SmartFib with levels automatically calculated, including extensions as needed. You can change all values to suit your needs
- Choose between only using the most recent confirmed fib retrace, or the currently developing (non-confirmed) fib retrace - this will also contain price action within a 0-1 fib
- Adds fib extensions as needed, you can define extension levels
Notes de version
Updated to provide 2 new retrace options,
1) Contain Price (will make sure current price action is between a 0-1 fibonacci retracement. Fibs are considered 'valid' once price action has retraced beyond 23.6%) - You can turn this off to activate fib extension levels, and
2) Manual fib levels - Will respect fib levels as you have them checked in settings, regardless of auto settings

Also a minor update to add a few more available fib levels. These two features have proved to be very useful in my own analysis, hopefully it helps you with yours.
Notes de version
Updated Alert functions, there are two:

1) Bullish signal - alerts when the TREND RIBBON flips to bullish on the current timeframe
2) Bearish signal - alerts when the TREND RIBBON flips to bearish on the current timeframe

I don't have a signal included for the neutral state when using the 3-way ribbon color. If you think that would be useful let me know.
Notes de version
Added 2 new options:

1) Weight bar colors by volume (you can adjust sensitivity)
2) Weight bar colors by momentum (you can adjust sensitivity)
Notes de version
Added a current price tag that can be turned off, and lives within the margin between price action and the fib level labels. Found it was useful to have the current price on the screen next to the bar.
Notes de version
This version has the Trend Ribbon removed, as we start the process of removing features to get back to the original idea of 'just' an autofib here. If you're really in love with the trend ribbon and must have it, message me here on TradingView and I'm happy to give you access to a version that still has it.
That's it for this update, thanks everyone for your support and keep the feedback coming! -E
Notes de version
Continuing to pare down this indicator to its true initial purpose of being a simple autofib with logarithmic support - please note that all the features I'm removing are still available on the Technical Analysis Kit if you need them! Thanks everyone and best of luck in your trading :)
Notes de version
Hey everyone, I have some news about this indicator. I decided to stick to the original goal of this project and remove the trend channels. I know, it’s sad 😢 but don’t worry, you can still find them in the TA Kit. Thanks for your support and happy trading! 🚀👍
Notes de version
One of the final updates to make this a more pure fibonacci retracement measurement tool with logarithmic support. Any features removed can be found in the Technical Analysis Kit (patreon.com/anker). Thank you for the boosts!
autofibautofibonacciDivergencefibPivot PointsretraceretracementretracementlevelssmartfibSupport and ResistanceZig Zag Indicator

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité