PureBytes Links
Trading Reference Links
|
Thank you Tomasz for the further explanation.
I have one further observation or problem.
In the interpretation text following "//--Indicator-End--" I can't
find a way to edit any highlighted reserved words (if, for, while,
and, or). For example I can't change "for tomorrow" into "For
tomorrow". Am I overlooking something or is it just not possible to
edit these words?
Keith
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Keith,
>
> Commentarly linked to indicator is called "interpretation" and
> it should be placed after indicator code (using Indicator Builder)
> as described in another tutorial:
>
> Tutorial: Using interpretation window
> Note: Please read How to write your own chart commentary article
before proceeding.
>
> Interpretation window (View->Interpretation) shows chart-sensitive
commentaries. To add a interpretation just use Indicator builder and
add commentary code after the code for the indicator. Please note
that to get the best performance you should use the following
optimization hint: after your indicator code and before commentary
code you should add the following line:
>
> //--Indicator-End-- ( two slashes (comment start), two dashes,
Indicator-End and two dashes ). When the parser is evaluating the
formula in the "indicator" mode it stops there, so commentary code is
not executed and it saves time. When parser is in other modes -
entire formula is parsed/executed.
>
> Example:
>
> Plot( Close, "Price", -1, 64 ); Plot( SAR( Prefs( 50 ), Prefs(
51 ) ), "SAR",-17, 8+16 ); //--Indicator-End--"The Parabolic SAR
provides excellent exit points. ";
> "You should Close long positions when the price falls below
> the SAR AND Close Short positions when the price rises above the
SAR.";
> WriteIF( graph1 > Close, "SAR is above close", "SAR is below
close" );
>
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Keith Bennett" <kbennett@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, May 11, 2003 1:41 PM
> Subject: [amibroker] Guru commentary
>
>
> > Hi,
> >
> > Having written the guru chart commentary and checked that it
appears
> > correctly under the Commentary tab, how do I tie it to that
> > particular Indicator?
> >
> > I presume it is necessary to use the Apply and/or Save buttons,
but
> > where to save it? I haven't "saved" any of the custom indicators
> > although they seem to be saved automatically by AB. Is it
necessary
> > to set up another directory for the commentaries?
> >
> > The tutorial does an excellent job of explaining how to write the
> > commentary but doesn't seem to answer these quesstions. Any help
> > appreciated.
> >
> > Keith
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|