Hmmmm.... I guess you'll need to send your formula, pics, etc to support at amibroker dot com and see what they have to say about adding a string to the metrics.
d > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of PKJR > Sent: Thursday, July 20, 2006 11:39 AM > To: [email protected] > Subject: Re: [amibroker] formatting columns? > > dingo - as you see there is already string on the front of > the numbers.. internally everything is a string > "NG2200504"..so this is why I have no idea how the 2,200,504 > I still being created.. > > anyway I tried your suggestion and added "XY"+ > ThisContractNameIn and I got the following- pic attached.. > > > On 7/20/06, dingo <[EMAIL PROTECTED]> wrote: > > I don't think you read my solution carefully. I didn't just add a 0. > > > > I moved the variable to the left of the comma: "Contract (IN) " + > > ThisContractNameIn and replaced it with a 0. > > > > Only Tomasz decides if somethings a bug or a "feature" but > I'd suggest > > you put in an "enhancement" request at the feedback center: > > http://www.amibroker.com/feedback/index.php > > > > Please try what I suggested and lemme know what happened. > > > > d > > > > > > > > > -----Original Message----- > > > From: [email protected] > > > [mailto:[EMAIL PROTECTED] On Behalf Of PKJR > > > Sent: Thursday, July 20, 2006 7:29 AM > > > To: [email protected] > > > Subject: Re: [amibroker] formatting columns? > > > > > > dingo - thank you for your help. I tried adding 0 but I see no > > > changes in the output column.. could this be qualified as a bug? > > > > > > > > > pr > > > > > > > > > On 7/19/06, dingo <[EMAIL PROTECTED]> wrote: > > > > I would seem that Amibroker is expeing the argument ( in this > > > > case ThisContractNameIn ) to be numeric (variant). > > > > > > > > Try this AddCustomMetric("Contract (IN) " + ThisContractNameIn, > > > > 0); > > > > > > > > What I'm trying to do is make the variable part of the title. > > > > > > > > From the Porfolio Backtester Interface Reference Guide: > > > > > > > > bool AddCustomMetric( string Title, variant Value, > > > [optional] variant > > > > LongOnlyValue, [optional] variant ShortOnlyValue , > > > [optional] variant > > > > DecPlaces = 2 ) > > > > > > > > This method adds custom metric to the backtest report, > > > backtest "summary" > > > > and optimization result list. Title is a name of the > metric to be > > > > displayed in the report, Value is the value of the metric, > > > > optional arguments LongOnlyValue, ShortOnlyValue allow > to provide > > > > values for additional long/short-only columns in the backtest > > > > report. Last argument DecPlaces controls how many > decimal places > > > > should > > > be used to display the value. > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: [email protected] > > > > > [mailto:[EMAIL PROTECTED] On Behalf Of PKJR > > > > > Sent: Wednesday, July 19, 2006 9:08 PM > > > > > To: [email protected] > > > > > Subject: [amibroker] formatting columns? > > > > > > > > > > H9i All: > > > > > > > > > > I have a problem with formatting columns in backtester. > > > As you can > > > > > see my contract names are in the format NG2200007.. > > > > > and the TRACE shows the name correctly, however, when > > > they are being > > > > > added to the custom metrics in the backtester the values > > > are being > > > > > formatted for some reason. NG2,200,306. how can I avoid it? > > > > > > > > > > using: AddCustomMetric("Contract (IN)", ThisContractNameIn); > > > > > > > > > > tks > > > > > > > > > > Paul > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > > > > --------------------~--> Something is new at Yahoo! Groups. > > > > > Check out the enhanced email design. > > > > > http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/GHeqlB/TM > > > > > -------------------------------------------------------------- > > > > > ------~-> > > > > > > > > > > Please note that this group is for discussion between > users only. > > > > > > > > > > To get support from AmiBroker please send an e-mail > directly to > > > > > SUPPORT {at} amibroker.com > > > > > > > > > > For other support material please check also: > > > > > http://www.amibroker.com/support.html > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Please note that this group is for discussion between > users only. > > > > > > > > To get support from AmiBroker please send an e-mail directly to > > > > SUPPORT {at} amibroker.com > > > > > > > > For other support material please check also: > > > > http://www.amibroker.com/support.html > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > > --------------------~--> Great things are happening at Yahoo! > > > Groups. See the new email design. > > > http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/GHeqlB/TM > > > -------------------------------------------------------------- > > > ------~-> > > > > > > Please note that this group is for discussion between users only. > > > > > > To get support from AmiBroker please send an e-mail directly to > > > SUPPORT {at} amibroker.com > > > > > > For other support material please check also: > > > http://www.amibroker.com/support.html > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Please note that this group is for discussion between users only. > > > > To get support from AmiBroker please send an e-mail directly to > > SUPPORT {at} amibroker.com > > > > For other support material please check also: > > http://www.amibroker.com/support.html > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > --------------------~--> See what's inside the new Yahoo! > Groups email. > http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/GHeqlB/TM > -------------------------------------------------------------- > ------~-> > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly > to SUPPORT {at} amibroker.com > > For other support material please check also: > http://www.amibroker.com/support.html > > > Yahoo! Groups Links > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/GHeqlB/TM --------------------------------------------------------------------~-> Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
