Rank: Advanced Member
Groups: Registered, Registered Users Joined: 4/4/2005(UTC) Posts: 31
|
I am trying to put together an indicator that uses the
'Security("SPX",Close)' function; I am using daily data, and from what I can gather through testing, I am getting a quarterly close instead of the daily close. As you can guess, this isn't too good on daily data. I have not even looked at quarterly charts in months, so I don't know where this could be coming from. Ideas?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
You're looking at one of MetaStock's "features". Hopefully it will be fixed in upcoming versions. :wink:
In the meantime, avoid changing either the loaded dates or periodicity whilst plotting it, and reference your security data from within another indicator thus:
[code:1:0b5a34b6f2]
========
path SPX
========
---8<-----------
Security("SPX",C)
---8<-----------
[/code:1:0b5a34b6f2]
... and reference it in your final indicator:
[code:1:0b5a34b6f2]
==============
your indicator
==============
---8<-----------
x:=Fml("path SPX");
{...}
x
---8<-----------
[/code:1:0b5a34b6f2]
jose '-)
http://www.metastocktools.com
|
|
|
|
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.