Rank: Newbie
Groups: Registered, Registered Users Joined: 11/10/2010(UTC) Posts: 4
|
Hi Guys,
I want to create a hammer exploration, but I dont want to use the defualt one in metastock as I cannot change the parameters. I get too few candidates so I want to create my own.
I basically want an exploration that will give me results which show that the upper body of the candle is at most half the length of the candle or higher, regardless if it closed up or down for the day.
can anyone help?
thanks in advance
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 11/10/2010(UTC) Posts: 4
|
cmon guys.....
3 days and no one knows how to do it???
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
You haven't posted any of your own attempt, so it's hard for members here to provide any assistance to correct your errors.
If you haven't even made an attempt to do this yourself, then I suggest you start by reading the MS User Manual, downloading the free Equis Formula Primer and working through the exercises contained therein; if you get stuck with your own code, then post it here where someone will offer their time to assist you.
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 11/10/2010(UTC) Posts: 4
|
ok ive created the scan i wanted. It seems to give me the results i want
here it is;
Filter
C=H AND ((H-O)/(H-L))<=.5 AND H> O
OR
O=H AND ((H-C)/(H-L))<=.5 AND H> C
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
You need to trap the occasions when H=L to avoid divide by zero errors. The code may work, but is it what was originally requested? I was thinking something more along the lines of: Code:{modified hammer}
H=Max(O,C) AND
Min(O,C) >= (H+L)/2;
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 11/10/2010(UTC) Posts: 4
|
for some reason my entire scan wont post on here, there are bits left out.
thats odd, but anyway ill give yours a try
cheers
|
|
|
|
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.