Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
Hey, can we change the title of this blog to something less grandiose, such as "Jose's corner"? :?
Mr Turtle, I strongly suggest you learn to count - numeracy is essential in this corner of the woods. In the meantime, perhaps you can use some of this MS indicator code:
[code:1:5327a91456] ============= Rally counter ============= ---8<----------------------
{ Wave/Trend/Rally counter v1.0 }
{©Copyright 2005 Jose Silva. For personal use only. http://www.metastocktools.com }
{ User inputs } pr:=Input("Peak/Trough minimum % change", .01,100,2); plot:=Input("plot: [1]Peaks/Troughs, [2]Rally count, [3]Both",1,4,3);
{ Peak/Trough signals } pk:=PeakBars(1,C,pr)=0; tr:=TroughBars(1,C,pr)=0;
{ Wave/Trend/Rally count } count:=Int(Cum(pk+tr)/2);
{ Plot in own window } If(plot=1,pk-tr, If(plot=2,count, If(plot=3,count*(pk-tr), Zig(C,pr,%))))
---8<----------------------
[/code:1:5327a91456]
jose '-)
|