Progster, It appears that your loop would stop processing all subsequent symbols , existing or otherwise, after the first symbol that was not found.
Mike --- In [email protected], "progster01" <progs...@...> wrote: > > > Confirmed. Thanks! > > Doing the loop like this will omit the ticker columns for those missing from > the database. > > > for( i = 0; ( SetForeign( ticker = StrExtract( tickers, i ) )) != 0 ; i++ ) > { > AddColumn( RSI( 2 ), Ticker, 1.2 ) ; > } > > > --- In [email protected], Tomasz Janeczko <groups@> wrote: > > > > Hello, > > > > Check your database. The behaviour you describe will be the case if your > > database does not contain specified tickers. > > > > Best regards, > > Tomasz Janeczko > > amibroker.com > > > > > > On 2010-02-21 16:51, progster01 wrote: > > > Hi. > > > > > > The code below is giving me the same RSI output value each date for every > > > ticker column (using AB 5.26 Beta in this case). > > > > > > > > > --- In [email protected], Tomasz Janeczko<groups@> wrote:>Try > > > this and you should not have any problems. > > > > > > Filter = 1; > > > > > > tickers = > > > "INTU,VMED,JBHT,ADSK,LRCX,SIAL,BMC,MAT,MYL,QGEN,VOD,PCLN,CERN,NWSA,FSLR,ILMN,ORLY,WCRX,ADP"; > > > > > > > > > for( i = 0; ( ticker = StrExtract( tickers, i ) ) != ""; i++ ) > > > { > > > SetForeign( Ticker ); > > > AddColumn( RSI( 2 ), Ticker, 1.2 ); > > > } > > > > > > > > > > > > > > > ------------------------------------ > > > > > > **** IMPORTANT PLEASE READ **** > > > This group is for the discussion between users only. > > > This is *NOT* technical support channel. > > > > > > TO GET TECHNICAL SUPPORT send an e-mail directly to > > > SUPPORT {at} amibroker.com > > > > > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at > > > http://www.amibroker.com/feedback/ > > > (submissions sent via other channels won't be considered) > > > > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > > > http://www.amibroker.com/devlog/ > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > >
