Now you can embed special tokens in Title variable
that are replaced by appropriate values at run-time.
if you use {{VALUES}} inside Title string
it will be replaced by automatic-values generated by Plot function calls.
if you use {{NAME}} it will be replaced by ticker symbol.
if you use {{DATE}} it will be replaced by selected date
if you use {{INTERVAL}} it will be replaced by name of the interval
Example:
Title = "{{NAME}} - {{INTERVAL}} {{DATE}} - MyChart : {{VALUES}}";
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
Hmm, I've never had any problems. Just make sure they are inside quotes and always UPPERCASE:
"{{VALUES}}"
or more completely:
_N( Title = "My file for xyz Indicator: Close for {{NAME}} = " + EncodeColor (colorGreen) + NumToStr (C, 1.2) + " - {{VALUES}}");
--
Terry
-----Original Message-----
From: [email protected] [mailto: [email protected]] On Behalf Of Steve Dugas
Sent: Wednesday, March 29, 2006 15:20
To: Yahoo - AmiBroker
Subject: [amibroker] Tokens
Hi,
Can anyone explain to me the exact rules for using the tokens like {{NAME}}, etc in the title? When I try to combine these with other strings or variables in the title, it seems that it works sometimes and other times it prints "{{NAME}}" instead of the item it represents. Sometimes the smallest change causes it to fail. Anyone know what I should avoid to keep it from "breaking"? Thank you!
Steve
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.htmlSPONSORED LINKS
Investment management software Real estate investment software Investment property software Software support Real estate investment analysis software Investment software
YAHOO! GROUPS LINKS
- Visit your group "amibroker" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
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
- Visit your group "amibroker" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
