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

Re: [amibroker] String Arrays



PureBytes Links

Trading Reference Links

There is a method for exploration outputs that provide a single letter
output see ASC in help
Also if you just want to plot text on the chart you can use plottext
Otherwise you cannot use text with arrays

-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com


On 07/11/06, Mark H <amibroker@xxxxxxxxxxxxx> wrote:
>
>  You can use varibles or static variables to simulate a string array.
> StaticVarSetText("MyVar" + Name() + i , "text at bar i");
> textatbari = StaticVarGetText("MyVar" + Name() + i);
>
>
>
> ----- Original Message -----
> *From:* jay_podda <jay_podda@xxxxxxxxx>
> *To:* amibroker@xxxxxxxxxxxxxxx
> *Sent:* Monday, November 06, 2006 3:06 PM
> *Subject:* [amibroker] String Arrays
>
>  I want to store strings in array. When I use assign string to array
> element, it gives me error invalid type. For array element 0 to
> BarCount-1, I want to check for particular condition and assign string
> for each element and then plot some of this text on price chart. How
> can I do that. I want to do this only once when AFL formula is
> executed.
>
> 
>

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