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

Re: [amibroker] 'Title' ..



PureBytes Links

Trading Reference Links

could only find this in What's New sectionof help files

CHANGES FOR VERSION 4.60.2
Title variable templates: making Title statements easy.
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}}";



On 7/24/05, Steve Dugas <sjdugas@xxxxxxxxxxx> wrote:
> Hi Graham,
> 
> Yes, I am aware of Plot, Graph, etc - I should have mentioned it but didn't
> think to. I was just curious what things are available using ((XXX)) method
> that TJ uses in his titles, if you know. Is this considered to be AFL? Maybe
> if he reads this he could give a brief description. Thank you!
> 
> Steve
> 
> ----- Original Message -----
> From: "Graham" <kavemanperth@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Saturday, July 23, 2005 10:00 PM
> Subject: Re: [amibroker] 'Title' ..
> 
> 
> > If yu use the Plot statement instead of Graph you can get the values
> > of the plots automatically. Although if you use the graph properly
> > same is possible as well I believe. Graph is old method replaced by
> > Plot a long time ago, but maintained because earlier AFL uses it and
> > saves trouble of rewriting them.
> >
> > try this with and without the title line
> >
> > xyz = LinRegSlope(C,13) + 100 * ( EMA( EMA( C - Ref( C, -1 ) ,34 )
> > ,21) / EMA( EMA( abs( C - Ref( C, -1) ),34 ), 21 ) )+100 * ( EMA( EMA(
> > C - (0.5 * ( HHV(H,13) + LLV(L,13))),21),3) / (0.5 * EMA( EMA(
> > HHV(H,13) - LLV(L,13),21),3 ) ) );
> >
> > Plot( xyz,_DEFAULT_NAME()+ " xyz", colorBlue, styleLine);
> >
> > _N( Title =  " {{NAME}} - {{INTERVAL}} {{DATE}} "+_DEFAULT_NAME() +"
> > {{VALUES}}" );
> >
> > On 7/24/05, Steve Dugas <sjdugas@xxxxxxxxxxx> wrote:
> >> Good point Terry. BTW, I was playing around the other day and wondered if
> >> it
> >> was possible to access the values individually. I tried a couple of
> >> things
> >> like (( VALUE1 )), ((VALUEONE )), etc but no luck. Would anyone know if
> >> this
> >> is possible? Thank you!
> >>
> >> Steve
> >>
> >> ----- Original Message -----
> >> From: "Terry" <MagicTH@xxxxxxxxxxx>
> >> To: <amibroker@xxxxxxxxxxxxxxx>
> >> Sent: Saturday, July 23, 2005 7:50 PM
> >> Subject: RE: [amibroker] 'Title' ..
> >>
> >>
> >> >I would add one more thing to keep a bunch of garbage from showing up in
> >> > your Interpretation window (depending on what you put in your Title
> >> > = ).
> >> > Wrap the whole thing in _N(Title = as Steve says...);
> >> >
> >> > You can also get all your plot values to show up with {{VALUES}}. I use
> >> > this all the time to simply label my charts as in:
> >> >
> >> > _N(Title = "My Chart Title {{VALUES}}");
> >> >
> >> > I learned from examples in Help and just trying some until it worked.
> >> > --
> >> > Terry
> >> > | -----Original Message-----
> >> > | From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> >> > | Behalf Of Steve Dugas
> >> > | Sent: Saturday, July 23, 2005 15:03
> >> > | To: amibroker@xxxxxxxxxxxxxxx
> >> > | Subject: Re: [amibroker] 'Title' ..
> >> > |
> >> > | It is described in the Graph Styles section of AB docs. In the help,
> >> > | click
> >> > | on Search tab, enter "title", click List Topics.
> >> > |
> >> > | A simple example would be:
> >> > |
> >> > | Title = "text goes in quotes" + YourVariable + "more text" +
> >> > NumToStr(
> >> > | Another Variable, 1.2 );
> >> > |
> >> > | Using NumToStr (or WriteVal ) allows you to define number of decimal
> >> > | places
> >> > | to display. Also see EncodeColor() function in the help for how to
> >> > | color
> >> > | your title the way you want it.
> >> > |
> >> > | Steve
> >> > |
> >> > | ----- Original Message -----
> >> > | From: "Bruce de Gose" <brucethegoose@xxxxxxxxx>
> >> > | To: <amibroker@xxxxxxxxxxxxxxx>
> >> > | Sent: Saturday, July 23, 2005 4:31 PM
> >> > | Subject: [amibroker] 'Title' ..
> >> > |
> >> > |
> >> > | >I am attempting to title the undermentioned code from the library
> >> > and
> >> > | > so far have made a pig's breakfast of it .. could someone please
> >> > | > advise how to do it in dummy steps as I am no coder.
> >> > | >
> >> > | > Also could you please make the code generic so I can apply it to
> >> > | > others from the library.
> >> > | >
> >> > | > By the way I have looked at the web site and the Help files but I
> >> > | was
> >> > | > unable to find any references to 'Title' .. if there is a reference
> >> > | > please advise where to look .. I'll try it myself first and if I
> >> > | screw
> >> > | > it up will request assistance.
> >> > | >
> >> > | > Thanks ..
> >> > | >
> >> > | > ------------------------------------------
> >> > | > /* CCT Kaleidoscope
> >> > | > **
> >> > | > ** Originally developed by Steve Karnish
> >> > | > ** http://www.cedarcreektrading.com
> >> > | > **
> >> > | > ** AFL translation by Tomasz Janeczko
> >> > | > **
> >> > | > ** Set scaling: Automatic
> >> > | > ** Grid: Middle
> >> > | > */
> >> > | >
> >> > | > Title = "CCTKaleidoscope";   <<<< I guess it goes here ??
> >> > | >
> >> > | > graph0=LinRegSlope(C,13)
> >> > | > + 100 * ( EMA( EMA( C - Ref( C, -1 ) ,34 ) ,21)
> >> > | > / EMA( EMA( Abs( C - Ref( C, -1) ),34 ), 21 ) )
> >> > | > +100 * ( EMA( EMA( C - (0.5 * ( HHV(H,13) + LLV(L,13))),21),3)
> >> > | > / (0.5 * EMA( EMA( HHV(H,13) - LLV(L,13),21),3 ) ) );
> >> > | > -------------------------------------------
> >> > | >
> >> > | >
> >> > | >
> >> > | > 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
> >> > | >
> >> > | >
> >> > | >
> >> > | >
> >> > | >
> >> > | >
> >> > | >
> >> > | >
> >> > |
> >> > |
> >> > |
> >> > |
> >> > | ------------------------ Yahoo! Groups
> >> > Sponsor --------------------~--
> >> > | >
> >> > | Try Online Currency Trading with GFT. Free 50K Demo. Trade
> >> > | 24 Hours. Commission-Free.
> >> > | http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
> >> > | --------------------------------------------------------------------~-
> >> > | >
> >> > |
> >> > | 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
> >> > |
> >> > |
> >> > |
> >> > |
> >> > |
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > 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
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >>
> >>
> >> 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
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> > --
> > Cheers
> > Graham
> > AB-Write >< Professional AFL Writing Service
> > http://e-wire.net.au/~eb_kavan/ab_write.htm
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
http://e-wire.net.au/~eb_kavan/ab_write.htm


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

<*> 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/