Rank: Newbie
Groups: Registered, Registered Users Joined: 5/16/2006(UTC) Posts: 1
|
How can I write an Exploration that tells me on a daily basis whether a 5 period simple moving average crosses a 20 period simple moving average to the upside or downside.
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey trevor.... on something like you can almost sound it out so to speak...... once you get a handle on where the commas and )'s go its easy to see....... also its best not to use the 'cola' or 'colb' filter.... not doing so gives you the past history or at least as long as you'e explored for......by clicking on each security you can see the past days and whether there was a up or down cross indicated by the 1.....h
Exploration notes
Col A: up
Cross(Mov(C,5,S),Mov(C,20,S));
Col B: down
Cross(Mov(C,20,S),Mov(C,5,S));
Filter enabled Yes
Periodicity Daily
Records required 1000
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 8/15/2006(UTC) Posts: 1
|
Hello hayseed.I am new on this forum.How can I run this exploration if the crossover of moving averages has occured in the last 10 days.Also if the closing price has crossed the 10 day simple moving average.Thanks
|
|
|
|
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)
|
Trevor and waj,
Welcome to the Forum...
I think both of you will benefit greatly by reading the MS Users Manual and attempting all the exercises in the free Equis Formula Primer (from the downloads section). Both of these will give you the knowledge and knowhow to build your own indicators, experts, explorations and systems; simple ones like expressed in this thread, and with some time and practice you will be able to code more complex ideas.
wabbit [:D]
|
|
|
|
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.