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@xx.>
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
>