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

Re: [amibroker] Re: Why does this simple exploration crash when run or more than 10 tickers?


  • Date: Sun, 21 Feb 2010 17:55:14 -0500
  • From: Progster <progster@xxxxxxxxxxxxxxxxxx>
  • Subject: Re: [amibroker] Re: Why does this simple exploration crash when run or more than 10 tickers?

PureBytes Links

Trading Reference Links

Yes, agreed. My earlier description was a poor one.

I find the column approach appealing as an idea, but making it robust 
seems like it will require more effort than I've yet expended! :-)


Mike wrote:
>
> 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 amibroker@xxxxxxxxxxxxxxx <mailto:amibroker%40yahoogroups.com>, 
> "progster01" <progster@xxx> 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 amibroker@xxxxxxxxxxxxxxx 
> <mailto:amibroker%40yahoogroups.com>, 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 amibroker@xxxxxxxxxxxxxxx 
> <mailto:amibroker%40yahoogroups.com>, 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/ 
> <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/ <http://www.amibroker.com/devlog/>
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> 


------------------------------------

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/