Markus,
The first null is the value you would want to show
considering only the long positions, the second considering only the short
positions. If you don't want to break them out, then just using null or zero
is probably the best you're going to get.
Mike
--- In amibroker@xxxxxxxxxps.com,
"Markus Witzler" <funnybiz@xx.>
wrote:
>
> Hi Mike,
>
> THAT did the trick.
>
> I didn´t realize, that I need to set the two previous values before
"# of digits" to Null.
>
> These two return N/A value in backtest
summary report if i go the way you suggested.
>
> Any idea how to
supress it?
>
> If not - no harm.
>
> Appreciate
your help - and of course also the one of all others!
>
>
Markus
>
>
>
>
> ----- Original Message
-----
> From: Mike
> To: amibroker@xxxxxxxxxps.com
> Sent: Tuesday, February 23, 2010 7:46 PM
> Subject: [amibroker]
Re: Displaying 4 digits for custom metric
>
>
>
>
Hi,
>
> As per the documentation http://www.amibroker.com/guide/a_custombacktest.html
>
> bo.addCustomMetric("Bliss (frequency)",
-(icagr/Max_dd*100), null, null, 4);
>
> Mike
>
> --- In amibroker@xxxxxxxxxps.com,
"Markus Witzler" <funnybiz@> wrote:
> >
> >
Hello,
> >
> > this returns awkward output????
> >
> >
> > ----- Original Message -----
> > From:
ta
> > To: amibroker@xxxxxxxxxps.com
> > Sent: Sunday, February 21, 2010 10:18 PM
> > Subject:
RE: [amibroker] Displaying 4 digits for custom metric
> >
>
>
> >
> >
> > Do something as
follows:
> >
> > Bliss = -(icagr/Max_dd*100) ;
>
>
> > bo.addcustommetric("Bliss (frequency)",
WriteVal(Bliss, 1.4));
> >
> > From: amibroker@xxxxxxxxxps.com
[mailto:amibroker@xxxxxxxxxps.com]
On Behalf Of Markus Witzler
> > Sent: Sunday, February 21, 2010 9:27
AM
> > To: amibroker@xxxxxxxxxps.com
>
> Subject: [amibroker] Displaying 4 digits for custom metric
> >
> >
> >
> >
> >
> >
Hello,
> >
> >
> >
> > I wonder how to
have 4 digits for my custom metric displayed.
> >
> >
> >
> > I tried this but that apparently was not
it
> >
> > bo.addcustommetric("Bliss
(frequency)", -(icagr/Max_dd*100), 4
> >
> > Also
this didn´t work
> >
> > bo.addcustommetric("Bliss
(frequency)", -(icagr/Max_dd*100), = 4)
> >
> >
What is the correct syntax, please?
> >
> > Thanks
>
>
> > Markus
> >
> >
> >
>
>
> >
> > __________ Information from ESET Smart
Security, version of virus signature database 4668 (20091207)
__________
> >
> > The message was checked by ESET Smart
Security.
> >
> > http://www.eset.com
> >
>
>
> >
> >
> > __________ Information from
ESET Smart Security, version of virus signature database 4668 (20091207)
__________
> >
> > The message was checked by ESET Smart
Security.
> >
> > http://www.eset.com
> >
>
>
>
>
>
> __________ Information from ESET
Smart Security, version of virus signature database 4668 (20091207)
__________
>
> The message was checked by ESET Smart
Security.
>
> http://www.eset.com
>
>
>
>
> __________ Information from ESET Smart Security,
version of virus signature database 4668 (20091207) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>