[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: function LastDateOfThisTicker("YHOO")



PureBytes Links

Trading Reference Links


Hi,

About 10-12 Stocks.
The main Problem: Has already been trading today, or not?
This is the reason, why I want to know the last trading day.

BR, Zoli.

--- In amibroker@xxxxxxxxxxxxxxx, "hairy_mug" <WSCHWARZ@xxxx> wrote:
> 
> Zoli,
> How many stocks are you testing?
> If it a limited size, there may be a way of doing it...
> 
> Walt
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "zoli_j" <novizoli@xxxx> wrote:
> > 
> > Hi group,
> > 
> > I would like to write a function, which can calculate the 
lastdate 
> of 
> > a selected Ticker.
> > It's neccressary for me to do a statistic about Market.
> > 
> > For example:
> > 
> > "
> > //ShownTicker = "YAHOO"; default. which is selected
> > //ItsANotShownTicker = what I want to prove. Any ticker. 
> > (GOOG,IXIC,DJI,QQQ)
> > 
> > _N( ShownTicker = Name() );
> > 
> > function LastDateOfThisTicker(ItsANotShownTicker) {
> >  SetForeign(ItsANotShownTicker);
> >  myLastDate = Date();
> >  return myLastDate;
> > }
> > 
> > ldGOOG = "GOOG: " + LastDateOfThisTicker("GOOG");
> > ldIXIC = "IXIC: " + LastDateOfThisTicker("IXIC");
> > ldDJI = "DJI: " + LastDateOfThisTicker("DJI");
> > ldQQQ = "QQQ: " + LastDateOfThisTicker("QQQ");
> > "
> > Could anybody help me?
> > 
> > BR, Zoli.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/