Rank: Newbie
Groups: Registered, Registered Users, Unverified Users Joined: 3/13/2008(UTC) Posts: 5
|
Hi,
I want to count the bars from high to high and low to low in downtrends and uptrends respectively. How do I code for that?
I also want to automate labeling of Fib and Lucas numbers from a bar as a starting point.
Any help in this would be really appreciated.
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,953
Thanks: 91 times Was thanked: 155 time(s) in 150 post(s)
|
if you have a set condition that identifies a high or low point, you could use valuewhen to count the bars between the two most recent points:
hipoint := {formula for high} ; valuewhen(1, hipoint, cum(1)) - valuewhen(2, hipoint, cum(1))
|
|
|
|
Users browsing this topic |
|
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.