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

[amibroker] System development tutorial by Herman van den Bergen



PureBytes Links

Trading Reference Links

AS usual, there is a way around most any problem in AB.

I have found the use of DateNum in combination with the code herman gave 
may solve my problem.

         MSG

At 12:28 AM 12/05/2004, you wrote:
>Michael,
>
>Unfortunately, you are right.  You'd think in the code
>below, you could access the BarCount of two different
>tickers using SetForiegn.  Doesn't work.  Current
>symbol always rules.
>
>Filter = 1;
>
>SetForeign("QQQ");
>MyBarCount = BarCount;
>RestorePriceArrays();
>CurSymBarCount = BarCount;
>
>AddColumn(MyBarCount, "QQQ Bar Count", 5.0);
>AddColumn(CurSymBarCount, "Current Symbol BarCount",
>5.0);
>
>
>--- "Michael.S.G." <OzFalcon@xxxxxxxxxx> wrote:
> > Thanks, But it's limmited by the current selected
> > bar - So can't use.
> >
> > It'd be real handy if, when setting foreign - We
> > could de-sync the array
> > lengths.
> > Especialy now we can loop through a watchlist of
> > tickers.............
> >
> >          MSG
> >
> >
> > At 10:48 PM 11/05/2004, you wrote:
> > >Perhaps:
> > >
> > >Of = foreign(Ticker,"O");
> > >NumBars = Cum(Of>0);
> > >
> > >herman.
> > >-----Original Message-----
> > >From: Michael.S.G. [mailto:OzFalcon@xxxxxxxxxx]
> > >Sent: Tuesday, May 11, 2004 8:34 AM
> > >To: amibroker@xxxxxxxxxxxxxxx
> > >Subject: [amibroker] Bars in Foreign ticker
> > >
> > >       Anyone know how to find the total number of
> > bars in a Foreign ticker?
> > >
> > >       KR
> > >       Michael.
> > >
> > >
> > >
> > >
> > >Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > >Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > >-----------------------------------------
> > >Post AmiQuote-related messages ONLY to:
> > amiquote@xxxxxxxxxxxxxxx
> > >(Web page:
> >
> ><http://groups.yahoo.com/group/amiquote/messages/)>http://groups.yahoo.co 
> m/group/amiquote/messages/)
> > >--------------------------------------------
> > >Check group FAQ at:
> >
> ><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://group 
> s.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > >
> > >
> > >
> > >
> > >
> > >Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > >Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > >-----------------------------------------
> > >Post AmiQuote-related messages ONLY to:
> > amiquote@xxxxxxxxxxxxxxx
> > >(Web page:
> >
> ><http://groups.yahoo.com/group/amiquote/messages/)>http://groups.yahoo.co 
> m/group/amiquote/messages/)
> > >--------------------------------------------
> > >Check group FAQ at:
> >
> ><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://group 
> s.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > >
> > >
> > >
> > >Yahoo! Groups Sponsor
> > >ADVERTISEMENT
> > >
> > >
> > >----------
> > >Yahoo! Groups Links
> > >To visit your group on the web, go to:
> >
> ><http://groups.yahoo.com/group/amibroker/>http://groups.yahoo.com/group/a 
> mibroker/
> >
> > >
> > >
> > >To unsubscribe from this group, send an email to:
> >
> ><mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>amibrok 
> er-unsubscribe@xxxxxxxxxxxxxxx
> >
> > >
> > >
> > >Your use of Yahoo! Groups is subject to the
> > ><http://docs.yahoo.com/info/terms/>Yahoo! Terms of
> > Service.
> >
> >
> >
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs
>http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
>
>
>Send BUG REPORTS to bugs@xxxxxxxxxxxxx
>Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
>-----------------------------------------
>Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
>(Web page: http://groups.yahoo.com/group/amiquote/messages/)
>--------------------------------------------
>Check group FAQ at: 
>http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>Yahoo! Groups Links
>
>
>
>




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

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