BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: Metastock - Close above Median Price
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Metastock - Close above Median Price

 Post Reply Post Reply
Author
Message / View First Unread Post
etrader View Drop Down
Regular
Regular
Avatar

Joined: 18 Dec 2004
Posts: 63
Post Options Post Options   Quote etrader Quote  Post ReplyReply Direct Link To This Post Topic: Metastock - Close above Median Price
    Posted: 18 Dec 2004 at 8:01pm

hi all,

I have tried to paste this into The Indicator Builder, but comes up with error 111. It is a Momentum filter I want to use. This is designed to find those stocks where the close is above the median price over the past five days. It matches the steps in Robert Deels book, The Strategic Electronic Day Trader.


col a = CLOSE - MP()
col b = (Ref(CLOSE,-1))-(Ref( MP() ,-1))
Col c = (Ref(CLOSE,-2))-(Ref( MP() ,-2))
col d = (Ref(CLOSE,-3))-(Ref( MP() ,-3))
col e = (Ref(CLOSE,-4))-(Ref( MP() ,-4))
filter = colA>=0 AND colB>=0 AND colC>=0 AND colD>=0 AND colE>=0

I'd appreciate the help.

Regards etrader

Back to Top
Peter View Drop Down
BullCharts Staff
BullCharts Staff
Avatar

Joined: 09 Sep 2004
Location: Australia
Posts: 241
Post Options Post Options   Quote Peter Quote  Post ReplyReply Direct Link To This Post Posted: 20 Dec 2004 at 9:47am
Hi etrader,

To do the equivalent filter in BullScan:
  1. Create a new scan (and give it a name, etc)
  2. Click on the criteria tab
  3. Click the New button and create a criteria as follows:
    1. First Value: "Is a price field", "Close"
    2. Condition "Is greater than or equal to", "Every" bar in the last "5" bars.
    3. Second Value "Is a price field", "Median"
  4. Press Ok

Back to Top
etrader View Drop Down
Regular
Regular
Avatar

Joined: 18 Dec 2004
Posts: 63
Post Options Post Options   Quote etrader Quote  Post ReplyReply Direct Link To This Post Posted: 22 Dec 2004 at 3:08pm
thx Peter, first time used so will give a try.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz