Rank: Advanced Member
Groups: Registered, Registered Users Joined: 10/6/2005(UTC) Posts: 30
|
Hi
Is there a way to specify excluding in an explorartion (or indicator) any shares that have gapped up in any of the last n days by more than a specified amount.
I know there is a gap up function but
a) i am unsure how to say no gap up's in any of the last so many days using the function
b) I wanted it configurable as to what a gap up meant, say no gap up more than a dollar or 5 percent.
Many thanks
David
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
|
|
|
|
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)
|
David,
Have a look at the syntax for the BarsSince() function. BarsSince(GapUp())>n might do the trick to avoid gaps in the last n days, but I think you are looking for stocks that have recently gapped, in which case you need to have a look at the Alert() function. Alert(GapUp(),n). You could use the BarsSince(GapUp())<5 but I think Alert() is neater.
As for the gap difference, that is just a simple matter of doing the maths on today's open vs yesterdays high i.e O>Ref(H,-1)*x (pct) or O>Ref(H,-1)+y ($)
Hope this helps.
wabbit :D
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 10/6/2005(UTC) Posts: 30
|
Many thanks for both the replies. They look just what I need.
Regards
David
|
|
|
|
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.