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

Notification

Icon
Error

Options
Go to last post Go to first unread
rsahgal  
#1 Posted : Friday, March 3, 2006 6:01:09 PM(UTC)
rsahgal

Rank: Newbie

Groups: Registered, Registered Users
Joined: 2/19/2006(UTC)
Posts: 5

Hello Can someone please throw any light on the following queries: 1. Does MS Pro have any built in function to check the periodicity of the chart being displayed i.e. daily weekly intra-day and if intrday-number of minutes or ticks? 2. Following from the above can we program the parameters used by an indicator in a manner that the parameters used for each time frame are different e.g a 15 bar Stock %K for an hourly chart and 5 bar Stock %K for hourly charts etc. Thanks in advance for any help. Regards Rakesh
mstt  
#2 Posted : Friday, March 3, 2006 7:39:01 PM(UTC)
mstt

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)
Rakesh I don't know of any built in function for checking the periodicity of charts but it's not that difficult to create code for doing this. For example, I use the following code for detecting whether a chart is weekly periodicity. A:=DayOfWeek(); G:=LastValue(Highest(Sum(A=5,5))=5); All this does is set "G" true for the entire data array when 5 consecutive bars are Fridays. An intraday chart could be identified as hourly periodicity with the following code. A:=Minute(); G:=LastValue(Highest(A)=0); This method is just one of several that you could adopt. If the above is not suitable then make changes accordingly. Roy MetaStock Tips & Tools
Jose  
#3 Posted : Saturday, March 4, 2006 2:53:35 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)
To check for periodicity of charts, use this Auto chart detector indicator from MetaStockTools.com. "Detects Daily/Weekly/Monthly/Quarterly/Yearly charts automatically - with application example". Also available for clients, custom Intraday timeframe detector: "Displays current intraday timeframe in minutes. Detects any standard or custom intraday timeframe from 1min up to and including 60min. Can be referenced by any MetaStock process." jose '-)
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.