InvestorsHub Logo
Followers 0
Posts 70
Boards Moderated 0
Alias Born 01/15/2020

Re: AIMStudent post# 45066

Sunday, 02/14/2021 3:25:30 PM

Sunday, February 14, 2021 3:25:30 PM

Post# of 47132
AIMStudent, thank you for a fast response. I checked your equations and the first one with linear scale worked perfectly. Thank you.
Unfortunately I found a problem with the second one - Log equation.

Dollar Amount as Log = [Desired % * (LOG($ High Price) - LOG($ Low Price))] + LOG($ Low Price)

I tested it multiple times and it produces the wrong results. For example:

If the high price is $100 and the low price is $1.00, and I input 100%, the result I get is $200. It should be $100, not $200 because my high price is $100 at the 100% top. There is no $200 in my price range between $1 and $100.
Is this normal behavior or did something go wrong here?
By the way, when I did the same test with the first linear equation you provided, I did get the correct $100 answer.
Thanks!


Vitali

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.