Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 9/11/2005(UTC) Posts: 5
|
Hi,
I have developed quite a good trading strategy but I would like to test that does it get any better if I use some kind of market confirmation. For example, I won't buy even if my current system tells me to UNLESS S&P500 is above 200DMA etc.
Is this possible to test?
|
|
|
|
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 have a look in you Users Manual at the Security() function.
Something along the lines of:
myBuy:={entry criteia};
SnP500:=Security(path to security,C);
myBuy and SnP500>Mov(SnP500,200,S);
Hope this helps.
wabbit :D
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 9/11/2005(UTC) Posts: 5
|
security function works only in professional (at least that is what it says). I have EOD.
|
|
|
|
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)
|
Security() was implemented in MS Version 7.0 and exists in the EOD and Pro versions.
Have a read of the Users Manual and check.
wabbit :D
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 9/11/2005(UTC) Posts: 5
|
I have version 8.0 and neither the user's manual or metastock's help know about that function....
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
The security function was added to MS 9.0 EOD or is available only in Pro versions ... Unfortunately that is what you need to complete your system ...
Patrick :mrgreen:
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 9/11/2005(UTC) Posts: 5
|
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Why don't you try the CustomIndex I just uploaded somewhere else, create a folder with sp&500 and try the function ...
Patrick :mrgreen:
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 9/11/2005(UTC) Posts: 5
|
Because I can't get the CustomIndex to work :)
When I first save the forumdll.dll to C:\\Program Files\\Equis\\MetaStock\\External Function DLLs\and then open Metastock and click functions, the forumdll is not in the function category although everything else in that ExternalFunctionDll -folder is there.....
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Guys
There seems to be some confusion about when the Security function was introduced to EOD and Pro versions of MetaStock.
MS Pro got that function in one of the MS 7.XX versions. 7.20 definitley has it.
However the EOD version didn't get it until 8.0, or possibly 8.01. It's definitely there in 8.01, and everyone should have taken advantage of the free upgrade from 8.0 as its System Tester was a shocker.
If you have either MS Pro or MS EOD in version 8.01 or later then you do have the Security() function.
If you have an earlier version without the Security() function then you can still use the "P" function/indicator/variable as a sort of proxy for the Security() function. It requires an index chart to be open and either the price or an indicator to be marked so it can be called by an exploration or systems test. Only the CLOSE price is available via "P" when the price is marked directly, but that's easy to get around by making an indicator with the preferred price. "P" can only be applied to one indicator (or price), and it's up to the user to make sure all the necessary information is imbedded in that one indicator.
Roy
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Thanks Roy I completely forgot about the P variable :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.