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

[amibroker] Re: Displaying 4 digits for custom metric


  • Date: Tue, 23 Feb 2010 18:46:58 -0000
  • From: "Mike" <sfclimbers@xxxxxxxxx>
  • Subject: [amibroker] Re: Displaying 4 digits for custom metric

PureBytes Links

Trading Reference Links

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@xxxxxxxxxxxxxxx, "Markus Witzler" <funnybiz@xxx> wrote:
>
> Hello,
> 
> this returns awkward output????
> 
> 
>   ----- Original Message ----- 
>   From: ta 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   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@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Markus Witzler
>   Sent: Sunday, February 21, 2010 9:27 AM
>   To: amibroker@xxxxxxxxxxxxxxx
>   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
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/