Rank: Member
Groups: Registered, Registered Users Joined: 1/21/2007(UTC) Posts: 21
|
Hi All,
I am trying to figure out the following for exploration.
- Today’s closing price is above both the 10-day and 20-day moving averages
- The 10-day moving average is above the 20-day moving average
- Today’s high price is lower than yesterday’s high
- Yesterday’s high is lower than the high the day before
Also trying to find out:
13-day moving average of the Force Index ,
Where force index is Force index = (Close [today] - Close [yesterday]) * Volume
Any help will be appreciated.
Thanks in advance.
Bill
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey bill....... first part..... will look at part 2 in abit..... h
-----------------------
a:= mov(c,10,s); aa:= mov(c,20,s);
(c > a) and (c > aa) and (a > aa) and (h < ref(h,-1)) and (ref(h,-1)< ref(h,-2));
----------------------
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 1/21/2007(UTC) Posts: 21
|
|
|
|
|
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)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey bill..... force index would be something like code below.....h
-------------------------------------------
pds:=Input("periods",2,100,13);
a:= (C-Ref(C,-1)) * V;
Mov(a,pds,S);
--------------------------------------------
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 1/21/2007(UTC) Posts: 21
|
Thanks Wabbit and Hayseed, you guys are awesome. We don't know what we do on this board without you two :).
Thanks
Bill
|
|
|
|
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.