OPEN-SOURCE SCRIPT

Martyv Auto Fib Extension with Logarithmic Support

Atualizado
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.
Notas de Lançamento
Updated title.
Notas de Lançamento
Updated standard depth to 18 points and set extended lines to default.
Notas de Lançamento
Updated a couple defaults.
Notas de Lançamento
Adjusted some presets and label spacing.
Notas de Lançamento
Made a few tweaks to the log calculations. The reverse function is acting up at the moment, otherwise working like a charm :)
Notas de Lançamento
A bit of code rearranging and a fix for log-based fib levels.
Notas de Lançamento
Final tweaks to fib calculations and default levels - now working as intended.
Notas de Lançamento
Adjusted default lookback period to 9 (can still be changed as needed in settings)
Notas de Lançamento
Name change
Notas de Lançamento
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 ✌️
Notas de Lançamento
Reverse function in logarithmic mode is fixed.
Notas de Lançamento
Updated with cleaner inputs for the variable depths.
Notas de Lançamento
Some minor changes to clean up the default setup.
autofibautofibonacciextensionFibonacci ExtensionLinear Regression

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Também em:

Aviso legal