TradingView
manchikantir
3 สิงหา 2020 เวลา 13 นาฬิกา 13 นาที

Compound Value @ annual rate 

SPDR Gold TrustArca

คำอธิบาย

By studying historical data we can know the compounded growth rate of an investment from the inception date. For example if we know that an investment has grown at the rate of 6% in the past and if we expect similar growth in the future also, We can plot this graph to understand whether the current price is underpriced or overpriced as per projected return.


In this graph, it takes the initial close price as a principle and rate from the input and calculates the compound amount at each interval.

เอกสารเผยแพร่

Author change

เอกสารเผยแพร่

Updated input data type for rate
ความคิดเห็น
djfoo000
Would it be possible to modify the code to have a custom start date?
manchikantir
@djfoo000, I couldn't find a way to do that. I would like to know if anybody finds a way.
manchikantir
I couldn't find a way.
เพิ่มเติม