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

Notification

Icon
Error

Options
Go to last post Go to first unread
Flexi  
#1 Posted : Saturday, October 20, 2007 10:07:29 PM(UTC)
Flexi

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/27/2006(UTC)
Posts: 135

Hi,

1) Is there a dll or coding where moving average of 5 min or other time frame be plotted on a 1 min chart?

2) How to code a indicator of 2, 3 or 5 day swing trend filter on a 1 min intraday chart? Eg for a 3 days swing, if the current intraday price is lower than the high of the previous 3 days, the trend is down. A 1, 0 or -1 value on the indicator for the trend.

Flexi

Branden Russell  
#2 Posted : Monday, October 22, 2007 8:49:49 AM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

You can pass data into your DLL with the MetaStock Formula Language when you call your DLL. That'd be where you pass in the 1 minute date from a 1 minute chart.
Then you can use the MSFL (MetaStock File Library) to access a 5 minute data file and read the data from that to perform your calculations.
You must pass back your results as if it is a one minute chart. Each data pont will be plotted every one minute.

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.