Jim Garofallou
 Member
 Posts: 36
Joined: 7/17/2009
Location: Montclair, NJ
User Profile |
I am trying to create a plot of a money market fund VUSSX that has a fixed value of one dollar and am increasing the value by 1.0002 for each period such that the second period's value of 1.0002 is multiplied iteratively by 1.0002 and plotted as such. The idea is to get a growth curve of 5% per year that plots a straight line slowly increasing indicator reflecting that growth rate. My start point is with this formula:
X=GetClose("VUSXX")
If C >0 then
Y=X*1.0002
Else
Y=0
End if
and Y is my ever-increasing value. Is there a summation or cumulative function that will plot Y as that slowly ascending chart?
With thanks in advance,
Jim
|