PureBytes Links
Trading Reference Links
|
Many thanks, Steve!
Regards,
jose '-)
--- In amibroker@xxxxxxxxxxxxxxx, "Steve Dugas" <sjdugas@xxxx> wrote:
> Hi,
>
> Your title definition does not include any values to display. In the
code
> below, I have moved the graph-related statements to the bottom and
updated
> your title statement to show the values, and also to show how you
can color
> the names and values if you want to.
>
> /* plots Close/Bar range signals */
>
> /* use Ctrl-R to adjust parameters */
>
> ClPer = Param(" Close pos in range %",7,0,100.1,0.1)/100;
>
> ClBreadth = Param("Breadth of Close pos %",10,0,100.1,0.1)/100;
>
> barRange = Param("Minimum bar range %",2,0,10,0.01)/100;
>
> range = H-L;
>
> ClPos = range*ClPer+L;
>
> ClUpper = ClPos+(range*ClBreadth);
>
> ClLower = ClPos-(range*ClBreadth);
>
> rangeOk = range/C >= barRange;
>
> Signl = C <= ClUpper AND C >= ClLower AND rangeOk;
>
> GraphXSpace = 10;
>
> Plot(Signl,"Close/Bar range signals",colorYellow,1);
>
> Title = EncodeColor( colorYellow ) + "Close/Bar range signals: "
>
> + EncodeColor( colorBrightGreen ) + Signl;
>
> ----- Original Message -----
> From: "Jose" <josesilva22@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, March 29, 2004 8:13 PM
> Subject: [amibroker] Re: Data window?
>
>
> > Thanks Tomasz, but I still can't get the plot() function to
display
> > indicator values in the title.
> >
> > If this works:
> > Plot(Close,"Price",colorPaleGreen,128);
> >
> > ...then why doesn't this display indicator values (+1/0 in this
> > indicator)?:
> >
> > ---8<-------------------
> >
> > /* plots Close/Bar range signals */
> > /* use Ctrl-R to adjust parameters */
> >
> > Title = "Close/Bar range signals";
> > GraphXSpace = 10;
> >
> > ClPer = Param(" Close pos in range %",7,0,100.1,0.1)/100;
> > ClBreadth = Param("Breadth of Close pos %",10,0,100.1,0.1)/100;
> > barRange = Param("Minimum bar range %",2,0,10,0.01)/100;
> >
> > range = H-L;
> > ClPos = range*ClPer+L;
> > ClUpper = ClPos+(range*ClBreadth);
> > ClLower = ClPos-(range*ClBreadth);
> > rangeOk = range/C >= barRange;
> > Signl = C <= ClUpper AND C >= ClLower AND rangeOk;
> >
> > Plot(Signl,"Close/Bar range signals",colorYellow,1);
> >
> > ---8<-------------------
> >
> > jose '-)
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxx
.>
> > wrote:
> > > Hello,
> > >
> > > There is no need for data window as indicator values are
displayed
> > directly in the TITLE of each indicator pane.
> > > Each has separate, fully programmable title.
> > > By default all lines plotted with PLOT() function get the title
> > automatically you can also program title text
> > > from the scratch using Title variable. You can also have
multi-line
> > titles.
> > >
> > > You just click on the chart and vertical selection line appears
and
> > all title bars immediatelly display all values.
> > > In addition to that last plot values are displayed on the left
side
> > as labels.
> > >
> > > You can also set up separate interpretation per indicator that
can
> > not only show values of indicators
> > > but also per-indicator commentary or stats / analysis /
anything.
> > >
> > > http://www.amibroker.com/guide/h_charting.html
> > > http://www.amibroker.com/guide/h_interpret.html
> > >
> > >
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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
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/
|