OPEN-SOURCE SCRIPT

Martyv Auto Fib Extension with Logarithmic Support

Telah dikemas kini
Similar to the Auto Fib Retracement tool - I took the out-of-the-box functionality and added Logarithmic support, as well as nicer colors and easier management of levels. I'm... 90% sure I got the Fib calculations correct. If you see something, say something! Would love any suggestions for improvement.
Nota Keluaran
Updated title.
Nota Keluaran
Updated standard depth to 18 points and set extended lines to default.
Nota Keluaran
Updated a couple defaults.
Nota Keluaran
Adjusted some presets and label spacing.
Nota Keluaran
Made a few tweaks to the log calculations. The reverse function is acting up at the moment, otherwise working like a charm :)
Nota Keluaran
A bit of code rearranging and a fix for log-based fib levels.
Nota Keluaran
Final tweaks to fib calculations and default levels - now working as intended.
Nota Keluaran
Adjusted default lookback period to 9 (can still be changed as needed in settings)
Nota Keluaran
Name change
Nota Keluaran
Added MTF dynamic switches which adjust the lookback period based on the resolution of the current timeframe. The purpose is to try (as much as possible) to have the auto-fib plot a reasonably-sized, actionable extension with me being as lazy as possible so I can use that energy on the deeper analyses. This does not affect the fib calculations at all, simply auto-adjusts the lookback 'depth' (which you can manually change in the settings for more fine-tune control anyways, but the purpose here is to try and whittle down the number of clicks it takes to make the chart easier to interpret at a glance. I imagine this could be useful training wheels for beginners or those just getting into fibs, hopefully. Dunno if anyone else wants that functionality, but it could turn into a teenty tinety edge with more development). As always, I'm looking to improve and learn, so if you see something say something and let's fix it or make it better together! Stay tuned ✌️
Nota Keluaran
Reverse function in logarithmic mode is fixed.
Nota Keluaran
Updated with cleaner inputs for the variable depths.
Nota Keluaran
Some minor changes to clean up the default setup.
autofibautofibonacciextensionFibonacci ExtensionLinear Regression

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian