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

Notification

Icon
Error

Options
Go to last post Go to first unread
arnevanveen  
#1 Posted : Thursday, December 1, 2005 3:25:23 PM(UTC)
arnevanveen

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 10/15/2005(UTC)
Posts: 31
Location: The Netherlands

Dear all, I would like to translate the following idea to metastock language, but unfortunately im not able to do it. Please forgive me my unsophisticated solutions, i just started to learn. I did check the forum for this answer, but i did not find it yet. I would like to indicate a trend when the ADX(14) crosses 22. The trend keeps in tact untill it declines below 18. So when the adx crosses 22 and declines afterwards to 19, the condition is still met. In this manner i try to widen the border of the trendindicator. When a trend is indicated, i would like te use other indicators to give buy and sell signals, the adx is just a filter. Later on i will try the same with RAVI and BWI. I tried the following solutions: trend:= Cross(ADX(14),22). The disadvantage of this is that it only gives a one on that particular day that is gives the signal. That's why I don't know how the use is at filter. The other solution i tried is: trend:=ADX>22 . The disadvantage of this is that the indicator is not able to decline below 22 and it should be able to decline until 18. Thanks in advance for cooperation!!! Arne
Patrick  
#2 Posted : Thursday, December 1, 2005 3:29:06 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Try this in your filter: LowestSince(1,Cross(ADX(14),22),ADX(14))>=18 Patrick :mrgreen:
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.