Found a way...Put this line at the very top of your code:

           Filename = StrLeft(_DEFAULT_NAME(),StrLen(_DEFAULT_NAME())-2);

And make your Title statement at the very end of your code like this:

        Title = "\n"+Filename+"\nCustom Title text";

Or is there a simpler way?

herman

 
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of Herman van den Bergen
Sent: Wednesday, March 08, 2006 5:37 AM
To: _AmiBroker
Subject: [amibroker] Filename in Title

Dumb question...
 
when applying a new indicator without a title statement the formula's filename shows in the Title.
 
How do I add this filename to custom Title statements?
 
_DEFAULT_NAME() comes close but doesn't work exactly as I want.
 
TIA,
herman


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




Reply via email to