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

[amibroker] Re: Displaying 4 digits for custom metric


  • Date: Wed, 24 Feb 2010 19:38:14 -0000
  • From: "Mike" <sfclimbers@xxxxxxxxx>
  • Subject: [amibroker] Re: Displaying 4 digits for custom metric

PureBytes Links

Trading Reference Links

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@xxxxxxxxxxxxxxx, "Markus Witzler" <funnybiz@xxx> 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@xxxxxxxxxxxxxxx 
>   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@xxxxxxxxxxxxxxx, "Markus Witzler" <funnybiz@> 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
>   >
> 
> 
> 
>   
> 
>   __________ 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/