PureBytes Links
Trading Reference Links
|
Hi TJ
A very simple question: Where should I put this code into ?
"AddColumn( DateTime(), "Date/Time", formatDateTime );"
Put it at the end of the codes of the strategy , then there will be
an additional column "Date/Time " ?
thanks /huanyan
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx>
wrote:
>
> Hello,
>
> For date/time column either use existing one or use:
>
> AddColumn( DateTime(), "Date/Time", formatDateTime );
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "tuzo_wilson" <j.tuzo.wilson@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, January 06, 2009 7:35 PM
> Subject: [amibroker] Re: sorting exploration results
>
>
> > --- In amibroker@xxxxxxxxxxxxxxx, "Carl Vanhaesendonck"
<carl.van@>
> > wrote:
> >>
> >> Thanks, you can indeed sort several columns using Ctrl/mouse but
> > still the
> >> date/time column will sort only down to the day, NOT the time.
> >
> > You should be able to add the time to the exploration and then
include
> > that in your sort by holding the shift button down:
> >
> > AddColumn(TimeNum(), "Time");
> >
> > You could even combine date and time in one column if that is
easier:
> >
> > AddColumn(DateNum() + TimeNum()/1000000, "Date.Time", 1.6);
> >
> >
> > Tuzo
> >
> >
> >> This can be a burden for intraday traders when you will then have
> > several
> >> exploration results (rows) all from the same day of course, but
then
> >> impossible to sort them from the most recent to the oldest ones.
> >>
> >> Either this is a bug or just something to add on a further
release I
> > guess.
> >>
> >>
> >>
> >> Carl
> >>
> >
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > *********************
> > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail
directly to
> > SUPPORT {at} amibroker.com
> > *********************
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > *********************************
> > Yahoo! Groups Links
> >
> >
> >
>
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|