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

Notification

Icon
Error

Options
Go to last post Go to first unread
peter_zyn  
#1 Posted : Tuesday, November 22, 2005 10:33:11 AM(UTC)
peter_zyn

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/5/2005(UTC)
Posts: 5
Location: Australia

Please help How do I build an single indicator using the closing price of 4 separate stocks. I would have a chart running (stock 1) as the base stock. The indicator would be a combination of 4 different stocks (stocks,2,3,4,5) in the same time frame. eg 1HOUR Kind regards Peter
mplwengrud  
#2 Posted : Tuesday, November 22, 2005 1:39:18 PM(UTC)
mplwengrud

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 11/5/2005(UTC)
Posts: 22

Hi Peter.. If you go to the dowload page on this site you find Forumulaprimer from equis, Download load the formulaprimer and look in excercise 25. I used It before and I did a folder of 60min/intra of the stocks.. regards mike :)
hayseed  
#3 Posted : Tuesday, November 22, 2005 9:14:31 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey peter.... you might also want to check out patricks dll download.... it has a custom index function that works well..... until then, a simple way might be as below..... you mentioned hour so that would need the online security function.... which will of course talley your group in real time..... just add more if your list out grows 4.....h peters four
[color=blue:f8e81aa00b]aa:= Security("ONLINE:csco",C); bb:= Security("ONLINE:dell",C); cc:= Security("ONLINE:jnpr",C); dd:= Security("ONLINE:atml",C); aa+bb+cc+dd[/color] -----------------------------------
StorkBite  
#4 Posted : Tuesday, November 22, 2005 9:34:41 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
There is a limit to the number of securities you can add in this manner... it's not many either.
hayseed  
#5 Posted : Thursday, November 24, 2005 12:27:25 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey peter.... got your mail.... creating intraday folders is really simple matter and you can use the downloader to load historical intraday data in any time frame, whether its 1,3,5,9,15 minute and so on.... the amount of historical data varies with data supplier..... when creating intraday folders, if you try to exceed 60 minutes , such as 90 minutes or 2 hours, it gets tricky..... patricks dll's are in the download section here on the forum...... The data will be updated realtime for every bar .... yes in your situation thats true.... If the base security is USDAUD in the (5 minute folder). Will the above indicator formula scan the (5 minute folder) in real time and update the indicator when new current data is written to the folder from cable data source ..... that would be the long way around..... just open the USAUD, have the period set to 5 minutes and apply your indicator.... all would update in streaming realtime in 5 minute bars.... apply your index to a 13 minute chart and it will update in 13 minute bars..... If I were to run the same indicator in offline mode, would it still work on static data ..... offline is where having intraday folders comes in..... you would need to change the security paths from aa:= Security("ONLINE:dell",C); to aa:= Security("C:\\MetaStock Data\\60\\dell",C); ..... i used 60 for 60 minutes..... if you wanted 5 minutes you'd have to create a realtime updating 5 minute folder and have your 4 or more index component securities in it..... one index could be called online and the other offline......h
Users browsing this topic
Guest (Hidden)
Similar Topics
Metastock Indicators to .Dll (Advanced Coding Techniques)
by ManosFM 3/30/2013 2:54:56 AM(UTC)
metastock indicators and experts (Plugins & Addons)
by eltiganiae 11/28/2005 12:40:16 PM(UTC)
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.