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

RE: [amibroker] Re: Watchlist sorting



PureBytes Links

Trading Reference Links

You can of course embed the "\n" INSIDE the plot string to get the same
wrapping effect. Play with it.

herman.
  -----Original Message-----
  From: Chris Bertke [mailto:kris45mar@xxxxxxxxx]
  Sent: Monday, August 16, 2004 8:48 AM
  To: amibroker@xxxxxxxxxxxxxxx
  Subject: RE: [amibroker] Help with Wrap title for this Indicator


  Thanks Herman,

  I was rather hoping there was a quicker way than encoding each ticker's
name, value and color separately and still allowing me to wrap text.

  I will use your second solution: use smaller fonts for when I am doing
this, and just closing the workspace window.

  Regards

  kris45mar

  Herman van den Bergen <psytek@xxxxxxxx> wrote:
  You can use Title= to create very complex text on the chart. You would
  include "\n" in the string to wrap the lines. Also, to format it nicely
you
  may want to use ione of the mon-=spaced fonts (Lucida Console is one).

  Title =
  "My Message #1\n"+
  "My Message #2\n";

  h
    -----Original Message-----
    From: Chris Bertke [mailto:kris45mar@xxxxxxxxx]
    Sent: Sunday, August 15, 2004 11:38 AM
    To: amibroker@xxxxxxxxxxxxxxx
    Subject: [amibroker] Help with Wrap title for this Indicator


    Hi All

    I'd appreciate some ideas about to wrap the title in this code which I
use
  in Indicator Builder. It is code obtained from elsewhere in this user
group.

    I have 19 Leading Indices which I have in a watchlist and plot against
the
  base XAO to help with a top down search.

    Not all Indice names appear in the title. Is there an easy way to wrap
the
  text in this type of title? The problem is that I cannot see where in the
  code the Title is encoded and so I cannot get to employ the \n new line
  function.


    startpoint = Status("barvisible");

    startpoint = startpoint - Ref( startpoint, -1 );

    price = Close;

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), Name(),
  colorBlack, styleThick );

    ticker = ParamStr("Ticker 01", "XUJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorBlue );

    ticker = ParamStr("Ticker 02", "XDJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorRed );

    ticker = ParamStr("Ticker 03", "XEJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorGreen);

    ticker = ParamStr("Ticker 04", "XFJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorBrown );

    ticker = ParamStr("Ticker 05", "XFL" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorLightBlue );

    ticker = ParamStr("Ticker 06", "XHJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorPink );

    ticker = ParamStr("Ticker 07", "XIJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorOrange );

    ticker = ParamStr("Ticker 08", "XMD" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorLightGrey );

    ticker = ParamStr("Ticker 09", "XMJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorYellow );

    ticker = ParamStr("Ticker 10", "XNJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorLime );

    ticker = ParamStr("Ticker 11", "XPJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorViolet );

    ticker = ParamStr("Ticker 12", "XTJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorSeaGreen);

    ticker = ParamStr("Ticker 13", "XSJ" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorIndigo );

    ticker = ParamStr("Ticker 14", "XTO" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorLightOrange );

    ticker = ParamStr("Ticker 15", "XJO" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorTeal );

    ticker = ParamStr("Ticker 16", "XKO" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorBlueGrey );

    ticker = ParamStr("Ticker 17", "XSO" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorDarkYellow );

    ticker = ParamStr("Ticker 18", "XTL" );

    price = Foreign( ticker, "C");

    Plot( 100 * ( price/ValueWhen( startpoint, price ) - 1 ), ticker,
  colorDarkOliveGreen );

    GraphXSpace = 1;

    See RSC.png at:

    www.members.iinet.net/~kris.mar/RSC.png

    Regards

    kris45mar





    Cheers

    Chris
    kris45mar@xxxxxxxxx

    ---------------------------------
    Do you Yahoo!?
    Yahoo! Mail is new and improved - Check it out!

    [Non-text portions of this message have been removed]



    Check AmiBroker web page at:
    http://www.amibroker.com/

    Check group FAQ at:
  http://groups.yahoo.com/group/amibroker/files/groupfaq.html


          Yahoo! Groups Sponsor
                ADVERTISEMENT





  --------------------------------------------------------------------------
--
  --
    Yahoo! Groups Links

      a.. To visit your group on the web, go to:
      http://groups.yahoo.com/group/amibroker/

      b.. To unsubscribe from this group, send an email to:
      amibroker-unsubscribe@xxxxxxxxxxxxxxx

      c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.



  [Non-text portions of this message have been removed]



  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


  Yahoo! Groups SponsorADVERTISEMENT


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

     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  ---------------------------------
  Do you Yahoo!?
  Yahoo! Mail - 50x more storage than other providers!

  [Non-text portions of this message have been removed]



  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


        Yahoo! Groups Sponsor
              ADVERTISEMENT





----------------------------------------------------------------------------
--
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

    b.. To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/