logo
Welcome Guest! To enable all features please Registers on the forum or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Kumar81  
#1 Posted : Thursday, September 11, 2014 9:26:46 AM(UTC)
kumar81

Rank: Newbie

Groups:
Joined: 8/31/2014(UTC)
Posts: 2

Am trying to write formula to filter stocks which are "9EMA > 20SMA" and must meet this condition for "monthly AND weekly AND daily" chart. Please help, am not sure of formula for monthly AND weekly.

mstt  
#2 Posted : Thursday, September 11, 2014 1:00:57 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 Kumar

Calling three time-frames in one exploration requires custom formulas for the two highest time-frames. If you were using my Multi-Frame indicators your column A code for an exploration run on daily data would probably look something like that shown below.

{ColA}
Mov(C,9,E) > Mov(C,20,S) AND {daily}
Fml("Multi-Frame D EMA-9W") > Fml("Multi-Frame D SMA-20W") AND {weekly}
Fml("Multi-Frame D EMA-9M") > Fml("Multi-Frame D SMA-20M"); {monthly}

{Filter}
colA;

Another way to approach the problem is to batch three simple explorations, one for each time-frame, with the second and third exploration using results from the first and second explorations respectively.

Roy

Kumar81  
#3 Posted : Friday, September 12, 2014 9:52:59 AM(UTC)
kumar81

Rank: Newbie

Groups:
Joined: 8/31/2014(UTC)
Posts: 2

Hi Roy,

Thanks for your help. Since I don't have multi frame indicator names in indicator builder, gave error. Is there any way I can find multi frame indicator builder in metastock.

Thanks

Kumar

mstt  
#4 Posted : Friday, September 12, 2014 12:39:03 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 Kumar

See my private message. I'll follow through with the indicators once I have an email address.

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