Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/27/2006(UTC) Posts: 135
|
Have a indicator that plot 1, 0 or -1. How to use the cum() code to add all the 1 to the next -1 ocurring and than add all the -1 to the next 1 occurring? Tried various coding but the all is just add up all the 1 or -1 without resetting to zero on the next 1 or -1 ocurring.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Seeing as you are looking for codes which reset a counter, try searching the forum for "reset"
Hope this helps.
wabbit [:D]
|
|
|
|
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.