Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 2/9/2009(UTC) Posts: 1
|
Hello everybody, I would like to know if it's possible (and how) to rebase an index in order to make index levels. In other words, I'd like to know the % of gain or loss from a stated date in the past which becomes the "base". I often use Relative Strenght indexes I create as Composite of two items like a ratio of equity and its sector. But I need to draw a graph in % of gain/loss from the starting date.Can you hep me? THANKS.
Andrea, Italy
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
Try this code to get a value for a specific date. Then do your calcs.
dd := 3; mm := 6; yy := 2010;
a1 := If((DayOfMonth()=dd) AND (Month()=mm) AND (Year()=yy),C,0); a1
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.