PureBytes Links
Trading Reference Links
|
You would need to calculate the position using the highest price (or Y scale
value) currently on the screen, and if you want this to always be on the
screen when you scroll back and forth calculate the bar number to right end
as well
This is done using the status function to determine the visible bars on
screen, then the HHV value for the Y axis
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 18/11/06, Thomas Z. <tzg@xxxxxxxxxxxxxxxx> wrote:
>
> As far as i know there is no way to it perfectly. Plottext requires an
> offset like 2*ATR(10), etc?, but it doesn't give you exact coordinates.
>
> The best way is the ?Title" line. Title = ?Anytext";
>
> However title always starts on the upper left corner and not on the right
> corner.
>
>
>
>
>
> Thomas
>
> www.tradingbasis.com**
>
>
> ------------------------------
>
> *From:* amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] *On
> Behalf Of *itmwh
> *Sent:* Saturday, November 18, 2006 5:45 AM
> *To:* amibroker@xxxxxxxxxxxxxxx
> *Subject:* [amibroker] How to plottext on the upper right corner of the
> screen
>
>
>
> I want to write some text on the upper right corner of the chart, I
> think the function "plotext" can do this job. But I do not know how to
> use AFL to identify the y coordinate of the "upper right corner" of the
> chart, as this coordinate changes from time to time . Can some one help
> me ?
>
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/542 - Release Date: 11/20/2006
|