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

Re: [amibroker] request to Tomasz for db name to be added to report file



PureBytes Links

Trading Reference Links

Hello,
 
You may add it as 'custom metric'
 
Example:
 
/* First we need to enable custom backtest procedure and
** tell AmiBroker to use current formula
*/


SetCustomBacktestProc(""
);

/* Now custom-backtest procedure follows */


if( Status("action") == actionPortfolio
)
{
    bo =
GetBacktesterObject
();

    bo.Backtest();
// run default backtest procedure


    
// Here we add custom metric to backtest report
    AB =
CreateObject("Broker.Application");
    bo.AddCustomMetric(
"Database path"
, AB.DatabasePath );
}

// your trading system here

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "gerryjoz" <geraldj@xxxxxxxxxx>
Sent: Monday, July 18, 2005 6:23 AM
Subject: [amibroker] request to Tomasz for db name to be added to report file

> Tomasz,
> in the course of developing an approach to dividend adjusted prices for
> ASX, i was comparing AA runs against different dbs. It appears that the
> db name of a particular run isn't recorded in the report files that
> explorer saves. If it is kindly tell me where (my apology herewith).
> If not could you add it somewhere please.
> This might be helpful to anyone testing across different markets who
> don't use yahoo or equivalent suffixes.
> Thanks
> Gerry
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------~-->
> Try Online Currency Trading with GFT. Free 50K Demo. Trade
> 24 Hours. Commission-Free.
>
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
> --------------------------------------------------------------------~->
>
> 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 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/
>
> <*> 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/

>
>
>


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 other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software Stock investment software


YAHOO! GROUPS LINKS