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

RE: [amibroker] Relative performance chart title help



PureBytes Links

Trading Reference Links

Jason,
 
I'll look at this more when I get home (in the office now), but you need to insert "\n" before each ticker.    Loop through the tickers adding "\n" to each one.
 
Regards,
 
Dan.
 
-------------- Original message --------------
Terry/Dan,
 
I've tried the n thing before but the problem is the title in the built in relative performance charts is one line.  So when I insert \n into the code it does move the tickers vertically but they are still one big line across.  This normally isn't a problem but I have quite a few tickers on the pane and about half of them get cut off.
 
Jason

Dan Clark <dan_public@xxxxxxxxxxx> wrote:
Hi,
 
I use this a lot for supporting data.  Here’s the title string for one of my key charts.
 
Regards,

Dan.
 
Title = Title        +  EncodeColor(colorWhite)
          + "\nName:  " + CurSymbolName
          + "\n" + EncodeColor(colorAqua) + "Sect: " + EncodeColor(colorWhite) + SectorID(mode = 1) 
          + "   " + EncodeColor(colorOrange) + "Ind: " + EncodeColor(colorWhite) +  IndustryID( mode = 1 )
          + "\n" + "Group:             "   + GroupID(1)
          + "\n" + "Mkt Cap:          " + WriteVal( MarketCapNum, 1.0, separator = True) + "  " + MarketCapCategory
          + "\n" + "Est Earnings:    " + EarningsDate
          + "\n" + EncodeColor(colorWhite) + "Inst Hold:           " + WriteIf(InstitutionalHold > 20 AND InstitutionalHold < 60, EncodeColor(colorLime), EncodeColor(colorRed)) + NumToStr( InstitutionalHold, 1.0 ) + "%"
          + "\n" + EncodeColor(colorWhite) + "QRS:                 "                     + NumToStr(LastValue(QRS, True), 1.0)                          
          + "\n" + "Symbol Type:    " + CurSymbolType
          + "\n" + "Overlay Type:   " + OverlayType
          + "\n" + EncodeColor(colorWhite) + "Ovr Idx Count:   "  +  IndexCountTitle   
 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of jayhart_1972
Sent: Friday, December 02, 2005 7:15 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Relative performance chart title help
 
is there a way to get the relative performance title to show up
vertically on the left hand side of the chart pane rather than
horizontally across the top?






Yahoo! Personals
Single? There's someone we'd like you to meet.
Lots of someones, actually. Yahoo! Personals


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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS