logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
LongShot  
#1 Posted : Friday, April 8, 2005 6:02:45 PM(UTC)
LongShot

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?
Jose  
#2 Posted : Saturday, April 9, 2005 11:52:56 AM(UTC)
Jose

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
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.