PureBytes Links
Trading Reference Links
|
Hello,
Use status function to retrieve first and last visble index and then use highest/lowest functions
http://www.amibroker.com/guide/afl/afl_view.php?status
barvisible = Status("barvisible");
upperrange = LastValue( Highest( IIF( barvisible, High, 0 ) ) );
lowerrange = LastValue( Lowest( IIF( barvisible, Low, 1e9 ) ) ) ;
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "zebdez" <robduff@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, November 28, 2006 8:52 PM
Subject: [amibroker] Price Range on Chart
> Does anyone know how to determine what price range is being displayed
> in a chart when applying a custom indicator? I would like to display
> text near the top or bottom of the chart display or some shapes.
>
> Thanks,
> Rob
>
>
>
>
> 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
>
>
>
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM
|