TradingView
AnkerElite
22. Jun. 2021 19:10

Martyv Auto Fib Extension with Logarithmic Support 

Origin Token / United States DollarCoinbase

Beschreibung

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.

Versionshinweise

Updated title.

Versionshinweise

Updated standard depth to 18 points and set extended lines to default.

Versionshinweise

Updated a couple defaults.

Versionshinweise

Adjusted some presets and label spacing.

Versionshinweise

Made a few tweaks to the log calculations. The reverse function is acting up at the moment, otherwise working like a charm :)

Versionshinweise

A bit of code rearranging and a fix for log-based fib levels.

Versionshinweise

Final tweaks to fib calculations and default levels - now working as intended.

Versionshinweise

Adjusted default lookback period to 9 (can still be changed as needed in settings)

Versionshinweise

Name change

Versionshinweise

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 ✌️

Versionshinweise

Reverse function in logarithmic mode is fixed.

Versionshinweise

Updated with cleaner inputs for the variable depths.

Versionshinweise

Some minor changes to clean up the default setup.
Kommentare
IMBLASTER
TQ any Alert if fibo change directions?
MargD
Thanks so much x
d.umesh
Hello sir, plz Try to add for daily/weekly/Monthly...lvl if possible
maroof81
thank you
rbower
How did you find this log-fib formula? Wherein we *divide* the start/end price(and then you raise that difference to the power of the fib-level.
Clever. How did you find this?
AnkerElite
@rbower, a lot of creative moonshots and trial & error :) Glad you noticed that one. Happy trading my friend
yozr23361
Thank you
suvny21
Thanks a lot
hughlxj
Hello! This is a great script! Very accurate! If you can always have the price tag displayed to the right of the latest candle. If the trend is upward, the two nearest pressure lines are automatically displayed. If the trend is downward, it will automatically display the two nearest support lines to keep the chart clean, which is even better! Thank you for your selfless sharing!
vinikumar72
@hughlxj, can you explain the which nearest line you talk about
Mehr