Rank: Newbie
Groups: Registered, Registered Users Joined: 3/30/2013(UTC) Posts: 5
|
How do i perform the calculation of number of positive negative days formula for scanning ?
Anyone can help ?
I know Metastock doesn't have loopback. Using metastock 8.01.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 3/30/2013(UTC) Posts: 5
|
Over a period of 260 days.
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 7/20/2010(UTC) Posts: 24
|
Please specify what is for you Positive and what Negative Day .... Ex. could be : case 1. Open lower than Close of same day for Positive .... and case 2. Close of today Higher than Close of yesterday .... Regards Dimitri
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 3/30/2013(UTC) Posts: 5
|
Positive Day = Today Close is Higher than Yesterday Close.
Negative Day = Today Close is Lower than Yesterday Close.
Case 2
Appreciate the help. Thanks...
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 3/30/2013(UTC) Posts: 5
|
I need it as a Explorer scanning of stocks.
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 7/20/2010(UTC) Posts: 24
|
niubee wrote:Positive Day = Today Close is Higher than Yesterday Close.
Negative Day = Today Close is Lower than Yesterday Close.
Case 2
Appreciate the help. Thanks...
So according your assumption, we have: posday:=C>Ref(C,-1); negday:=C<Ref(C,-1); You can also express it, in this way also: posday:=C-Ref(C,-1)>0; negday:=C-Ref(C,-1)<0; Hope it helps, Regards Dimitri
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 3/30/2013(UTC) Posts: 5
|
how do i make it scan for the last 260 days period ?
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 7/20/2010(UTC) Posts: 24
|
So according your assumption, we have: posday:=C>Ref(C,-1); negday:=C<Ref(C,-1);
You can also express it, in this way also: posday:=C-Ref(C,-1)>0; negday:=C-Ref(C,-1)<0;
Now if you want to count how many times are true for the last 260 periods .... Sum(posday,260); Sum(negday,260);
Rgds - Dimitri
|
|
|
|
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.