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

Notification

Icon
Error

Options
Go to last post Go to first unread
stockstrader  
#1 Posted : Sunday, March 15, 2015 3:01:17 AM(UTC)
stockstrader

Rank: Newbie

Groups: Registered Users, Subscribers, Unverified Users
Joined: 3/14/2015(UTC)
Posts: 1

Thanks: 1 times

Hi :

I would like to seek advice on coding the following conditions. Thanks

(1) The price has a lower low as compared to the prior day for at least 2 or more days in the past 5 days

(2) The price has made a new 250 day high within the last 20 days

 

mstt  
#2 Posted : Sunday, March 15, 2015 7:15:41 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Hi stocktrader If I've understood your requirements correctly then the following MetaStock indicators will return a TRUE result (value or 1) when the relevant conditions are TRUE; {Condition 1} LowerLow:=L<Ref(L,-1); Sum(LowerLow,5)>=2; {Condition 2} NewHigh:=H>HHV(Ref(H,-1),249); Alert(NewHigh,20); Roy
thanks 1 user thanked mstt for this useful post.
stockstrader on 3/15/2015(UTC)
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.