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

[amibroker] Re: [for GARY] Foreign() in TimeFrames question



PureBytes Links

Trading Reference Links

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.com/group/amiquote/messages/)
> >--------------------------------------------
> >Check group FAQ at: 
>
><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://groups.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.com/group/amiquote/messages/)
> >--------------------------------------------
> >Check group FAQ at: 
>
><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://groups.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/amibroker/
> 
> >
> >
> >To unsubscribe from this group, send an email to:
>
><mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>amibroker-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 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/