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

Notification

Icon
Error

Options
Go to last post Go to first unread
wissim  
#1 Posted : Sunday, April 10, 2011 9:06:01 PM(UTC)
wissim

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/11/2011(UTC)
Posts: 2


I am new to Metastock.

I want to transfer indicators from my current software to metastock. I have been trying to write a custom formula for peak and trough but cannot get it working.

The logic of the formula are as follows:

Peak: The highest price of the last 4 price period.
Trough: the lowest price of the last 4 period.

The lines will be plot as horizontal line linking all the peaks and trough.

Does anyone have any ideas?

><img src=
Back to top
wabbit  
#2 Posted : Monday, April 11, 2011 5:02:49 PM(UTC)
wabbit

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)
HHV() and LLV() wabbit [:D]
wissim  
#3 Posted : Tuesday, April 12, 2011 6:41:26 PM(UTC)
wissim

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/11/2011(UTC)
Posts: 2

Thanks Wabbit for providing the formula I will try it out.

Thanks
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.