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

Re: [amibroker] String Arrays



PureBytes Links

Trading Reference Links

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