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

[amibroker] Re: How to you use the low-level graphics to plot text?



PureBytes Links

Trading Reference Links

Thanks Graham, I am aware of these functions. But since the plots are
in bar/dollar coordinates, I cant go to barcount + 2 to write text, or
mark area. Cant draw a vertical line as x0 has to be SMALLER than x1.
 This is possible with GFX, but then I cant get the coords in pixel of
H[barcount-1] or any other. If this was possible, it would open a new
vista for me to put MM, Triggers, Comments all on the chart that I am
viewing to trade.

Thanks


--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> to write text at bars use plottext function, to plot shapes at bars
> use plotshapes function
> 
> -- 
> Cheers
> Graham Kav
> AFL Writing Service
> http://www.aflwriting.com
> 
> 
> 
> On 06/08/07, kar_avi <kar_avi@xxx> wrote:
> > --- In amibroker@xxxxxxxxxxxxxxx, "Jerry Gress"
> > <pleasenospamplease@> wrote:
> > >
> >
> > > So the question is how do I put some fancy text on a 2 minute
chart at
> > > specified price points? The best this lowly programmer can tell
all this
> > > graphic stuff is to the pixel not price. Example:
> > >
> > >
> > > SYNTAX  GfxTextOut( "text", x, y )
> > > RETURNS NOTHING
> > > FUNCTION  Writes a character string at the specified location
using the
> > > currently selected font.
> > >
> > > Parameters:
> > >
> > > "text" - Specifies the character string to be drawn
> > > x - Specifies the x-coordinate of the starting point of the text
> > > y - Specifies the y-coordinate of the starting point of the text
> > >
> > >
> > > Any help will be greatly appreciated.
> > >
> > > Jerry Gress
> > > Stockton, Ca.
> > >
> >
> > exactly my problem also. I want to plot lot of texts, arrows, shapes
> > etc near range bar breakouts. but the coordinates are in pixels, and I
> > do not know any way to get the pixels of the High of a bar identified,
> > unless its built from scratch as the code posted here previously. so
> > the low level functions may not be useful to traders who write their
> > own systems with some amount of coding, but more to developers who can
> > enhance features for Amibroker.
> >
>




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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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