Thanks, Mike

  ----- Original Message ----- 
  From: Mike 
  To: [email protected] 
  Sent: Wednesday, February 24, 2010 8:38 PM
  Subject: [amibroker] Re: Displaying 4 digits for custom metric


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



  

  __________ 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

Reply via email to