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

Notification

Icon
Error

Options
Go to last post Go to first unread
Lesmor  
#1 Posted : Wednesday, September 20, 2006 10:06:58 AM(UTC)
Lesmor

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 8/22/2006(UTC)
Posts: 5

I am trying to configure a formula for

Yesterdays bar low >= a rising 200 day simple moving average and

todays bar High above the rising 200 day moving average, todays bar low below the rising 200 day moving average

Any help would be appreciated

mstt  
#2 Posted : Wednesday, September 20, 2006 3:53:56 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)

Lesmor

Try this.

{Lesmor Request}
SimpleMA:=Mov(C,200,S);
RisingMA:=SimpleMA>Ref(SimpleMA,-1);
Ref(LOW >= SimpleMA,-1) AND HIGH > SimpleMA
AND LOW < SimpleMA AND Sum(RisingMA,2)=2;

Roy

MetaStock Tips & Tools

Lesmor  
#3 Posted : Thursday, September 21, 2006 12:47:36 AM(UTC)
Lesmor

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 8/22/2006(UTC)
Posts: 5

Thanks very much , works a treat
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.