OPEN-SOURCE SCRIPT

Martyv Auto Fib Retracement with Logarithmic Support

已更新
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.
發布通知
Updated depth to 18 periods, and set extended lines as the default setting.
發布通知
A few tweaks to default settings.
發布通知
Updated a few default settings. Primarily increased Deviation to 6 and Depth to 18 (you can change these in settings).
發布通知
A little housecleaning... minor visual adjustments and level tweaks.
發布通知
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.
發布通知
Minor tweaks to fib timescale multipliers for more useful/"better" dynamic adjustments.
發布通知
Minor depth change for high multiplier
發布通知
Title update. Bothered me.
發布通知
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! 👻
發布通知
Minor changes to defaults
發布通知
Minor change to default values/colors.
發布通知
Minor default change.
發布通知
Minor default change
發布通知
Default values change - Getting closer to a more accurate dynamic detection system.
發布通知
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 >:)
發布通知
Updates to initial deviation and depth defaults. Fine-tuning the rough version of the dynamics.
發布通知
Minor default swap
發布通知
Color changes
發布通知
Minor default swap. Honing in on various "one size fits most" details.
發布通知
Name change.
發布通知
Small default swap.
發布通知
Default swap.
發布通知
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.
發布通知
Minor color changes.
發布通知
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.
發布通知
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.
發布通知
Defaults update and screenshot update.
發布通知
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 :)
發布通知
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
發布通知
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
發布通知
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.
發布通知
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.
發布通知
Added 2 new options:

1) Weight bar colors by volume (you can adjust sensitivity)
2) Weight bar colors by momentum (you can adjust sensitivity)
發布通知
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.
發布通知
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
發布通知
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 :)
發布通知
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! 🚀👍
發布通知
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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明