logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
abcde123  
#1 Posted : Tuesday, April 3, 2007 11:02:35 AM(UTC)
abcde123

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/13/2005(UTC)
Posts: 20

Can anyone help me in using Trough() and Peak() functions with intraday 1 minute data.

They are not providing the real results and mostly i get FUNCTION DIDNOT RETURN VALUE.

Any help will be appreciated.

Thanks

*PP  
#2 Posted : Tuesday, April 3, 2007 1:04:29 PM(UTC)
*PP

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/1/2006(UTC)
Posts: 135
Location: Romania

That is most probably because the percentage u specified in function was to big for the very small movements in a 1 min chart. Verify manually the percentage difference between two peaks or troughs and put that result in ur peak or trough function.
abcde123  
#3 Posted : Wednesday, April 4, 2007 6:21:37 AM(UTC)
abcde123

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/13/2005(UTC)
Posts: 20

I used only 1 percent and it returned nothing

*PP  
#4 Posted : Wednesday, April 4, 2007 6:32:21 AM(UTC)
*PP

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/1/2006(UTC)
Posts: 135
Location: Romania

abc,

put your formula here to have a look. Anyway 1 percent is still a big move in a one min chart especially if it is a forex chart.

abcde123  
#5 Posted : Wednesday, April 4, 2007 9:52:26 AM(UTC)
abcde123

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/13/2005(UTC)
Posts: 20

writeval(Trough(3,LOW,1));

writeval(Troughbars(3,LOW,1))

*PP  
#6 Posted : Wednesday, April 4, 2007 10:21:29 AM(UTC)
*PP

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/1/2006(UTC)
Posts: 135
Location: Romania

the formula is corect but the percentage is to big for a 1 min chart as i have told u. try for example writeval(trough(3,l,0.02)) that should work and u will see that the formula is ok.
abcde123  
#7 Posted : Thursday, April 5, 2007 4:35:16 AM(UTC)
abcde123

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/13/2005(UTC)
Posts: 20

Yes now at least i get some value returned , Thanks for ur help!!!
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.