AMEX:VGZ   Vista Gold Corp
Posting this idea to explain what I'm doing with all my fib calculations.
And trying to convince TradingView to program the calculations as a selectable option in the Trend-Based Fib Extension tool.
The Fib Retracement calculation is quite similar. Its' the exponent of the difference in LN(price points) multiplied by the desired retrace % as I recall.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.