PureBytes Links
Trading Reference Links
|
try this
DayBought = ValueWhen(Buy, DateTime());
DaySold = ValueWhen(Sell, DateTime());
Filter = 1;
AddColumn(Daybought,"DayBought",formatDateTime);
AddColumn(DaySold ,"DaySold",formatDateTime);
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 23/11/06, batymohn <batymohn@xxxxxxxxx> wrote:
>
> Hi All,
> I'm writing a simple Buy and Sell exploration but I wanted to print th
> buy a sell dates in the columns but I can't get it. My best guess is
>
> DayBought = ValueWhen(Buy[i], Day());
>
> DaySold = ValueWhen(Sell[i], Day());
>
>
> but it just returns a meaningless (to me) number. Has anyone tried
> this?
>
> Thanks.
> Chris
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get 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
>
>
>
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.13/546 - Release Date: 11/22/2006
|