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

RE: [amibroker] Re: How to plottext on the upper right corner of the screen



PureBytes Links

Trading Reference Links

Title Example. Check help for more options:

 

///////////////////////////////////////////////////////// CHART TITLES

barTitle = WriteIf(BuyerBar,EncodeColor(colorBrightGreen),

           WriteIf(SellerBar,EncodeColor(colorRed),

           WriteIf(InsideBar,EncodeColor(colorLightGrey),

           WriteIf(outsideBar,EncodeColor(colorGrey50),

           EncodeColor(ColorHSB(40,200,150))))));

_N(Title = EncodeColor(colorGold) + Name() + barTitle + " | Bar type: " +
barType

         + EncodeColor(colorBlack) + "\nOpen = " + NumToStr(O,1.2)

         + EncodeColor(colorGreen) + " | High = " + NumToStr(H,1.2)

         + EncodeColor(colorRed) + " | Low = " + NumToStr(L,1.2)

         + EncodeColor(colorBlue) + " | Close = " + NumToStr(C,1.2) + " |
Chg " + NumToStr((C/Ref(C,-1) - 1) * 100,1.2) + "%"

         + EncodeColor(colorLightGrey) + "\nHighest & Lowest Close within
support lines = " + NumToStr(HHV(C,Lookback),1.2) + " / " +
NumToStr(LLV(C,Lookback),1.2)

         + EncodeColor(colorLightGrey) + "\nAll-time Highest & Lowest Close
= " + NumToStr(Highest(C),1.2) + " / " + NumToStr(Lowest(C),1.2)

         + "\n{{VALUES}}");

if (ParamToggle("Show/Hide Chart Title info","Showing|Hidden",0)) Title =
"";

 

 

--

Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of itmwh
Sent: Monday, November 20, 2006 03:36
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: How to plottext on the upper right corner of the
screen

 

--- In amibroker@xxxxxxxxxxxxxxx, "Thomas Z." <tzg@xxx> wrote:

 

> 

> The best way is the "Title" line. Title = "Anytext";

> 

> However title always starts on the upper left corner and not on 

the right

> corner.

> 

>  

> 

>  

> 

> Thomas

> 

>  <http://www.tradingbasis.com/> www.tradingbasis.com

> 

>  

 

 

 

 

I do not mind if it appear in the upper left corner, but what do 

you  mean by  "Title" line. Title = "Anytext";   

 

Is this to write something in the interpretation pane ?

 

 

 

 

 

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

http://www.amibroker.com/devlog/

 

For other support material please check also:

http://www.amibroker.com/support.html

 

Yahoo! Groups Links

 

    http://groups.yahoo.com/group/amibroker/

 

    Individual Email | Traditional

 

    http://groups.yahoo.com/group/amibroker/join

    (Yahoo! ID required)

 

    mailto:amibroker-digest@xxxxxxxxxxxxxxx 

    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

 

    amibroker-unsubscribe@xxxxxxxxxxxxxxx

 

    http://docs.yahoo.com/info/terms/

 


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/542 - Release Date: 11/20/2006