in Search

Formula for How to find first date in a metastock file

Last post 12-17-2007, 0:18 by Richard Dale. 2 replies.
Sort Posts: Previous Next
  •  12-15-2007, 19:10 26073

    Formula for How to find first date in a metastock file

    Hi,

    Pls help me with a formula to find the start date of the a metastock file.

    Regards

    Senthil
  •  12-16-2007, 20:11 26078 in reply to 26073

    Re: Formula for How to find first date in a metastock file

    hey senthil...... do you actually need a formula ..... 

     not really sure just what your doing with the first date, but you can tell the first date when you open any security......  it shows first and last date for every security in the folder..... that might not suffice but is one way.....h

  •  12-17-2007, 0:18 26080 in reply to 26073

    Re: Formula for How to find first date in a metastock file

    Try these out:
    startyear := ValueWhen(1,Cum(1)=1,Year());
    startmonth := ValueWhen(1,Cum(1)=1,Month());
    startdom := ValueWhen(1,Cum(1)=1,DayOfMonth());
    Note that when you use an exploration, make sure you have the max number of periods loaded (eg. 65000) in the Options.

    Cheers,
    Richard.



    www.premiumdata.net
View as RSS news feed in XML